google-apis-dialogflow_v2 0.100.0 → 0.102.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21f5c1f1b08a96212db25b4e247b59789a1a5385b4f441ab3c4e0491837ea751
4
- data.tar.gz: 9ac8071d3de53e11fb720f32634ac3aa4128d67e36a32b76ec199c5e806e7885
3
+ metadata.gz: 7817241eb4d630ed3ce573aa105ca024cbba67341d56e12c4567b66def7aae08
4
+ data.tar.gz: 2b4cd333ae419e9587ce570eef73e3cc1938faa4fa9177a1026a3c13a2f8411c
5
5
  SHA512:
6
- metadata.gz: e46a8a5b5ff90046ef095d9ae6a23ceb023e3d555b58b8494dde79724710b8a2bc5cf503ceca37104602fe0bace73617350aee172a5e69b40a7ae5c37e771580
7
- data.tar.gz: 6a7204fdea9847f2d9d9fc15480f3f1b3414d7968c7121ef2c8d93d1af7d2f6762461ca27bedc02adb2a41e75900d0332b26b79d9f96c9cd57052dc0b22cc68c
6
+ metadata.gz: fc22302ef23688b96489aff97c1496761e74fd64850ca1ae2645eb9584c9bc369d333b4632e3137804c94114919aaabd845859786831d1cbe67c4b40ace0c1e7
7
+ data.tar.gz: 346f1dc4ff30f256bb7cc7a3640eec8f39deea410e483f2321b37d126758cc8635aa6791a1d753e4c09ca410bccfe2e8bbe8b483a19765d3782655db4049a886
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dialogflow_v2
2
2
 
3
+ ### v0.102.0 (2025-04-27)
4
+
5
+ * Regenerated from discovery document revision 20250422
6
+
7
+ ### v0.101.0 (2025-03-30)
8
+
9
+ * Regenerated from discovery document revision 20250325
10
+
3
11
  ### v0.100.0 (2025-03-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20250310
@@ -2323,6 +2323,11 @@ module Google
2323
2323
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TextInput]
2324
2324
  attr_accessor :text
2325
2325
 
2326
+ # The result of calling a tool's action that has been executed by the client.
2327
+ # Corresponds to the JSON property `toolCallResult`
2328
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ToolCallResult]
2329
+ attr_accessor :tool_call_result
2330
+
2326
2331
  def initialize(**args)
2327
2332
  update!(**args)
2328
2333
  end
@@ -2335,6 +2340,7 @@ module Google
2335
2340
  @intent = args[:intent] if args.key?(:intent)
2336
2341
  @language_code = args[:language_code] if args.key?(:language_code)
2337
2342
  @text = args[:text] if args.key?(:text)
2343
+ @tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
2338
2344
  end
2339
2345
  end
2340
2346
 
@@ -2437,6 +2443,11 @@ module Google
2437
2443
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageText]
2438
2444
  attr_accessor :text
2439
2445
 
2446
+ # Represents a call of a specific tool's action with the specified inputs.
2447
+ # Corresponds to the JSON property `toolCall`
2448
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ToolCall]
2449
+ attr_accessor :tool_call
2450
+
2440
2451
  def initialize(**args)
2441
2452
  update!(**args)
2442
2453
  end
@@ -2455,6 +2466,7 @@ module Google
2455
2466
  @response_type = args[:response_type] if args.key?(:response_type)
2456
2467
  @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
2457
2468
  @text = args[:text] if args.key?(:text)
2469
+ @tool_call = args[:tool_call] if args.key?(:tool_call)
2458
2470
  end
2459
2471
  end
2460
2472
 
@@ -3076,6 +3088,95 @@ module Google
3076
3088
  end
3077
3089
  end
3078
3090
 
3091
+ # Represents a call of a specific tool's action with the specified inputs.
3092
+ class GoogleCloudDialogflowCxV3ToolCall
3093
+ include Google::Apis::Core::Hashable
3094
+
3095
+ # Required. The name of the tool's action associated with this call.
3096
+ # Corresponds to the JSON property `action`
3097
+ # @return [String]
3098
+ attr_accessor :action
3099
+
3100
+ # Optional. The action's input parameters.
3101
+ # Corresponds to the JSON property `inputParameters`
3102
+ # @return [Hash<String,Object>]
3103
+ attr_accessor :input_parameters
3104
+
3105
+ # Required. The tool associated with this call. Format: `projects//locations//
3106
+ # agents//tools/`.
3107
+ # Corresponds to the JSON property `tool`
3108
+ # @return [String]
3109
+ attr_accessor :tool
3110
+
3111
+ def initialize(**args)
3112
+ update!(**args)
3113
+ end
3114
+
3115
+ # Update properties of this object
3116
+ def update!(**args)
3117
+ @action = args[:action] if args.key?(:action)
3118
+ @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
3119
+ @tool = args[:tool] if args.key?(:tool)
3120
+ end
3121
+ end
3122
+
3123
+ # The result of calling a tool's action that has been executed by the client.
3124
+ class GoogleCloudDialogflowCxV3ToolCallResult
3125
+ include Google::Apis::Core::Hashable
3126
+
3127
+ # Required. The name of the tool's action associated with this call.
3128
+ # Corresponds to the JSON property `action`
3129
+ # @return [String]
3130
+ attr_accessor :action
3131
+
3132
+ # An error produced by the tool call.
3133
+ # Corresponds to the JSON property `error`
3134
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ToolCallResultError]
3135
+ attr_accessor :error
3136
+
3137
+ # The tool call's output parameters.
3138
+ # Corresponds to the JSON property `outputParameters`
3139
+ # @return [Hash<String,Object>]
3140
+ attr_accessor :output_parameters
3141
+
3142
+ # Required. The tool associated with this call. Format: `projects//locations//
3143
+ # agents//tools/`.
3144
+ # Corresponds to the JSON property `tool`
3145
+ # @return [String]
3146
+ attr_accessor :tool
3147
+
3148
+ def initialize(**args)
3149
+ update!(**args)
3150
+ end
3151
+
3152
+ # Update properties of this object
3153
+ def update!(**args)
3154
+ @action = args[:action] if args.key?(:action)
3155
+ @error = args[:error] if args.key?(:error)
3156
+ @output_parameters = args[:output_parameters] if args.key?(:output_parameters)
3157
+ @tool = args[:tool] if args.key?(:tool)
3158
+ end
3159
+ end
3160
+
3161
+ # An error produced by the tool call.
3162
+ class GoogleCloudDialogflowCxV3ToolCallResultError
3163
+ include Google::Apis::Core::Hashable
3164
+
3165
+ # Optional. The error message of the function.
3166
+ # Corresponds to the JSON property `message`
3167
+ # @return [String]
3168
+ attr_accessor :message
3169
+
3170
+ def initialize(**args)
3171
+ update!(**args)
3172
+ end
3173
+
3174
+ # Update properties of this object
3175
+ def update!(**args)
3176
+ @message = args[:message] if args.key?(:message)
3177
+ end
3178
+ end
3179
+
3079
3180
  # A transition route specifies a intent that can be matched and/or a data
