Skip to content

Commit

Permalink
feat: Automated regeneration of dialogflow v2 client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Nov 17, 2020
1 parent fda99a7 commit 5a0dfb6
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
2 changes: 2 additions & 0 deletions api_names_out.yaml
Expand Up @@ -86832,6 +86832,8 @@
"/dialogflow:v2/GoogleCloudDialogflowV2QueryParameters/sessionEntityTypes": session_entity_types
"/dialogflow:v2/GoogleCloudDialogflowV2QueryParameters/sessionEntityTypes/session_entity_type": session_entity_type
"/dialogflow:v2/GoogleCloudDialogflowV2QueryParameters/timeZone": time_zone
"/dialogflow:v2/GoogleCloudDialogflowV2QueryParameters/webhookHeaders": webhook_headers
"/dialogflow:v2/GoogleCloudDialogflowV2QueryParameters/webhookHeaders/webhook_header": webhook_header
"/dialogflow:v2/GoogleCloudDialogflowV2QueryResult": google_cloud_dialogflow_v2_query_result
"/dialogflow:v2/GoogleCloudDialogflowV2QueryResult/action": action
"/dialogflow:v2/GoogleCloudDialogflowV2QueryResult/allRequiredParamsPresent": all_required_params_present
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/dialogflow_v2.rb
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://cloud.google.com/dialogflow/
module DialogflowV2
VERSION = 'V2'
REVISION = '20201109'
REVISION = '20201116'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
13 changes: 13 additions & 0 deletions generated/google/apis/dialogflow_v2/classes.rb
Expand Up @@ -4129,6 +4129,18 @@ class GoogleCloudDialogflowV2QueryParameters
# @return [String]
attr_accessor :time_zone

# This field can be used to pass HTTP headers for a webhook call. These headers
# will be sent to webhook along with the headers that have been configured
# through Dialogflow web console. The headers defined within this field will
# overwrite the headers configured through Dialogflow console if there is a
# conflict. Header names are case-insensitive. Google's specified headers are
# not allowed. Including: "Host", "Content-Length", "Connection", "From", "User-
# Agent", "Accept-Encoding", "If-Modified-Since", "If-None-Match", "X-Forwarded-
# For", etc.
# Corresponds to the JSON property `webhookHeaders`
# @return [Hash<String,String>]
attr_accessor :webhook_headers

def initialize(**args)
update!(**args)
end
Expand All @@ -4142,6 +4154,7 @@ def update!(**args)
@sentiment_analysis_request_config = args[:sentiment_analysis_request_config] if args.key?(:sentiment_analysis_request_config)
@session_entity_types = args[:session_entity_types] if args.key?(:session_entity_types)
@time_zone = args[:time_zone] if args.key?(:time_zone)
@webhook_headers = args[:webhook_headers] if args.key?(:webhook_headers)
end
end

Expand Down
1 change: 1 addition & 0 deletions generated/google/apis/dialogflow_v2/representations.rb
Expand Up @@ -2345,6 +2345,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
collection :session_entity_types, as: 'sessionEntityTypes', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType::Representation

property :time_zone, as: 'timeZone'
hash :webhook_headers, as: 'webhookHeaders'
end
end

Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/dialogflow_v2/synth.metadata
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "e317a0f5e6109142be13031fa9e9baee4d2f897e"
"sha": "fda99a7f81f55342ce6317eeb1430efb3a3049d0"
}
}
]
Expand Down

0 comments on commit 5a0dfb6

Please sign in to comment.