google-apis-dialogflow_v2beta1 0.98.0 → 0.100.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/dialogflow_v2beta1/classes.rb +420 -0
- data/lib/google/apis/dialogflow_v2beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2beta1/representations.rb +184 -0
- data/lib/google/apis/dialogflow_v2beta1/service.rb +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1797bd7c73fa37ef291ed5d3d36a5c501fc0b9f64b3e0bc4eb47531afb1440b
|
4
|
+
data.tar.gz: 99b4a7d3665975e820dcaeefa5fe2214a48e6cdae55ce0b1d250186c3882cbb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 651c5106e71e421ba9539bb9cfe36b79a961a81e60ec6b9b785c16d6b6e16c0b2ee3bfab59009dcf7928aa2cab66d269786c1e05b11cbd56b9851249795c1b78
|
7
|
+
data.tar.gz: 8db7d8a01ba7c4653dda4b3313878cd858902d4cd9ad38e5fd3d202990d979e8552cc4d73939d28956d131bf7fe3bc081ac0bcb09e272bbcb246ed81c987559c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2beta1
|
2
2
|
|
3
|
+
### v0.100.0 (2025-04-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250414
|
6
|
+
|
7
|
+
### v0.99.0 (2025-03-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250325
|
10
|
+
|
3
11
|
### v0.98.0 (2025-03-16)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250310
|
@@ -3345,6 +3345,22 @@ module Google
|
|
3345
3345
|
# @return [Hash<String,String>]
|
3346
3346
|
attr_accessor :request_headers
|
3347
3347
|
|
3348
|
+
# Optional. The SecretManager secret version resource storing the username:
|
3349
|
+
# password pair for HTTP Basic authentication. Format: `projects/`project`/
|
3350
|
+
# secrets/`secret`/versions/`version``
|
3351
|
+
# Corresponds to the JSON property `secretVersionForUsernamePassword`
|
3352
|
+
# @return [String]
|
3353
|
+
attr_accessor :secret_version_for_username_password
|
3354
|
+
|
3355
|
+
# Optional. The HTTP request headers to send together with webhook requests.
|
3356
|
+
# Header values are stored in SecretManager secret versions. When the same
|
3357
|
+
# header name is specified in both `request_headers` and `
|
3358
|
+
# secret_versions_for_request_headers`, the value in `
|
3359
|
+
# secret_versions_for_request_headers` will be used.
|
3360
|
+
# Corresponds to the JSON property `secretVersionsForRequestHeaders`
|
3361
|
+
# @return [Hash<String,Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue>]
|
3362
|
+
attr_accessor :secret_versions_for_request_headers
|
3363
|
+
|
3348
3364
|
# Optional. Indicate the auth token type generated from the [Diglogflow service
|
3349
3365
|
# agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
|
3350
3366
|
# agent). The generated token is sent in the Authorization header.
|
@@ -3381,6 +3397,8 @@ module Google
|
|
3381
3397
|
@password = args[:password] if args.key?(:password)
|
3382
3398
|
@request_body = args[:request_body] if args.key?(:request_body)
|
3383
3399
|
@request_headers = args[:request_headers] if args.key?(:request_headers)
|
3400
|
+
@secret_version_for_username_password = args[:secret_version_for_username_password] if args.key?(:secret_version_for_username_password)
|
3401
|
+
@secret_versions_for_request_headers = args[:secret_versions_for_request_headers] if args.key?(:secret_versions_for_request_headers)
|
3384
3402
|
@service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
|
3385
3403
|
@uri = args[:uri] if args.key?(:uri)
|
3386
3404
|
@username = args[:username] if args.key?(:username)
|
@@ -3408,6 +3426,13 @@ module Google
|
|
3408
3426
|
# @return [Array<String>]
|
3409
3427
|
attr_accessor :scopes
|
3410
3428
|
|
3429
|
+
# Optional. The name of the SecretManager secret version resource storing the
|
3430
|
+
# client secret. If this field is set, the `client_secret` field will be ignored.
|
3431
|
+
# Format: `projects/`project`/secrets/`secret`/versions/`version``
|
3432
|
+
# Corresponds to the JSON property `secretVersionForClientSecret`
|
3433
|
+
# @return [String]
|
3434
|
+
attr_accessor :secret_version_for_client_secret
|
3435
|
+
|
3411
3436
|
# Required. The token endpoint provided by the 3rd party platform to exchange an
|
3412
3437
|
# access token.
|
3413
3438
|
# Corresponds to the JSON property `tokenEndpoint`
|
@@ -3423,10 +3448,32 @@ module Google
|
|
3423
3448
|
@client_id = args[:client_id] if args.key?(:client_id)
|
3424
3449
|
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
3425
3450
|
@scopes = args[:scopes] if args.key?(:scopes)
|
3451
|
+
@secret_version_for_client_secret = args[:secret_version_for_client_secret] if args.key?(:secret_version_for_client_secret)
|
3426
3452
|
@token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
|
3427
3453
|
end
|
3428
3454
|
end
|
3429
3455
|
|
3456
|
+
# Represents the value of an HTTP header stored in a SecretManager secret
|
3457
|
+
# version.
|
3458
|
+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue
|
3459
|
+
include Google::Apis::Core::Hashable
|
3460
|
+
|
3461
|
+
# Required. The SecretManager secret version resource storing the header value.
|
3462
|
+
# Format: `projects/`project`/secrets/`secret`/versions/`version``
|
3463
|
+
# Corresponds to the JSON property `secretVersion`
|
3464
|
+
# @return [String]
|
3465
|
+
attr_accessor :secret_version
|
3466
|
+
|
3467
|
+
def initialize(**args)
|
3468
|
+
update!(**args)
|
3469
|
+
end
|
3470
|
+
|
3471
|
+
# Update properties of this object
|
3472
|
+
def update!(**args)
|
3473
|
+
@secret_version = args[:secret_version] if args.key?(:secret_version)
|
3474
|
+
end
|
3475
|
+
end
|
3476
|
+
|
3430
3477
|
# The request message for a webhook call. The request is sent as a JSON object
|
3431
3478
|
# and the field names will be presented in camel cases. You may see undocumented
|
3432
3479
|
# fields in an actual request. These fields are used internally by Dialogflow
|
@@ -7178,6 +7225,22 @@ module Google
|
|
7178
7225
|
# @return [Hash<String,String>]
|
7179
7226
|
attr_accessor :request_headers
|
7180
7227
|
|
7228
|
+
# Optional. The SecretManager secret version resource storing the username:
|
7229
|
+
# password pair for HTTP Basic authentication. Format: `projects/`project`/
|
7230
|
+
# secrets/`secret`/versions/`version``
|
7231
|
+
# Corresponds to the JSON property `secretVersionForUsernamePassword`
|
7232
|
+
# @return [String]
|
7233
|
+
attr_accessor :secret_version_for_username_password
|
7234
|
+
|
7235
|
+
# Optional. The HTTP request headers to send together with webhook requests.
|
7236
|
+
# Header values are stored in SecretManager secret versions. When the same
|
7237
|
+
# header name is specified in both `request_headers` and `
|
7238
|
+
# secret_versions_for_request_headers`, the value in `
|
7239
|
+
# secret_versions_for_request_headers` will be used.
|
7240
|
+
# Corresponds to the JSON property `secretVersionsForRequestHeaders`
|
7241
|
+
# @return [Hash<String,Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue>]
|
7242
|
+
attr_accessor :secret_versions_for_request_headers
|
7243
|
+
|
7181
7244
|
# Optional. Indicate the auth token type generated from the [Diglogflow service
|
7182
7245
|
# agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
|
7183
7246
|
# agent). The generated token is sent in the Authorization header.
|
@@ -7214,6 +7277,8 @@ module Google
|
|
7214
7277
|
@password = args[:password] if args.key?(:password)
|
7215
7278
|
@request_body = args[:request_body] if args.key?(:request_body)
|
7216
7279
|
@request_headers = args[:request_headers] if args.key?(:request_headers)
|
7280
|
+
@secret_version_for_username_password = args[:secret_version_for_username_password] if args.key?(:secret_version_for_username_password)
|
7281
|
+
@secret_versions_for_request_headers = args[:secret_versions_for_request_headers] if args.key?(:secret_versions_for_request_headers)
|
7217
7282
|
@service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
|
7218
7283
|
@uri = args[:uri] if args.key?(:uri)
|
7219
7284
|
@username = args[:username] if args.key?(:username)
|
@@ -7241,6 +7306,13 @@ module Google
|
|
7241
7306
|
# @return [Array<String>]
|
7242
7307
|
attr_accessor :scopes
|
7243
7308
|
|
7309
|
+
# Optional. The name of the SecretManager secret version resource storing the
|
7310
|
+
# client secret. If this field is set, the `client_secret` field will be ignored.
|
7311
|
+
# Format: `projects/`project`/secrets/`secret`/versions/`version``
|
7312
|
+
# Corresponds to the JSON property `secretVersionForClientSecret`
|
7313
|
+
# @return [String]
|
7314
|
+
attr_accessor :secret_version_for_client_secret
|
7315
|
+
|
7244
7316
|
# Required. The token endpoint provided by the 3rd party platform to exchange an
|
7245
7317
|
# access token.
|
7246
7318
|
# Corresponds to the JSON property `tokenEndpoint`
|
@@ -7256,10 +7328,32 @@ module Google
|
|
7256
7328
|
@client_id = args[:client_id] if args.key?(:client_id)
|
7257
7329
|
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
7258
7330
|
@scopes = args[:scopes] if args.key?(:scopes)
|
7331
|
+
@secret_version_for_client_secret = args[:secret_version_for_client_secret] if args.key?(:secret_version_for_client_secret)
|
7259
7332
|
@token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
|
7260
7333
|
end
|
7261
7334
|
end
|
7262
7335
|
|
7336
|
+
# Represents the value of an HTTP header stored in a SecretManager secret
|
7337
|
+
# version.
|
7338
|
+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
|
7339
|
+
include Google::Apis::Core::Hashable
|
7340
|
+
|
7341
|
+
# Required. The SecretManager secret version resource storing the header value.
|
7342
|
+
# Format: `projects/`project`/secrets/`secret`/versions/`version``
|
7343
|
+
# Corresponds to the JSON property `secretVersion`
|
7344
|
+
# @return [String]
|
7345
|
+
attr_accessor :secret_version
|
7346
|
+
|
7347
|
+
def initialize(**args)
|
7348
|
+
update!(**args)
|
7349
|
+
end
|
7350
|
+
|
7351
|
+
# Update properties of this object
|
7352
|
+
def update!(**args)
|
7353
|
+
@secret_version = args[:secret_version] if args.key?(:secret_version)
|
7354
|
+
end
|
7355
|
+
end
|
7356
|
+
|
7263
7357
|
# The request message for a webhook call. The request is sent as a JSON object
|
7264
7358
|
# and the field names will be presented in camel cases. You may see undocumented
|
7265
7359
|
# fields in an actual request. These fields are used internally by Dialogflow
|
@@ -8538,6 +8632,11 @@ module Google
|
|
8538
8632
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SummarySuggestion]
|
8539
8633
|
attr_accessor :summary_suggestion
|
8540
8634
|
|
8635
|
+
# Optional. List of request and response for tool calls executed.
|
8636
|
+
# Corresponds to the JSON property `toolCallInfo`
|
8637
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo>]
|
8638
|
+
attr_accessor :tool_call_info
|
8639
|
+
|
8541
8640
|
def initialize(**args)
|
8542
8641
|
update!(**args)
|
8543
8642
|
end
|
@@ -8546,6 +8645,32 @@ module Google
|
|
8546
8645
|
def update!(**args)
|
8547
8646
|
@free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
|
8548
8647
|
@summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
|
8648
|
+
@tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
|
8649
|
+
end
|
8650
|
+
end
|
8651
|
+
|
8652
|
+
# Request and response for a tool call.
|
8653
|
+
class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
|
8654
|
+
include Google::Apis::Core::Hashable
|
8655
|
+
|
8656
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
8657
|
+
# Corresponds to the JSON property `toolCall`
|
8658
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ToolCall]
|
8659
|
+
attr_accessor :tool_call
|
8660
|
+
|
8661
|
+
# The result of calling a tool's action.
|
8662
|
+
# Corresponds to the JSON property `toolCallResult`
|
8663
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ToolCallResult]
|
8664
|
+
attr_accessor :tool_call_result
|
8665
|
+
|
8666
|
+
def initialize(**args)
|
8667
|
+
update!(**args)
|
8668
|
+
end
|
8669
|
+
|
8670
|
+
# Update properties of this object
|
8671
|
+
def update!(**args)
|
8672
|
+
@tool_call = args[:tool_call] if args.key?(:tool_call)
|
8673
|
+
@tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
|
8549
8674
|
end
|
8550
8675
|
end
|
8551
8676
|
|
@@ -11035,6 +11160,115 @@ module Google
|
|
11035
11160
|
end
|
11036
11161
|
end
|
11037
11162
|
|
11163
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
11164
|
+
class GoogleCloudDialogflowV2ToolCall
|
11165
|
+
include Google::Apis::Core::Hashable
|
11166
|
+
|
11167
|
+
# Required. The name of the tool's action associated with this call.
|
11168
|
+
# Corresponds to the JSON property `action`
|
11169
|
+
# @return [String]
|
11170
|
+
attr_accessor :action
|
11171
|
+
|
11172
|
+
# Output only. Create time of the tool call.
|
11173
|
+
# Corresponds to the JSON property `createTime`
|
11174
|
+
# @return [String]
|
11175
|
+
attr_accessor :create_time
|
11176
|
+
|
11177
|
+
# Optional. The action's input parameters.
|
11178
|
+
# Corresponds to the JSON property `inputParameters`
|
11179
|
+
# @return [Hash<String,Object>]
|
11180
|
+
attr_accessor :input_parameters
|
11181
|
+
|
11182
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
11183
|
+
# tools/`.
|
11184
|
+
# Corresponds to the JSON property `tool`
|
11185
|
+
# @return [String]
|
11186
|
+
attr_accessor :tool
|
11187
|
+
|
11188
|
+
def initialize(**args)
|
11189
|
+
update!(**args)
|
11190
|
+
end
|
11191
|
+
|
11192
|
+
# Update properties of this object
|
11193
|
+
def update!(**args)
|
11194
|
+
@action = args[:action] if args.key?(:action)
|
11195
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
11196
|
+
@input_parameters = args[:input_parameters] if args.key?(:input_parameters)
|
11197
|
+
@tool = args[:tool] if args.key?(:tool)
|
11198
|
+
end
|
11199
|
+
end
|
11200
|
+
|
11201
|
+
# The result of calling a tool's action.
|
11202
|
+
class GoogleCloudDialogflowV2ToolCallResult
|
11203
|
+
include Google::Apis::Core::Hashable
|
11204
|
+
|
11205
|
+
# Required. The name of the tool's action associated with this call.
|
11206
|
+
# Corresponds to the JSON property `action`
|
11207
|
+
# @return [String]
|
11208
|
+
attr_accessor :action
|
11209
|
+
|
11210
|
+
# Only populated if the response content is utf-8 encoded.
|
11211
|
+
# Corresponds to the JSON property `content`
|
11212
|
+
# @return [String]
|
11213
|
+
attr_accessor :content
|
11214
|
+
|
11215
|
+
# Output only. Create time of the tool call result.
|
11216
|
+
# Corresponds to the JSON property `createTime`
|
11217
|
+
# @return [String]
|
11218
|
+
attr_accessor :create_time
|
11219
|
+
|
11220
|
+
# An error produced by the tool call.
|
11221
|
+
# Corresponds to the JSON property `error`
|
11222
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ToolCallResultError]
|
11223
|
+
attr_accessor :error
|
11224
|
+
|
11225
|
+
# Only populated if the response content is not utf-8 encoded. (by definition
|
11226
|
+
# byte fields are base64 encoded).
|
11227
|
+
# Corresponds to the JSON property `rawContent`
|
11228
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
11229
|
+
# @return [String]
|
11230
|
+
attr_accessor :raw_content
|
11231
|
+
|
11232
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
11233
|
+
# tools/`.
|
11234
|
+
# Corresponds to the JSON property `tool`
|
11235
|
+
# @return [String]
|
11236
|
+
attr_accessor :tool
|
11237
|
+
|
11238
|
+
def initialize(**args)
|
11239
|
+
update!(**args)
|
11240
|
+
end
|
11241
|
+
|
11242
|
+
# Update properties of this object
|
11243
|
+
def update!(**args)
|
11244
|
+
@action = args[:action] if args.key?(:action)
|
11245
|
+
@content = args[:content] if args.key?(:content)
|
11246
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
11247
|
+
@error = args[:error] if args.key?(:error)
|
11248
|
+
@raw_content = args[:raw_content] if args.key?(:raw_content)
|
11249
|
+
@tool = args[:tool] if args.key?(:tool)
|
11250
|
+
end
|
11251
|
+
end
|
11252
|
+
|
11253
|
+
# An error produced by the tool call.
|
11254
|
+
class GoogleCloudDialogflowV2ToolCallResultError
|
11255
|
+
include Google::Apis::Core::Hashable
|
11256
|
+
|
11257
|
+
# Optional. The error message of the function.
|
11258
|
+
# Corresponds to the JSON property `message`
|
11259
|
+
# @return [String]
|
11260
|
+
attr_accessor :message
|
11261
|
+
|
11262
|
+
def initialize(**args)
|
11263
|
+
update!(**args)
|
11264
|
+
end
|
11265
|
+
|
11266
|
+
# Update properties of this object
|
11267
|
+
def update!(**args)
|
11268
|
+
@message = args[:message] if args.key?(:message)
|
11269
|
+
end
|
11270
|
+
end
|
11271
|
+
|
11038
11272
|
# Metadata for a ConversationModels.UndeployConversationModel operation.
|
11039
11273
|
class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
|
11040
11274
|
include Google::Apis::Core::Hashable
|
@@ -13134,6 +13368,39 @@ module Google
|
|
13134
13368
|
end
|
13135
13369
|
end
|
13136
13370
|
|
13371
|
+
# Pronunciation customization for a phrase.
|
13372
|
+
class GoogleCloudDialogflowV2beta1CustomPronunciationParams
|
13373
|
+
include Google::Apis::Core::Hashable
|
13374
|
+
|
13375
|
+
# The phonetic encoding of the phrase.
|
13376
|
+
# Corresponds to the JSON property `phoneticEncoding`
|
13377
|
+
# @return [String]
|
13378
|
+
attr_accessor :phonetic_encoding
|
13379
|
+
|
13380
|
+
# The phrase to which the customization is applied. The phrase can be multiple
|
13381
|
+
# words, such as proper nouns, but shouldn't span the length of the sentence.
|
13382
|
+
# Corresponds to the JSON property `phrase`
|
13383
|
+
# @return [String]
|
13384
|
+
attr_accessor :phrase
|
13385
|
+
|
13386
|
+
# The pronunciation of the phrase. This must be in the phonetic encoding
|
13387
|
+
# specified above.
|
13388
|
+
# Corresponds to the JSON property `pronunciation`
|
13389
|
+
# @return [String]
|
13390
|
+
attr_accessor :pronunciation
|
13391
|
+
|
13392
|
+
def initialize(**args)
|
13393
|
+
update!(**args)
|
13394
|
+
end
|
13395
|
+
|
13396
|
+
# Update properties of this object
|
13397
|
+
def update!(**args)
|
13398
|
+
@phonetic_encoding = args[:phonetic_encoding] if args.key?(:phonetic_encoding)
|
13399
|
+
@phrase = args[:phrase] if args.key?(:phrase)
|
13400
|
+
@pronunciation = args[:pronunciation] if args.key?(:pronunciation)
|
13401
|
+
end
|
13402
|
+
end
|
13403
|
+
|
13137
13404
|
# The request to detect user's intent.
|
13138
13405
|
class GoogleCloudDialogflowV2beta1DetectIntentRequest
|
13139
13406
|
include Google::Apis::Core::Hashable
|
@@ -14507,6 +14774,12 @@ module Google
|
|
14507
14774
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationContext]
|
14508
14775
|
attr_accessor :summarization_context
|
14509
14776
|
|
14777
|
+
# Optional. Resource names of the tools that the generator can choose from.
|
14778
|
+
# Format: `projects//locations//tools/`.
|
14779
|
+
# Corresponds to the JSON property `tools`
|
14780
|
+
# @return [Array<String>]
|
14781
|
+
attr_accessor :tools
|
14782
|
+
|
14510
14783
|
# Optional. The trigger event of the generator. It defines when the generator is
|
14511
14784
|
# triggered in a conversation.
|
14512
14785
|
# Corresponds to the JSON property `triggerEvent`
|
@@ -14531,6 +14804,7 @@ module Google
|
|
14531
14804
|
@name = args[:name] if args.key?(:name)
|
14532
14805
|
@published_model = args[:published_model] if args.key?(:published_model)
|
14533
14806
|
@summarization_context = args[:summarization_context] if args.key?(:summarization_context)
|
14807
|
+
@tools = args[:tools] if args.key?(:tools)
|
14534
14808
|
@trigger_event = args[:trigger_event] if args.key?(:trigger_event)
|
14535
14809
|
@update_time = args[:update_time] if args.key?(:update_time)
|
14536
14810
|
end
|
@@ -14550,6 +14824,11 @@ module Google
|
|
14550
14824
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestion]
|
14551
14825
|
attr_accessor :summary_suggestion
|
14552
14826
|
|
14827
|
+
# Optional. List of request and response for tool calls executed.
|
14828
|
+
# Corresponds to the JSON property `toolCallInfo`
|
14829
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo>]
|
14830
|
+
attr_accessor :tool_call_info
|
14831
|
+
|
14553
14832
|
def initialize(**args)
|
14554
14833
|
update!(**args)
|
14555
14834
|
end
|
@@ -14558,6 +14837,32 @@ module Google
|
|
14558
14837
|
def update!(**args)
|
14559
14838
|
@free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
|
14560
14839
|
@summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
|
14840
|
+
@tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
|
14841
|
+
end
|
14842
|
+
end
|
14843
|
+
|
14844
|
+
# Request and response for a tool call.
|
14845
|
+
class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
|
14846
|
+
include Google::Apis::Core::Hashable
|
14847
|
+
|
14848
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
14849
|
+
# Corresponds to the JSON property `toolCall`
|
14850
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCall]
|
14851
|
+
attr_accessor :tool_call
|
14852
|
+
|
14853
|
+
# The result of calling a tool's action.
|
14854
|
+
# Corresponds to the JSON property `toolCallResult`
|
14855
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCallResult]
|
14856
|
+
attr_accessor :tool_call_result
|
14857
|
+
|
14858
|
+
def initialize(**args)
|
14859
|
+
update!(**args)
|
14860
|
+
end
|
14861
|
+
|
14862
|
+
# Update properties of this object
|
14863
|
+
def update!(**args)
|
14864
|
+
@tool_call = args[:tool_call] if args.key?(:tool_call)
|
14865
|
+
@tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
|
14561
14866
|
end
|
14562
14867
|
end
|
14563
14868
|
|
@@ -21053,6 +21358,11 @@ module Google
|
|
21053
21358
|
# @return [Float]
|
21054
21359
|
attr_accessor :pitch
|
21055
21360
|
|
21361
|
+
# Optional. The custom pronunciations for the synthesized audio.
|
21362
|
+
# Corresponds to the JSON property `pronunciations`
|
21363
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CustomPronunciationParams>]
|
21364
|
+
attr_accessor :pronunciations
|
21365
|
+
|
21056
21366
|
# Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal
|
21057
21367
|
# native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is
|
21058
21368
|
# half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other
|
@@ -21086,6 +21396,7 @@ module Google
|
|
21086
21396
|
def update!(**args)
|
21087
21397
|
@effects_profile_id = args[:effects_profile_id] if args.key?(:effects_profile_id)
|
21088
21398
|
@pitch = args[:pitch] if args.key?(:pitch)
|
21399
|
+
@pronunciations = args[:pronunciations] if args.key?(:pronunciations)
|
21089
21400
|
@speaking_rate = args[:speaking_rate] if args.key?(:speaking_rate)
|
21090
21401
|
@voice = args[:voice] if args.key?(:voice)
|
21091
21402
|
@volume_gain_db = args[:volume_gain_db] if args.key?(:volume_gain_db)
|
@@ -21185,6 +21496,115 @@ module Google
|
|
21185
21496
|
end
|
21186
21497
|
end
|
21187
21498
|
|
21499
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
21500
|
+
class GoogleCloudDialogflowV2beta1ToolCall
|
21501
|
+
include Google::Apis::Core::Hashable
|
21502
|
+
|
21503
|
+
# Required. The name of the tool's action associated with this call.
|
21504
|
+
# Corresponds to the JSON property `action`
|
21505
|
+
# @return [String]
|
21506
|
+
attr_accessor :action
|
21507
|
+
|
21508
|
+
# Output only. Create time of the tool call.
|
21509
|
+
# Corresponds to the JSON property `createTime`
|
21510
|
+
# @return [String]
|
21511
|
+
attr_accessor :create_time
|
21512
|
+
|
21513
|
+
# Optional. The action's input parameters.
|
21514
|
+
# Corresponds to the JSON property `inputParameters`
|
21515
|
+
# @return [Hash<String,Object>]
|
21516
|
+
attr_accessor :input_parameters
|
21517
|
+
|
21518
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
21519
|
+
# tools/`.
|
21520
|
+
# Corresponds to the JSON property `tool`
|
21521
|
+
# @return [String]
|
21522
|
+
attr_accessor :tool
|
21523
|
+
|
21524
|
+
def initialize(**args)
|
21525
|
+
update!(**args)
|
21526
|
+
end
|
21527
|
+
|
21528
|
+
# Update properties of this object
|
21529
|
+
def update!(**args)
|
21530
|
+
@action = args[:action] if args.key?(:action)
|
21531
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
21532
|
+
@input_parameters = args[:input_parameters] if args.key?(:input_parameters)
|
21533
|
+
@tool = args[:tool] if args.key?(:tool)
|
21534
|
+
end
|
21535
|
+
end
|
21536
|
+
|
21537
|
+
# The result of calling a tool's action.
|
21538
|
+
class GoogleCloudDialogflowV2beta1ToolCallResult
|
21539
|
+
include Google::Apis::Core::Hashable
|
21540
|
+
|
21541
|
+
# Required. The name of the tool's action associated with this call.
|
21542
|
+
# Corresponds to the JSON property `action`
|
21543
|
+
# @return [String]
|
21544
|
+
attr_accessor :action
|
21545
|
+
|
21546
|
+
# Only populated if the response content is utf-8 encoded.
|
21547
|
+
# Corresponds to the JSON property `content`
|
21548
|
+
# @return [String]
|
21549
|
+
attr_accessor :content
|
21550
|
+
|
21551
|
+
# Output only. Create time of the tool call result.
|
21552
|
+
# Corresponds to the JSON property `createTime`
|
21553
|
+
# @return [String]
|
21554
|
+
attr_accessor :create_time
|
21555
|
+
|
21556
|
+
# An error produced by the tool call.
|
21557
|
+
# Corresponds to the JSON property `error`
|
21558
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCallResultError]
|
21559
|
+
attr_accessor :error
|
21560
|
+
|
21561
|
+
# Only populated if the response content is not utf-8 encoded. (by definition
|
21562
|
+
# byte fields are base64 encoded).
|
21563
|
+
# Corresponds to the JSON property `rawContent`
|
21564
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
21565
|
+
# @return [String]
|
21566
|
+
attr_accessor :raw_content
|
21567
|
+
|
21568
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
21569
|
+
# tools/`.
|
21570
|
+
# Corresponds to the JSON property `tool`
|
21571
|
+
# @return [String]
|
21572
|
+
attr_accessor :tool
|
21573
|
+
|
21574
|
+
def initialize(**args)
|
21575
|
+
update!(**args)
|
21576
|
+
end
|
21577
|
+
|
21578
|
+
# Update properties of this object
|
21579
|
+
def update!(**args)
|
21580
|
+
@action = args[:action] if args.key?(:action)
|
21581
|
+
@content = args[:content] if args.key?(:content)
|
21582
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
21583
|
+
@error = args[:error] if args.key?(:error)
|
21584
|
+
@raw_content = args[:raw_content] if args.key?(:raw_content)
|
21585
|
+
@tool = args[:tool] if args.key?(:tool)
|
21586
|
+
end
|
21587
|
+
end
|
21588
|
+
|
21589
|
+
# An error produced by the tool call.
|
21590
|
+
class GoogleCloudDialogflowV2beta1ToolCallResultError
|
21591
|
+
include Google::Apis::Core::Hashable
|
21592
|
+
|
21593
|
+
# Optional. The error message of the function.
|
21594
|
+
# Corresponds to the JSON property `message`
|
21595
|
+
# @return [String]
|
21596
|
+
attr_accessor :message
|
21597
|
+
|
21598
|
+
def initialize(**args)
|
21599
|
+
update!(**args)
|
21600
|
+
end
|
21601
|
+
|
21602
|
+
# Update properties of this object
|
21603
|
+
def update!(**args)
|
21604
|
+
@message = args[:message] if args.key?(:message)
|
21605
|
+
end
|
21606
|
+
end
|
21607
|
+
|
21188
21608
|
# The request message for Agents.TrainAgent.
|
21189
21609
|
class GoogleCloudDialogflowV2beta1TrainAgentRequest
|
21190
21610
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2beta1
|
18
18
|
# Version of the google-apis-dialogflow_v2beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.100.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 = "
|
25
|
+
REVISION = "20250414"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -574,6 +574,12 @@ module Google
|
|
574
574
|
include Google::Apis::Core::JsonObjectSupport
|
575
575
|
end
|
576
576
|
|
577
|
+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
|
+
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
581
|
+
end
|
582
|
+
|
577
583
|
class GoogleCloudDialogflowCxV3WebhookRequest
|
578
584
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
585
|
|
@@ -1192,6 +1198,12 @@ module Google
|
|
1192
1198
|
include Google::Apis::Core::JsonObjectSupport
|
1193
1199
|
end
|
1194
1200
|
|
1201
|
+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
|
1202
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1203
|
+
|
1204
|
+
include Google::Apis::Core::JsonObjectSupport
|
1205
|
+
end
|
1206
|
+
|
1195
1207
|
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
1196
1208
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1197
1209
|
|
@@ -1402,6 +1414,12 @@ module Google
|
|
1402
1414
|
include Google::Apis::Core::JsonObjectSupport
|
1403
1415
|
end
|
1404
1416
|
|
1417
|
+
class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
|
1418
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1419
|
+
|
1420
|
+
include Google::Apis::Core::JsonObjectSupport
|
1421
|
+
end
|
1422
|
+
|
1405
1423
|
class GoogleCloudDialogflowV2HumanAgentAssistantEvent
|
1406
1424
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1407
1425
|
|
@@ -1798,6 +1816,24 @@ module Google
|
|
1798
1816
|
include Google::Apis::Core::JsonObjectSupport
|
1799
1817
|
end
|
1800
1818
|
|
1819
|
+
class GoogleCloudDialogflowV2ToolCall
|
1820
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1821
|
+
|
1822
|
+
include Google::Apis::Core::JsonObjectSupport
|
1823
|
+
end
|
1824
|
+
|
1825
|
+
class GoogleCloudDialogflowV2ToolCallResult
|
1826
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1827
|
+
|
1828
|
+
include Google::Apis::Core::JsonObjectSupport
|
1829
|
+
end
|
1830
|
+
|
1831
|
+
class GoogleCloudDialogflowV2ToolCallResultError
|
1832
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1833
|
+
|
1834
|
+
include Google::Apis::Core::JsonObjectSupport
|
1835
|
+
end
|
1836
|
+
|
1801
1837
|
class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
|
1802
1838
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1803
1839
|
|
@@ -2098,6 +2134,12 @@ module Google
|
|
2098
2134
|
include Google::Apis::Core::JsonObjectSupport
|
2099
2135
|
end
|
2100
2136
|
|
2137
|
+
class GoogleCloudDialogflowV2beta1CustomPronunciationParams
|
2138
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2139
|
+
|
2140
|
+
include Google::Apis::Core::JsonObjectSupport
|
2141
|
+
end
|
2142
|
+
|
2101
2143
|
class GoogleCloudDialogflowV2beta1DetectIntentRequest
|
2102
2144
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2103
2145
|
|
@@ -2326,6 +2368,12 @@ module Google
|
|
2326
2368
|
include Google::Apis::Core::JsonObjectSupport
|
2327
2369
|
end
|
2328
2370
|
|
2371
|
+
class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
|
2372
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2373
|
+
|
2374
|
+
include Google::Apis::Core::JsonObjectSupport
|
2375
|
+
end
|
2376
|
+
|
2329
2377
|
class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig
|
2330
2378
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2331
2379
|
|
@@ -3400,6 +3448,24 @@ module Google
|
|
3400
3448
|
include Google::Apis::Core::JsonObjectSupport
|
3401
3449
|
end
|
3402
3450
|
|
3451
|
+
class GoogleCloudDialogflowV2beta1ToolCall
|
3452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3453
|
+
|
3454
|
+
include Google::Apis::Core::JsonObjectSupport
|
3455
|
+
end
|
3456
|
+
|
3457
|
+
class GoogleCloudDialogflowV2beta1ToolCallResult
|
3458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3459
|
+
|
3460
|
+
include Google::Apis::Core::JsonObjectSupport
|
3461
|
+
end
|
3462
|
+
|
3463
|
+
class GoogleCloudDialogflowV2beta1ToolCallResultError
|
3464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3465
|
+
|
3466
|
+
include Google::Apis::Core::JsonObjectSupport
|
3467
|
+
end
|
3468
|
+
|
3403
3469
|
class GoogleCloudDialogflowV2beta1TrainAgentRequest
|
3404
3470
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3405
3471
|
|
@@ -4392,6 +4458,9 @@ module Google
|
|
4392
4458
|
property :password, as: 'password'
|
4393
4459
|
property :request_body, as: 'requestBody'
|
4394
4460
|
hash :request_headers, as: 'requestHeaders'
|
4461
|
+
property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
|
4462
|
+
hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue::Representation
|
4463
|
+
|
4395
4464
|
property :service_agent_auth, as: 'serviceAgentAuth'
|
4396
4465
|
property :uri, as: 'uri'
|
4397
4466
|
property :username, as: 'username'
|
@@ -4405,10 +4474,18 @@ module Google
|
|
4405
4474
|
property :client_id, as: 'clientId'
|
4406
4475
|
property :client_secret, as: 'clientSecret'
|
4407
4476
|
collection :scopes, as: 'scopes'
|
4477
|
+
property :secret_version_for_client_secret, as: 'secretVersionForClientSecret'
|
4408
4478
|
property :token_endpoint, as: 'tokenEndpoint'
|
4409
4479
|
end
|
4410
4480
|
end
|
4411
4481
|
|
4482
|
+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue
|
4483
|
+
# @private
|
4484
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4485
|
+
property :secret_version, as: 'secretVersion'
|
4486
|
+
end
|
4487
|
+
end
|
4488
|
+
|
4412
4489
|
class GoogleCloudDialogflowCxV3WebhookRequest
|
4413
4490
|
# @private
|
4414
4491
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5424,6 +5501,9 @@ module Google
|
|
5424
5501
|
property :password, as: 'password'
|
5425
5502
|
property :request_body, as: 'requestBody'
|
5426
5503
|
hash :request_headers, as: 'requestHeaders'
|
5504
|
+
property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
|
5505
|
+
hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue::Representation
|
5506
|
+
|
5427
5507
|
property :service_agent_auth, as: 'serviceAgentAuth'
|
5428
5508
|
property :uri, as: 'uri'
|
5429
5509
|
property :username, as: 'username'
|
@@ -5437,10 +5517,18 @@ module Google
|
|
5437
5517
|
property :client_id, as: 'clientId'
|
5438
5518
|
property :client_secret, as: 'clientSecret'
|
5439
5519
|
collection :scopes, as: 'scopes'
|
5520
|
+
property :secret_version_for_client_secret, as: 'secretVersionForClientSecret'
|
5440
5521
|
property :token_endpoint, as: 'tokenEndpoint'
|
5441
5522
|
end
|
5442
5523
|
end
|
5443
5524
|
|
5525
|
+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
|
5526
|
+
# @private
|
5527
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5528
|
+
property :secret_version, as: 'secretVersion'
|
5529
|
+
end
|
5530
|
+
end
|
5531
|
+
|
5444
5532
|
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
5445
5533
|
# @private
|
5446
5534
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5786,6 +5874,18 @@ module Google
|
|
5786
5874
|
|
5787
5875
|
property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SummarySuggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SummarySuggestion::Representation
|
5788
5876
|
|
5877
|
+
collection :tool_call_info, as: 'toolCallInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo::Representation
|
5878
|
+
|
5879
|
+
end
|
5880
|
+
end
|
5881
|
+
|
5882
|
+
class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
|
5883
|
+
# @private
|
5884
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5885
|
+
property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ToolCall, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ToolCall::Representation
|
5886
|
+
|
5887
|
+
property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ToolCallResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ToolCallResult::Representation
|
5888
|
+
|
5789
5889
|
end
|
5790
5890
|
end
|
5791
5891
|
|
@@ -6484,6 +6584,36 @@ module Google
|
|
6484
6584
|
end
|
6485
6585
|
end
|
6486
6586
|
|
6587
|
+
class GoogleCloudDialogflowV2ToolCall
|
6588
|
+
# @private
|
6589
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6590
|
+
property :action, as: 'action'
|
6591
|
+
property :create_time, as: 'createTime'
|
6592
|
+
hash :input_parameters, as: 'inputParameters'
|
6593
|
+
property :tool, as: 'tool'
|
6594
|
+
end
|
6595
|
+
end
|
6596
|
+
|
6597
|
+
class GoogleCloudDialogflowV2ToolCallResult
|
6598
|
+
# @private
|
6599
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6600
|
+
property :action, as: 'action'
|
6601
|
+
property :content, as: 'content'
|
6602
|
+
property :create_time, as: 'createTime'
|
6603
|
+
property :error, as: 'error', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ToolCallResultError, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ToolCallResultError::Representation
|
6604
|
+
|
6605
|
+
property :raw_content, :base64 => true, as: 'rawContent'
|
6606
|
+
property :tool, as: 'tool'
|
6607
|
+
end
|
6608
|
+
end
|
6609
|
+
|
6610
|
+
class GoogleCloudDialogflowV2ToolCallResultError
|
6611
|
+
# @private
|
6612
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6613
|
+
property :message, as: 'message'
|
6614
|
+
end
|
6615
|
+
end
|
6616
|
+
|
6487
6617
|
class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
|
6488
6618
|
# @private
|
6489
6619
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7035,6 +7165,15 @@ module Google
|
|
7035
7165
|
end
|
7036
7166
|
end
|
7037
7167
|
|
7168
|
+
class GoogleCloudDialogflowV2beta1CustomPronunciationParams
|
7169
|
+
# @private
|
7170
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7171
|
+
property :phonetic_encoding, as: 'phoneticEncoding'
|
7172
|
+
property :phrase, as: 'phrase'
|
7173
|
+
property :pronunciation, as: 'pronunciation'
|
7174
|
+
end
|
7175
|
+
end
|
7176
|
+
|
7038
7177
|
class GoogleCloudDialogflowV2beta1DetectIntentRequest
|
7039
7178
|
# @private
|
7040
7179
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7405,6 +7544,7 @@ module Google
|
|
7405
7544
|
property :published_model, as: 'publishedModel'
|
7406
7545
|
property :summarization_context, as: 'summarizationContext', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationContext, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationContext::Representation
|
7407
7546
|
|
7547
|
+
collection :tools, as: 'tools'
|
7408
7548
|
property :trigger_event, as: 'triggerEvent'
|
7409
7549
|
property :update_time, as: 'updateTime'
|
7410
7550
|
end
|
@@ -7417,6 +7557,18 @@ module Google
|
|
7417
7557
|
|
7418
7558
|
property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestion::Representation
|
7419
7559
|
|
7560
|
+
collection :tool_call_info, as: 'toolCallInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo::Representation
|
7561
|
+
|
7562
|
+
end
|
7563
|
+
end
|
7564
|
+
|
7565
|
+
class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
|
7566
|
+
# @private
|
7567
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7568
|
+
property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCall, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCall::Representation
|
7569
|
+
|
7570
|
+
property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCallResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCallResult::Representation
|
7571
|
+
|
7420
7572
|
end
|
7421
7573
|
end
|
7422
7574
|
|
@@ -9207,6 +9359,8 @@ module Google
|
|
9207
9359
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9208
9360
|
collection :effects_profile_id, as: 'effectsProfileId'
|
9209
9361
|
property :pitch, as: 'pitch'
|
9362
|
+
collection :pronunciations, as: 'pronunciations', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CustomPronunciationParams, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CustomPronunciationParams::Representation
|
9363
|
+
|
9210
9364
|
property :speaking_rate, as: 'speakingRate'
|
9211
9365
|
property :voice, as: 'voice', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1VoiceSelectionParams, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1VoiceSelectionParams::Representation
|
9212
9366
|
|
@@ -9240,6 +9394,36 @@ module Google
|
|
9240
9394
|
end
|
9241
9395
|
end
|
9242
9396
|
|
9397
|
+
class GoogleCloudDialogflowV2beta1ToolCall
|
9398
|
+
# @private
|
9399
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9400
|
+
property :action, as: 'action'
|
9401
|
+
property :create_time, as: 'createTime'
|
9402
|
+
hash :input_parameters, as: 'inputParameters'
|
9403
|
+
property :tool, as: 'tool'
|
9404
|
+
end
|
9405
|
+
end
|
9406
|
+
|
9407
|
+
class GoogleCloudDialogflowV2beta1ToolCallResult
|
9408
|
+
# @private
|
9409
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9410
|
+
property :action, as: 'action'
|
9411
|
+
property :content, as: 'content'
|
9412
|
+
property :create_time, as: 'createTime'
|
9413
|
+
property :error, as: 'error', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCallResultError, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCallResultError::Representation
|
9414
|
+
|
9415
|
+
property :raw_content, :base64 => true, as: 'rawContent'
|
9416
|
+
property :tool, as: 'tool'
|
9417
|
+
end
|
9418
|
+
end
|
9419
|
+
|
9420
|
+
class GoogleCloudDialogflowV2beta1ToolCallResultError
|
9421
|
+
# @private
|
9422
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9423
|
+
property :message, as: 'message'
|
9424
|
+
end
|
9425
|
+
end
|
9426
|
+
|
9243
9427
|
class GoogleCloudDialogflowV2beta1TrainAgentRequest
|
9244
9428
|
# @private
|
9245
9429
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4922,6 +4922,9 @@ module Google
|
|
4922
4922
|
# Lists information about the supported locations for this service.
|
4923
4923
|
# @param [String] name
|
4924
4924
|
# The resource that owns the locations collection, if applicable.
|
4925
|
+
# @param [Array<String>, String] extra_location_types
|
4926
|
+
# Optional. A list of extra location types that should be used as conditions for
|
4927
|
+
# controlling the visibility of the locations.
|
4925
4928
|
# @param [String] filter
|
4926
4929
|
# A filter to narrow down results to a preferred subset. The filtering language
|
4927
4930
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -4949,11 +4952,12 @@ module Google
|
|
4949
4952
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4950
4953
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4951
4954
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4952
|
-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4955
|
+
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)
|
4953
4956
|
command = make_simple_command(:get, 'v2beta1/{+name}/locations', options)
|
4954
4957
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudLocationListLocationsResponse::Representation
|
4955
4958
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudLocationListLocationsResponse
|
4956
4959
|
command.params['name'] = name unless name.nil?
|
4960
|
+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
|
4957
4961
|
command.query['filter'] = filter unless filter.nil?
|
4958
4962
|
command.query['pageSize'] = page_size unless page_size.nil?
|
4959
4963
|
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_v2beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.100.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-04-20 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_v2beta1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.100.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|