3080
3181
  # condition that can be evaluated during a session. When a specified transition
3081
3182
  # is matched, the following actions are taken in order: * If there is a `
@@ -3345,6 +3446,22 @@ module Google
3345
3446
  # @return [Hash<String,String>]
3346
3447
  attr_accessor :request_headers
3347
3448
 
3449
+ # Optional. The SecretManager secret version resource storing the username:
3450
+ # password pair for HTTP Basic authentication. Format: `projects/`project`/
3451
+ # secrets/`secret`/versions/`version``
3452
+ # Corresponds to the JSON property `secretVersionForUsernamePassword`
3453
+ # @return [String]
3454
+ attr_accessor :secret_version_for_username_password
3455
+
3456
+ # Optional. The HTTP request headers to send together with webhook requests.
3457
+ # Header values are stored in SecretManager secret versions. When the same
3458
+ # header name is specified in both `request_headers` and `
3459
+ # secret_versions_for_request_headers`, the value in `
3460
+ # secret_versions_for_request_headers` will be used.
3461
+ # Corresponds to the JSON property `secretVersionsForRequestHeaders`
3462
+ # @return [Hash<String,Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue>]
3463
+ attr_accessor :secret_versions_for_request_headers
3464
+
3348
3465
  # Optional. Indicate the auth token type generated from the [Diglogflow service
3349
3466
  # agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
3350
3467
  # agent). The generated token is sent in the Authorization header.
@@ -3381,6 +3498,8 @@ module Google
3381
3498
  @password = args[:password] if args.key?(:password)
3382
3499
  @request_body = args[:request_body] if args.key?(:request_body)
3383
3500
  @request_headers = args[:request_headers] if args.key?(:request_headers)
3501
+ @secret_version_for_username_password = args[:secret_version_for_username_password] if args.key?(:secret_version_for_username_password)
3502
+ @secret_versions_for_request_headers = args[:secret_versions_for_request_headers] if args.key?(:secret_versions_for_request_headers)
3384
3503
  @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
3385
3504
  @uri = args[:uri] if args.key?(:uri)
3386
3505
  @username = args[:username] if args.key?(:username)
@@ -3408,6 +3527,13 @@ module Google
3408
3527
  # @return [Array<String>]
3409
3528
  attr_accessor :scopes
3410
3529
 
3530
+ # Optional. The name of the SecretManager secret version resource storing the
3531
+ # client secret. If this field is set, the `client_secret` field will be ignored.
3532
+ # Format: `projects/`project`/secrets/`secret`/versions/`version``
3533
+ # Corresponds to the JSON property `secretVersionForClientSecret`
3534
+ # @return [String]
3535
+ attr_accessor :secret_version_for_client_secret
3536
+
3411
3537
  # Required. The token endpoint provided by the 3rd party platform to exchange an
3412
3538
  # access token.
3413
3539
  # Corresponds to the JSON property `tokenEndpoint`
@@ -3423,10 +3549,32 @@ module Google
3423
3549
  @client_id = args[:client_id] if args.key?(:client_id)
3424
3550
  @client_secret = args[:client_secret] if args.key?(:client_secret)
3425
3551
  @scopes = args[:scopes] if args.key?(:scopes)
3552
+ @secret_version_for_client_secret = args[:secret_version_for_client_secret] if args.key?(:secret_version_for_client_secret)
3426
3553
  @token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
3427
3554
  end
3428
3555
  end
3429
3556
 
3557
+ # Represents the value of an HTTP header stored in a SecretManager secret
3558
+ # version.
3559
+ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue
3560
+ include Google::Apis::Core::Hashable
3561
+
3562
+ # Required. The SecretManager secret version resource storing the header value.
3563
+ # Format: `projects/`project`/secrets/`secret`/versions/`version``
3564
+ # Corresponds to the JSON property `secretVersion`
3565
+ # @return [String]
3566
+ attr_accessor :secret_version
3567
+
3568
+ def initialize(**args)
3569
+ update!(**args)
3570
+ end
3571
+
3572
+ # Update properties of this object
3573
+ def update!(**args)
3574
+ @secret_version = args[:secret_version] if args.key?(:secret_version)
3575
+ end
3576
+ end
3577
+
3430
3578
  # The request message for a webhook call. The request is sent as a JSON object
3431
3579
  # and the field names will be presented in camel cases. You may see undocumented
3432
3580
  # fields in an actual request. These fields are used internally by Dialogflow
@@ -7178,6 +7326,22 @@ module Google
7178
7326
  # @return [Hash<String,String>]
7179
7327
  attr_accessor :request_headers
7180
7328
 
7329
+ # Optional. The SecretManager secret version resource storing the username:
7330
+ # password pair for HTTP Basic authentication. Format: `projects/`project`/
7331
+ # secrets/`secret`/versions/`version``
7332
+ # Corresponds to the JSON property `secretVersionForUsernamePassword`
7333
+ # @return [String]
7334
+ attr_accessor :secret_version_for_username_password
7335
+
7336
+ # Optional. The HTTP request headers to send together with webhook requests.
7337
+ # Header values are stored in SecretManager secret versions. When the same
7338
+ # header name is specified in both `request_headers` and `
7339
+ # secret_versions_for_request_headers`, the value in `
7340
+ # secret_versions_for_request_headers` will be used.
7341
+ # Corresponds to the JSON property `secretVersionsForRequestHeaders`
7342
+ # @return [Hash<String,Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue>]
7343
+ attr_accessor :secret_versions_for_request_headers
7344
+
7181
7345
  # Optional. Indicate the auth token type generated from the [Diglogflow service
7182
7346
  # agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
7183
7347
  # agent). The generated token is sent in the Authorization header.
@@ -7214,6 +7378,8 @@ module Google
7214
7378
  @password = args[:password] if args.key?(:password)
7215
7379
  @request_body = args[:request_body] if args.key?(:request_body)
7216
7380
  @request_headers = args[:request_headers] if args.key?(:request_headers)
7381
+ @secret_version_for_username_password = args[:secret_version_for_username_password] if args.key?(:secret_version_for_username_password)
7382
+ @secret_versions_for_request_headers = args[:secret_versions_for_request_headers] if args.key?(:secret_versions_for_request_headers)
7217
7383
  @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
7218
7384
  @uri = args[:uri] if args.key?(:uri)
7219
7385
  @username = args[:username] if args.key?(:username)
@@ -7241,6 +7407,13 @@ module Google
7241
7407
  # @return [Array<String>]
7242
7408
  attr_accessor :scopes
7243
7409
 
7410
+ # Optional. The name of the SecretManager secret version resource storing the
7411
+ # client secret. If this field is set, the `client_secret` field will be ignored.
7412
+ # Format: `projects/`project`/secrets/`secret`/versions/`version``
7413
+ # Corresponds to the JSON property `secretVersionForClientSecret`
7414
+ # @return [String]
7415
+ attr_accessor :secret_version_for_client_secret
7416
+
7244
7417
  # Required. The token endpoint provided by the 3rd party platform to exchange an
7245
7418
  # access token.
7246
7419
  # Corresponds to the JSON property `tokenEndpoint`
@@ -7256,10 +7429,32 @@ module Google
7256
7429
  @client_id = args[:client_id] if args.key?(:client_id)
7257
7430
  @client_secret = args[:client_secret] if args.key?(:client_secret)
7258
7431
  @scopes = args[:scopes] if args.key?(:scopes)
7432
+ @secret_version_for_client_secret = args[:secret_version_for_client_secret] if args.key?(:secret_version_for_client_secret)
7259
7433
  @token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
7260
7434
  end
7261
7435
  end
7262
7436
 
7437
+ # Represents the value of an HTTP header stored in a SecretManager secret
7438
+ # version.
7439
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
7440
+ include Google::Apis::Core::Hashable
7441
+
7442
+ # Required. The SecretManager secret version resource storing the header value.
7443
+ # Format: `projects/`project`/secrets/`secret`/versions/`version``
7444
+ # Corresponds to the JSON property `secretVersion`
7445
+ # @return [String]
7446
+ attr_accessor :secret_version
7447
+
7448
+ def initialize(**args)
7449
+ update!(**args)
7450
+ end
7451
+
7452
+ # Update properties of this object
7453
+ def update!(**args)
7454
+ @secret_version = args[:secret_version] if args.key?(:secret_version)
7455
+ end
7456
+ end
7457
+
7263
7458
  # The request message for a webhook call. The request is sent as a JSON object
7264
7459
  # and the field names will be presented in camel cases. You may see undocumented
7265
7460
  # fields in an actual request. These fields are used internally by Dialogflow
@@ -9598,6 +9793,39 @@ module Google
9598
9793
  end
9599
9794
  end
9600
9795
 
9796
+ # Pronunciation customization for a phrase.
9797
+ class GoogleCloudDialogflowV2CustomPronunciationParams
9798
+ include Google::Apis::Core::Hashable
9799
+
9800
+ # The phonetic encoding of the phrase.
9801
+ # Corresponds to the JSON property `phoneticEncoding`
9802
+ # @return [String]
9803
+ attr_accessor :phonetic_encoding
9804
+
9805
+ # The phrase to which the customization is applied. The phrase can be multiple
9806
+ # words, such as proper nouns, but shouldn't span the length of the sentence.
9807
+ # Corresponds to the JSON property `phrase`
9808
+ # @return [String]
9809
+ attr_accessor :phrase
9810
+
9811
+ # The pronunciation of the phrase. This must be in the phonetic encoding
9812
+ # specified above.
9813
+ # Corresponds to the JSON property `pronunciation`
9814
+ # @return [String]
9815
+ attr_accessor :pronunciation
9816
+
9817
+ def initialize(**args)
9818
+ update!(**args)
9819
+ end
9820
+
9821
+ # Update properties of this object
9822
+ def update!(**args)
9823
+ @phonetic_encoding = args[:phonetic_encoding] if args.key?(:phonetic_encoding)
9824
+ @phrase = args[:phrase] if args.key?(:phrase)
9825
+ @pronunciation = args[:pronunciation] if args.key?(:pronunciation)
9826
+ end
9827
+ end
9828
+
9601
9829
  # Metadata for DeleteConversationDataset.
9602
9830
  class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata
9603
9831
  include Google::Apis::Core::Hashable
@@ -11133,6 +11361,12 @@ module Google
11133
11361
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationContext]
11134
11362
  attr_accessor :summarization_context
11135
11363
 
11364
+ # Optional. Resource names of the tools that the generator can choose from.
11365
+ # Format: `projects//locations//tools/`.
11366
+ # Corresponds to the JSON property `tools`
11367
+ # @return [Array<String>]
11368
+ attr_accessor :tools
11369
+
11136
11370
  # Optional. The trigger event of the generator. It defines when the generator is
11137
11371
  # triggered in a conversation.
11138
11372
  # Corresponds to the JSON property `triggerEvent`
@@ -11157,6 +11391,7 @@ module Google
11157
11391
  @name = args[:name] if args.key?(:name)
11158
11392
  @published_model = args[:published_model] if args.key?(:published_model)
11159
11393
  @summarization_context = args[:summarization_context] if args.key?(:summarization_context)
11394
+ @tools = args[:tools] if args.key?(:tools)
11160
11395
  @trigger_event = args[:trigger_event] if args.key?(:trigger_event)
11161
11396
  @update_time = args[:update_time] if args.key?(:update_time)
11162
11397
  end
@@ -11176,6 +11411,11 @@ module Google
11176
11411
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarySuggestion]
11177
11412
  attr_accessor :summary_suggestion
11178
11413
 
11414
+ # Optional. List of request and response for tool calls executed.
11415
+ # Corresponds to the JSON property `toolCallInfo`
11416
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo>]
11417
+ attr_accessor :tool_call_info
11418
+
11179
11419
  def initialize(**args)
11180
11420
  update!(**args)
11181
11421
  end
@@ -11184,6 +11424,32 @@ module Google
11184
11424
  def update!(**args)
11185
11425
  @free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
11186
11426
  @summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
11427
+ @tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
11428
+ end
11429
+ end
11430
+
11431
+ # Request and response for a tool call.
11432
+ class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
11433
+ include Google::Apis::Core::Hashable
11434
+
11435
+ # Represents a call of a specific tool's action with the specified inputs.
11436
+ # Corresponds to the JSON property `toolCall`
11437
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCall]
11438
+ attr_accessor :tool_call
11439
+
11440
+ # The result of calling a tool's action.
11441
+ # Corresponds to the JSON property `toolCallResult`
11442
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCallResult]
11443
+ attr_accessor :tool_call_result
11444
+
11445
+ def initialize(**args)
11446
+ update!(**args)
11447
+ end
11448
+
11449
+ # Update properties of this object
11450
+ def update!(**args)
11451
+ @tool_call = args[:tool_call] if args.key?(:tool_call)
11452
+ @tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
11187
11453
  end
11188
11454
  end
11189
11455
 
@@ -12194,7 +12460,8 @@ module Google
12194
12460
  # translations. See [Language Support](https://cloud.google.com/dialogflow/docs/
12195
12461
  # reference/language) for a list of the currently supported language codes. Note
12196
12462
  # that queries in the same session do not necessarily need to specify the same
12197
- # language.
12463
+ # language. If not set, the language is inferred from the ConversationProfile.
12464
+ # stt_config.
12198
12465
  # Corresponds to the JSON property `languageCode`
12199
12466
  # @return [String]
12200
12467
  attr_accessor :language_code
@@ -15846,7 +16113,8 @@ module Google
15846
16113
  # The language of the supplied audio. Dialogflow does not do translations. See [
15847
16114
  # Language Support](https://cloud.google.com/dialogflow/docs/reference/language)
15848
16115
  # for a list of the currently supported language codes. Note that queries in the
15849
- # same session do not necessarily need to specify the same language.
16116
+ # same session do not necessarily need to specify the same language. If not
16117
+ # specified, the default language configured at ConversationProfile is used.
15850
16118
  # Corresponds to the JSON property `languageCode`
15851
16119
  # @return [String]
15852
16120
  attr_accessor :language_code
@@ -16689,6 +16957,11 @@ module Google
16689
16957
  # @return [Float]
16690
16958
  attr_accessor :pitch
16691
16959
 
16960
+ # Optional. The custom pronunciations for the synthesized audio.
16961
+ # Corresponds to the JSON property `pronunciations`
16962
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CustomPronunciationParams>]
16963
+ attr_accessor :pronunciations
16964
+
16692
16965
  # Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal
16693
16966
  # native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is
16694
16967
  # half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other
@@ -16722,6 +16995,7 @@ module Google
16722
16995
  def update!(**args)
16723
16996
  @effects_profile_id = args[:effects_profile_id] if args.key?(:effects_profile_id)
16724
16997
  @pitch = args[:pitch] if args.key?(:pitch)
16998
+ @pronunciations = args[:pronunciations] if args.key?(:pronunciations)
16725
16999
  @speaking_rate = args[:speaking_rate] if args.key?(:speaking_rate)
16726
17000
  @voice = args[:voice] if args.key?(:voice)
16727
17001
  @volume_gain_db = args[:volume_gain_db] if args.key?(:volume_gain_db)
@@ -16802,6 +17076,115 @@ module Google
16802
17076
  end
16803
17077
  end
16804
17078
 
17079
+ # Represents a call of a specific tool's action with the specified inputs.
17080
+ class GoogleCloudDialogflowV2ToolCall
17081
+ include Google::Apis::Core::Hashable
17082
+
17083
+ # Required. The name of the tool's action associated with this call.
17084
+ # Corresponds to the JSON property `action`
17085
+ # @return [String]
17086
+ attr_accessor :action
17087
+
17088
+ # Output only. Create time of the tool call.
17089
+ # Corresponds to the JSON property `createTime`
17090
+ # @return [String]
17091
+ attr_accessor :create_time
17092
+
17093
+ # Optional. The action's input parameters.
17094
+ # Corresponds to the JSON property `inputParameters`
17095
+ # @return [Hash<String,Object>]
17096
+ attr_accessor :input_parameters
17097
+
17098
+ # Required. The tool associated with this call. Format: `projects//locations//
17099
+ # tools/`.
17100
+ # Corresponds to the JSON property `tool`
17101
+ # @return [String]
17102
+ attr_accessor :tool
17103
+
17104
+ def initialize(**args)
17105
+ update!(**args)
17106
+ end
17107
+
17108
+ # Update properties of this object
17109
+ def update!(**args)
17110
+ @action = args[:action] if args.key?(:action)
17111
+ @create_time = args[:create_time] if args.key?(:create_time)
17112
+ @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
17113
+ @tool = args[:tool] if args.key?(:tool)
17114
+ end
17115
+ end
17116
+
17117
+ # The result of calling a tool's action.
17118
+ class GoogleCloudDialogflowV2ToolCallResult
17119
+ include Google::Apis::Core::Hashable
17120
+
17121
+ # Required. The name of the tool's action associated with this call.
17122
+ # Corresponds to the JSON property `action`
17123
+ # @return [String]
17124
+ attr_accessor :action
17125
+
17126
+ # Only populated if the response content is utf-8 encoded.
17127
+ # Corresponds to the JSON property `content`
17128
+ # @return [String]
17129
+ attr_accessor :content
17130
+
17131
+ # Output only. Create time of the tool call result.
17132
+ # Corresponds to the JSON property `createTime`
17133
+ # @return [String]
17134
+ attr_accessor :create_time
17135
+
17136
+ # An error produced by the tool call.
17137
+ # Corresponds to the JSON property `error`
17138
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCallResultError]
17139
+ attr_accessor :error
17140
+
17141
+ # Only populated if the response content is not utf-8 encoded. (by definition
17142
+ # byte fields are base64 encoded).
17143
+ # Corresponds to the JSON property `rawContent`
17144
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
17145
+ # @return [String]
17146
+ attr_accessor :raw_content
17147
+
17148
+ # Required. The tool associated with this call. Format: `projects//locations//
17149
+ # tools/`.
17150
+ # Corresponds to the JSON property `tool`
17151
+ # @return [String]
17152
+ attr_accessor :tool
17153
+
17154
+ def initialize(**args)
17155
+ update!(**args)
17156
+ end
17157
+
17158
+ # Update properties of this object
17159
+ def update!(**args)
17160
+ @action = args[:action] if args.key?(:action)
17161
+ @content = args[:content] if args.key?(:content)
17162
+ @create_time = args[:create_time] if args.key?(:create_time)
17163
+ @error = args[:error] if args.key?(:error)
17164
+ @raw_content = args[:raw_content] if args.key?(:raw_content)
17165
+ @tool = args[:tool] if args.key?(:tool)
17166
+ end
17167
+ end
17168
+
17169
+ # An error produced by the tool call.
17170
+ class GoogleCloudDialogflowV2ToolCallResultError
17171
+ include Google::Apis::Core::Hashable
17172
+
17173
+ # Optional. The error message of the function.
17174
+ # Corresponds to the JSON property `message`
17175
+ # @return [String]
17176
+ attr_accessor :message
17177
+
17178
+ def initialize(**args)
17179
+ update!(**args)
17180
+ end
17181
+
17182
+ # Update properties of this object
17183
+ def update!(**args)
17184
+ @message = args[:message] if args.key?(:message)
17185
+ end
17186
+ end
17187
+
16805
17188
  # The request message for Agents.TrainAgent.
16806
17189
  class GoogleCloudDialogflowV2TrainAgentRequest
16807
17190
  include Google::Apis::Core::Hashable
@@ -17832,6 +18215,11 @@ module Google
17832
18215
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SummarySuggestion]
17833
18216
  attr_accessor :summary_suggestion
17834
18217
 
18218
+ # Optional. List of request and response for tool calls executed.
18219
+ # Corresponds to the JSON property `toolCallInfo`
18220
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo>]
18221
+ attr_accessor :tool_call_info
18222
+
17835
18223
  def initialize(**args)
17836
18224
  update!(**args)
17837
18225
  end
@@ -17840,6 +18228,32 @@ module Google
17840
18228
  def update!(**args)
17841
18229
  @free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
17842
18230
  @summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
18231
+ @tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
18232
+ end
18233
+ end
18234
+
18235
+ # Request and response for a tool call.
18236
+ class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
18237
+ include Google::Apis::Core::Hashable
18238
+
18239
+ # Represents a call of a specific tool's action with the specified inputs.
18240
+ # Corresponds to the JSON property `toolCall`
18241
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCall]
18242
+ attr_accessor :tool_call
18243
+
18244
+ # The result of calling a tool's action.
18245
+ # Corresponds to the JSON property `toolCallResult`
18246
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCallResult]
18247
+ attr_accessor :tool_call_result
18248
+
18249
+ def initialize(**args)
18250
+ update!(**args)
18251
+ end
18252
+
18253
+ # Update properties of this object
18254
+ def update!(**args)
18255
+ @tool_call = args[:tool_call] if args.key?(:tool_call)
18256
+ @tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
17843
18257
  end
17844
18258
  end
17845
18259
 
@@ -21113,6 +21527,115 @@ module Google
21113
21527
  end
21114
21528
  end
21115
21529
 
21530
+ # Represents a call of a specific tool's action with the specified inputs.
21531
+ class GoogleCloudDialogflowV2beta1ToolCall
21532
+ include Google::Apis::Core::Hashable
21533
+
21534
+ # Required. The name of the tool's action associated with this call.
21535
+ # Corresponds to the JSON property `action`
21536
+ # @return [String]
21537
+ attr_accessor :action
21538
+
21539
+ # Output only. Create time of the tool call.
21540
+ # Corresponds to the JSON property `createTime`
21541
+ # @return [String]
21542
+ attr_accessor :create_time
21543
+
21544
+ # Optional. The action's input parameters.
21545
+ # Corresponds to the JSON property `inputParameters`
21546
+ # @return [Hash<String,Object>]
21547
+ attr_accessor :input_parameters
21548
+
21549
+ # Required. The tool associated with this call. Format: `projects//locations//
21550
+ # tools/`.
21551
+ # Corresponds to the JSON property `tool`
21552
+ # @return [String]
21553
+ attr_accessor :tool
21554
+
21555
+ def initialize(**args)
21556
+ update!(**args)
21557
+ end
21558
+
21559
+ # Update properties of this object
21560
+ def update!(**args)
21561
+ @action = args[:action] if args.key?(:action)
21562
+ @create_time = args[:create_time] if args.key?(:create_time)
21563
+ @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
21564
+ @tool = args[:tool] if args.key?(:tool)
21565
+ end
21566
+ end
21567
+
21568
+ # The result of calling a tool's action.
21569
+ class GoogleCloudDialogflowV2beta1ToolCallResult
21570
+ include Google::Apis::Core::Hashable
21571
+
21572
+ # Required. The name of the tool's action associated with this call.
21573
+ # Corresponds to the JSON property `action`
21574
+ # @return [String]
21575
+ attr_accessor :action
21576
+
21577
+ # Only populated if the response content is utf-8 encoded.
21578
+ # Corresponds to the JSON property `content`
21579
+ # @return [String]
21580
+ attr_accessor :content
21581
+
21582
+ # Output only. Create time of the tool call result.
21583
+ # Corresponds to the JSON property `createTime`
21584
+ # @return [String]
21585
+ attr_accessor :create_time
21586
+
21587
+ # An error produced by the tool call.
21588
+ # Corresponds to the JSON property `error`
21589
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCallResultError]
21590
+ attr_accessor :error
21591
+
21592
+ # Only populated if the response content is not utf-8 encoded. (by definition
21593
+ # byte fields are base64 encoded).
21594
+ # Corresponds to the JSON property `rawContent`
21595
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
21596
+ # @return [String]
21597
+ attr_accessor :raw_content
21598
+
21599
+ # Required. The tool associated with this call. Format: `projects//locations//
21600
+ # tools/`.
21601
+ # Corresponds to the JSON property `tool`
21602
+ # @return [String]
21603
+ attr_accessor :tool
21604
+
21605
+ def initialize(**args)
21606
+ update!(**args)
21607
+ end
21608
+
21609
+ # Update properties of this object
21610
+ def update!(**args)
21611
+ @action = args[:action] if args.key?(:action)
21612
+ @content = args[:content] if args.key?(:content)
21613
+ @create_time = args[:create_time] if args.key?(:create_time)
21614
+ @error = args[:error] if args.key?(:error)
21615
+ @raw_content = args[:raw_content] if args.key?(:raw_content)
21616
+ @tool = args[:tool] if args.key?(:tool)
21617
+ end
21618
+ end
21619
+
21620
+ # An error produced by the tool call.
21621
+ class GoogleCloudDialogflowV2beta1ToolCallResultError
21622
+ include Google::Apis::Core::Hashable
21623
+
21624
+ # Optional. The error message of the function.
21625
+ # Corresponds to the JSON property `message`
21626
+ # @return [String]
21627
+ attr_accessor :message
21628
+
21629
+ def initialize(**args)
21630
+ update!(**args)
21631
+ end
21632
+
21633
+ # Update properties of this object
21634
+ def update!(**args)
21635
+ @message = args[:message] if args.key?(:message)
21636
+ end
21637
+ end
21638
+
21116
21639
  # The request message for a webhook call.
21117
21640
  class GoogleCloudDialogflowV2beta1WebhookRequest
21118
21641
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2
18
18
  # Version of the google-apis-dialogflow_v2 gem
19
- GEM_VERSION = "0.100.0"
19
+ GEM_VERSION = "0.102.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250310"
25
+ REVISION = "20250422"
26
26
  end
27
27
  end
28
28
  end
@@ -544,6 +544,24 @@ module Google
544
544
  include Google::Apis::Core::JsonObjectSupport
545
545
  end
546
546
 
547
+ class GoogleCloudDialogflowCxV3ToolCall
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
553
+ class GoogleCloudDialogflowCxV3ToolCallResult
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
559
+ class GoogleCloudDialogflowCxV3ToolCallResultError
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
547
565
  class GoogleCloudDialogflowCxV3TransitionRoute
548
566
  class Representation < Google::Apis::Core::JsonRepresentation; end
549
567
 
@@ -574,6 +592,12 @@ module Google
574
592
  include Google::Apis::Core::JsonObjectSupport
575
593
  end
576
594
 
595
+ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
577
601
  class GoogleCloudDialogflowCxV3WebhookRequest
578
602
  class Representation < Google::Apis::Core::JsonRepresentation; end
579
603
 
@@ -1192,6 +1216,12 @@ module Google
1192
1216
  include Google::Apis::Core::JsonObjectSupport
1193
1217
  end
1194
1218
 
1219
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
1220
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1221
+
1222
+ include Google::Apis::Core::JsonObjectSupport
1223
+ end
1224
+
1195
1225
  class GoogleCloudDialogflowCxV3beta1WebhookRequest
1196
1226
  class Representation < Google::Apis::Core::JsonRepresentation; end
1197
1227
 
@@ -1528,6 +1558,12 @@ module Google
1528
1558
  include Google::Apis::Core::JsonObjectSupport
1529
1559
  end
1530
1560
 
1561
+ class GoogleCloudDialogflowV2CustomPronunciationParams
1562
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1563
+
1564
+ include Google::Apis::Core::JsonObjectSupport
1565
+ end
1566
+
1531
1567
  class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata
1532
1568
  class Representation < Google::Apis::Core::JsonRepresentation; end
1533
1569
 
@@ -1798,6 +1834,12 @@ module Google
1798
1834
  include Google::Apis::Core::JsonObjectSupport
1799
1835
  end
1800
1836
 
1837
+ class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
1838
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1839
+
1840
+ include Google::Apis::Core::JsonObjectSupport
1841
+ end
1842
+
1801
1843
  class GoogleCloudDialogflowV2HumanAgentAssistantConfig
1802
1844
  class Representation < Google::Apis::Core::JsonRepresentation; end
1803
1845
 
@@ -2728,6 +2770,24 @@ module Google
2728
2770
  include Google::Apis::Core::JsonObjectSupport
2729
2771
  end
2730
2772
 
2773
+ class GoogleCloudDialogflowV2ToolCall
2774
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2775
+
2776
+ include Google::Apis::Core::JsonObjectSupport
2777
+ end
2778
+
2779
+ class GoogleCloudDialogflowV2ToolCallResult
2780
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2781
+
2782
+ include Google::Apis::Core::JsonObjectSupport
2783
+ end
2784
+
2785
+ class GoogleCloudDialogflowV2ToolCallResultError
2786
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2787
+
2788
+ include Google::Apis::Core::JsonObjectSupport
2789
+ end
2790
+
2731
2791
  class GoogleCloudDialogflowV2TrainAgentRequest
2732
2792
  class Representation < Google::Apis::Core::JsonRepresentation; end
2733
2793
 
@@ -2902,6 +2962,12 @@ module Google
2902
2962
  include Google::Apis::Core::JsonObjectSupport
2903
2963
  end
2904
2964
 
2965
+ class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
2966
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2967
+
2968
+ include Google::Apis::Core::JsonObjectSupport
2969
+ end
2970
+
2905
2971
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
2906
2972
  class Representation < Google::Apis::Core::JsonRepresentation; end
2907
2973
 
@@ -3430,6 +3496,24 @@ module Google
3430
3496
  include Google::Apis::Core::JsonObjectSupport
3431
3497
  end
3432
3498
 
3499
+ class GoogleCloudDialogflowV2beta1ToolCall
3500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3501
+
3502
+ include Google::Apis::Core::JsonObjectSupport
3503
+ end
3504
+
3505
+ class GoogleCloudDialogflowV2beta1ToolCallResult
3506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3507
+
3508
+ include Google::Apis::Core::JsonObjectSupport
3509
+ end
3510
+
3511
+ class GoogleCloudDialogflowV2beta1ToolCallResultError
3512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3513
+
3514
+ include Google::Apis::Core::JsonObjectSupport
3515
+ end
3516
+
3433
3517
  class GoogleCloudDialogflowV2beta1WebhookRequest
3434
3518
  class Representation < Google::Apis::Core::JsonRepresentation; end
3435
3519
 
@@ -4115,6 +4199,8 @@ module Google
4115
4199
  property :language_code, as: 'languageCode'
4116
4200
  property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TextInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TextInput::Representation
4117
4201
 
4202
+ property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ToolCallResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ToolCallResult::Representation
4203
+
4118
4204
  end
4119
4205
  end
4120
4206
 
@@ -4142,6 +4228,8 @@ module Google
4142
4228
 
4143
4229
  property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
4144
4230
 
4231
+ property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ToolCall, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ToolCall::Representation
4232
+
4145
4233
  end
4146
4234
  end
4147
4235
 
@@ -4331,6 +4419,33 @@ module Google
4331
4419
  end
4332
4420
  end
4333
4421
 
4422
+ class GoogleCloudDialogflowCxV3ToolCall
4423
+ # @private
4424
+ class Representation < Google::Apis::Core::JsonRepresentation
4425
+ property :action, as: 'action'
4426
+ hash :input_parameters, as: 'inputParameters'
4427
+ property :tool, as: 'tool'
4428
+ end
4429
+ end
4430
+
4431
+ class GoogleCloudDialogflowCxV3ToolCallResult
4432
+ # @private
4433
+ class Representation < Google::Apis::Core::JsonRepresentation
4434
+ property :action, as: 'action'
4435
+ property :error, as: 'error', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ToolCallResultError, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ToolCallResultError::Representation
4436
+
4437
+ hash :output_parameters, as: 'outputParameters'
4438
+ property :tool, as: 'tool'
4439
+ end
4440
+ end
4441
+
4442
+ class GoogleCloudDialogflowCxV3ToolCallResultError
4443
+ # @private
4444
+ class Representation < Google::Apis::Core::JsonRepresentation
4445
+ property :message, as: 'message'
4446
+ end
4447
+ end
4448
+
4334
4449
  class GoogleCloudDialogflowCxV3TransitionRoute
4335
4450
  # @private
4336
4451
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4386,6 +4501,9 @@ module Google
4386
4501
  property :password, as: 'password'
4387
4502
  property :request_body, as: 'requestBody'
4388
4503
  hash :request_headers, as: 'requestHeaders'
4504
+ property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
4505
+ hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue::Representation
4506
+
4389
4507
  property :service_agent_auth, as: 'serviceAgentAuth'
4390
4508
  property :uri, as: 'uri'
4391
4509
  property :username, as: 'username'
@@ -4399,10 +4517,18 @@ module Google
4399
4517
  property :client_id, as: 'clientId'
4400
4518
  property :client_secret, as: 'clientSecret'
4401
4519
  collection :scopes, as: 'scopes'
4520
+ property :secret_version_for_client_secret, as: 'secretVersionForClientSecret'
4402
4521
  property :token_endpoint, as: 'tokenEndpoint'
4403
4522
  end
4404
4523
  end
4405
4524
 
4525
+ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue
4526
+ # @private
4527
+ class Representation < Google::Apis::Core::JsonRepresentation
4528
+ property :secret_version, as: 'secretVersion'
4529
+ end
4530
+ end
4531
+
4406
4532
  class GoogleCloudDialogflowCxV3WebhookRequest
4407
4533
  # @private
4408
4534
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5418,6 +5544,9 @@ module Google
5418
5544
  property :password, as: 'password'
5419
5545
  property :request_body, as: 'requestBody'
5420
5546
  hash :request_headers, as: 'requestHeaders'
5547
+ property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
5548
+ hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue::Representation
5549
+
5421
5550
  property :service_agent_auth, as: 'serviceAgentAuth'
5422
5551
  property :uri, as: 'uri'
5423
5552
  property :username, as: 'username'
@@ -5431,10 +5560,18 @@ module Google
5431
5560
  property :client_id, as: 'clientId'
5432
5561
  property :client_secret, as: 'clientSecret'
5433
5562
  collection :scopes, as: 'scopes'
5563
+ property :secret_version_for_client_secret, as: 'secretVersionForClientSecret'
5434
5564
  property :token_endpoint, as: 'tokenEndpoint'
5435
5565
  end
5436
5566
  end
5437
5567
 
5568
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
5569
+ # @private
5570
+ class Representation < Google::Apis::Core::JsonRepresentation
5571
+ property :secret_version, as: 'secretVersion'
5572
+ end
5573
+ end
5574
+
5438
5575
  class GoogleCloudDialogflowCxV3beta1WebhookRequest
5439
5576
  # @private
5440
5577
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6061,6 +6198,15 @@ module Google
6061
6198
  end
6062
6199
  end
6063
6200
 
6201
+ class GoogleCloudDialogflowV2CustomPronunciationParams
6202
+ # @private
6203
+ class Representation < Google::Apis::Core::JsonRepresentation
6204
+ property :phonetic_encoding, as: 'phoneticEncoding'
6205
+ property :phrase, as: 'phrase'
6206
+ property :pronunciation, as: 'pronunciation'
6207
+ end
6208
+ end
6209
+
6064
6210
  class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata
6065
6211
  # @private
6066
6212
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6487,6 +6633,7 @@ module Google
6487
6633
  property :published_model, as: 'publishedModel'
6488
6634
  property :summarization_context, as: 'summarizationContext', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationContext, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationContext::Representation
6489
6635
 
6636
+ collection :tools, as: 'tools'
6490
6637
  property :trigger_event, as: 'triggerEvent'
6491
6638
  property :update_time, as: 'updateTime'
6492
6639
  end
@@ -6499,6 +6646,18 @@ module Google
6499
6646
 
6500
6647
  property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarySuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarySuggestion::Representation
6501
6648
 
6649
+ collection :tool_call_info, as: 'toolCallInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo::Representation
6650
+
6651
+ end
6652
+ end
6653
+
6654
+ class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
6655
+ # @private
6656
+ class Representation < Google::Apis::Core::JsonRepresentation
6657
+ property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCall, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCall::Representation
6658
+
6659
+ property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCallResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCallResult::Representation
6660
+
6502
6661
  end
6503
6662
  end
6504
6663
 
@@ -8032,6 +8191,8 @@ module Google
8032
8191
  class Representation < Google::Apis::Core::JsonRepresentation
8033
8192
  collection :effects_profile_id, as: 'effectsProfileId'
8034
8193
  property :pitch, as: 'pitch'
8194
+ collection :pronunciations, as: 'pronunciations', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CustomPronunciationParams, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CustomPronunciationParams::Representation
8195
+
8035
8196
  property :speaking_rate, as: 'speakingRate'
8036
8197
  property :voice, as: 'voice', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2VoiceSelectionParams, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2VoiceSelectionParams::Representation
8037
8198
 
@@ -8058,6 +8219,36 @@ module Google
8058
8219
  end
8059
8220
  end
8060
8221
 
8222
+ class GoogleCloudDialogflowV2ToolCall
8223
+ # @private
8224
+ class Representation < Google::Apis::Core::JsonRepresentation
8225
+ property :action, as: 'action'
8226
+ property :create_time, as: 'createTime'
8227
+ hash :input_parameters, as: 'inputParameters'
8228
+ property :tool, as: 'tool'
8229
+ end
8230
+ end
8231
+
8232
+ class GoogleCloudDialogflowV2ToolCallResult
8233
+ # @private
8234
+ class Representation < Google::Apis::Core::JsonRepresentation
8235
+ property :action, as: 'action'
8236
+ property :content, as: 'content'
8237
+ property :create_time, as: 'createTime'
8238
+ property :error, as: 'error', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCallResultError, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCallResultError::Representation
8239
+
8240
+ property :raw_content, :base64 => true, as: 'rawContent'
8241
+ property :tool, as: 'tool'
8242
+ end
8243
+ end
8244
+
8245
+ class GoogleCloudDialogflowV2ToolCallResultError
8246
+ # @private
8247
+ class Representation < Google::Apis::Core::JsonRepresentation
8248
+ property :message, as: 'message'
8249
+ end
8250
+ end
8251
+
8061
8252
  class GoogleCloudDialogflowV2TrainAgentRequest
8062
8253
  # @private
8063
8254
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8329,6 +8520,18 @@ module Google
8329
8520
 
8330
8521
  property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SummarySuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SummarySuggestion::Representation
8331
8522
 
8523
+ collection :tool_call_info, as: 'toolCallInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo::Representation
8524
+
8525
+ end
8526
+ end
8527
+
8528
+ class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
8529
+ # @private
8530
+ class Representation < Google::Apis::Core::JsonRepresentation
8531
+ property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCall, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCall::Representation
8532
+
8533
+ property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCallResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCallResult::Representation
8534
+
8332
8535
  end
8333
8536
  end
8334
8537
 
@@ -9249,6 +9452,36 @@ module Google
9249
9452
  end
9250
9453
  end
9251
9454
 
9455
+ class GoogleCloudDialogflowV2beta1ToolCall
9456
+ # @private
9457
+ class Representation < Google::Apis::Core::JsonRepresentation
9458
+ property :action, as: 'action'
9459
+ property :create_time, as: 'createTime'
9460
+ hash :input_parameters, as: 'inputParameters'
9461
+ property :tool, as: 'tool'
9462
+ end
9463
+ end
9464
+
9465
+ class GoogleCloudDialogflowV2beta1ToolCallResult
9466
+ # @private
9467
+ class Representation < Google::Apis::Core::JsonRepresentation
9468
+ property :action, as: 'action'
9469
+ property :content, as: 'content'
9470
+ property :create_time, as: 'createTime'
9471
+ property :error, as: 'error', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCallResultError, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCallResultError::Representation
9472
+
9473
+ property :raw_content, :base64 => true, as: 'rawContent'
9474
+ property :tool, as: 'tool'
9475
+ end
9476
+ end
9477
+
9478
+ class GoogleCloudDialogflowV2beta1ToolCallResultError
9479
+ # @private
9480
+ class Representation < Google::Apis::Core::JsonRepresentation
9481
+ property :message, as: 'message'
9482
+ end
9483
+ end
9484
+
9252
9485
  class GoogleCloudDialogflowV2beta1WebhookRequest
9253
9486
  # @private
9254
9487
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5087,6 +5087,9 @@ module Google
5087
5087
  # Lists information about the supported locations for this service.
5088
5088
  # @param [String] name
5089
5089
  # The resource that owns the locations collection, if applicable.
5090
+ # @param [Array<String>, String] extra_location_types
5091
+ # Optional. A list of extra location types that should be used as conditions for
5092
+ # controlling the visibility of the locations.
5090
5093
  # @param [String] filter
5091
5094
  # A filter to narrow down results to a preferred subset. The filtering language
5092
5095
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -5114,11 +5117,12 @@ module Google
5114
5117
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5115
5118
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5116
5119
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5117
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5120
+ def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5118
5121
  command = make_simple_command(:get, 'v2/{+name}/locations', options)
5119
5122
  command.response_representation = Google::Apis::DialogflowV2::GoogleCloudLocationListLocationsResponse::Representation
5120
5123
  command.response_class = Google::Apis::DialogflowV2::GoogleCloudLocationListLocationsResponse
5121
5124
  command.params['name'] = name unless name.nil?
5125
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
5122
5126
  command.query['filter'] = filter unless filter.nil?
5123
5127
  command.query['pageSize'] = page_size unless page_size.nil?
5124
5128
  command.query['pageToken'] = page_token unless page_token.nil?
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.100.0
4
+ version: 0.102.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-16 00:00:00.000000000 Z
10
+ date: 2025-04-27 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.100.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.102.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
62
62
  rdoc_options: []
63
63
  require_paths: