google-apis-dialogflow_v2beta1 0.98.0 → 0.99.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 +4 -0
- data/lib/google/apis/dialogflow_v2beta1/classes.rb +381 -0
- data/lib/google/apis/dialogflow_v2beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2beta1/representations.rb +167 -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: 6f45acee2922e71674be8a126640e6cd692dc3bc3fbedc751b5b06abc7bb2e1b
|
4
|
+
data.tar.gz: eeaf15ca7496515f891829c67a2b24379ff9b6ecce5e8fc358d5a7d449acaf91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a3c17a6221a9371018ebbfd2c0a7e8295c7fa7c053c30af57adda9cfce2c4d435a9971340f1b07fb1842a23e3ebd035be37de79dca25a658ac8da065d262e6d
|
7
|
+
data.tar.gz: 6e24e8f8ceca96c5f46d4b5d22f098fe74d0809b49a5b1429c0ab0d851fcf01f4ffb372d421f4be17832ace97d5803243f814c3aef30f5c7ace59d686f38afc2
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -14507,6 +14741,12 @@ module Google
|
|
14507
14741
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationContext]
|
14508
14742
|
attr_accessor :summarization_context
|
14509
14743
|
|
14744
|
+
# Optional. Resource names of the tools that the generator can choose from.
|
14745
|
+
# Format: `projects//locations//tools/`.
|
14746
|
+
# Corresponds to the JSON property `tools`
|
14747
|
+
# @return [Array<String>]
|
14748
|
+
attr_accessor :tools
|
14749
|
+
|
14510
14750
|
# Optional. The trigger event of the generator. It defines when the generator is
|
14511
14751
|
# triggered in a conversation.
|
14512
14752
|
# Corresponds to the JSON property `triggerEvent`
|
@@ -14531,6 +14771,7 @@ module Google
|
|
14531
14771
|
@name = args[:name] if args.key?(:name)
|
14532
14772
|
@published_model = args[:published_model] if args.key?(:published_model)
|
14533
14773
|
@summarization_context = args[:summarization_context] if args.key?(:summarization_context)
|
14774
|
+
@tools = args[:tools] if args.key?(:tools)
|
14534
14775
|
@trigger_event = args[:trigger_event] if args.key?(:trigger_event)
|
14535
14776
|
@update_time = args[:update_time] if args.key?(:update_time)
|
14536
14777
|
end
|
@@ -14550,6 +14791,11 @@ module Google
|
|
14550
14791
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestion]
|
14551
14792
|
attr_accessor :summary_suggestion
|
14552
14793
|
|
14794
|
+
# Optional. List of request and response for tool calls executed.
|
14795
|
+
# Corresponds to the JSON property `toolCallInfo`
|
14796
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo>]
|
14797
|
+
attr_accessor :tool_call_info
|
14798
|
+
|
14553
14799
|
def initialize(**args)
|
14554
14800
|
update!(**args)
|
14555
14801
|
end
|
@@ -14558,6 +14804,32 @@ module Google
|
|
14558
14804
|
def update!(**args)
|
14559
14805
|
@free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
|
14560
14806
|
@summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
|
14807
|
+
@tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
|
14808
|
+
end
|
14809
|
+
end
|
14810
|
+
|
14811
|
+
# Request and response for a tool call.
|
14812
|
+
class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
|
14813
|
+
include Google::Apis::Core::Hashable
|
14814
|
+
|
14815
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
14816
|
+
# Corresponds to the JSON property `toolCall`
|
14817
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCall]
|
14818
|
+
attr_accessor :tool_call
|
14819
|
+
|
14820
|
+
# The result of calling a tool's action.
|
14821
|
+
# Corresponds to the JSON property `toolCallResult`
|
14822
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCallResult]
|
14823
|
+
attr_accessor :tool_call_result
|
14824
|
+
|
14825
|
+
def initialize(**args)
|
14826
|
+
update!(**args)
|
14827
|
+
end
|
14828
|
+
|
14829
|
+
# Update properties of this object
|
14830
|
+
def update!(**args)
|
14831
|
+
@tool_call = args[:tool_call] if args.key?(:tool_call)
|
14832
|
+
@tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
|
14561
14833
|
end
|
14562
14834
|
end
|
14563
14835
|
|
@@ -21185,6 +21457,115 @@ module Google
|
|
21185
21457
|
end
|
21186
21458
|
end
|
21187
21459
|
|
21460
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
21461
|
+
class GoogleCloudDialogflowV2beta1ToolCall
|
21462
|
+
include Google::Apis::Core::Hashable
|
21463
|
+
|
21464
|
+
# Required. The name of the tool's action associated with this call.
|
21465
|
+
# Corresponds to the JSON property `action`
|
21466
|
+
# @return [String]
|
21467
|
+
attr_accessor :action
|
21468
|
+
|
21469
|
+
# Output only. Create time of the tool call.
|
21470
|
+
# Corresponds to the JSON property `createTime`
|
21471
|
+
# @return [String]
|
21472
|
+
attr_accessor :create_time
|
21473
|
+
|
21474
|
+
# Optional. The action's input parameters.
|
21475
|
+
# Corresponds to the JSON property `inputParameters`
|
21476
|
+
# @return [Hash<String,Object>]
|
21477
|
+
attr_accessor :input_parameters
|
21478
|
+
|
21479
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
21480
|
+
# tools/`.
|
21481
|
+
# Corresponds to the JSON property `tool`
|
21482
|
+
# @return [String]
|
21483
|
+
attr_accessor :tool
|
21484
|
+
|
21485
|
+
def initialize(**args)
|
21486
|
+
update!(**args)
|
21487
|
+
end
|
21488
|
+
|
21489
|
+
# Update properties of this object
|
21490
|
+
def update!(**args)
|
21491
|
+
@action = args[:action] if args.key?(:action)
|
21492
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
21493
|
+
@input_parameters = args[:input_parameters] if args.key?(:input_parameters)
|
21494
|
+
@tool = args[:tool] if args.key?(:tool)
|
21495
|
+
end
|
21496
|
+
end
|
21497
|
+
|
21498
|
+
# The result of calling a tool's action.
|
21499
|
+
class GoogleCloudDialogflowV2beta1ToolCallResult
|
21500
|
+
include Google::Apis::Core::Hashable
|
21501
|
+
|
21502
|
+
# Required. The name of the tool's action associated with this call.
|
21503
|
+
# Corresponds to the JSON property `action`
|
21504
|
+
# @return [String]
|
21505
|
+
attr_accessor :action
|
21506
|
+
|
21507
|
+
# Only populated if the response content is utf-8 encoded.
|
21508
|
+
# Corresponds to the JSON property `content`
|
21509
|
+
# @return [String]
|
21510
|
+
attr_accessor :content
|
21511
|
+
|
21512
|
+
# Output only. Create time of the tool call result.
|
21513
|
+
# Corresponds to the JSON property `createTime`
|
21514
|
+
# @return [String]
|
21515
|
+
attr_accessor :create_time
|
21516
|
+
|
21517
|
+
# An error produced by the tool call.
|
21518
|
+
# Corresponds to the JSON property `error`
|
21519
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCallResultError]
|
21520
|
+
attr_accessor :error
|
21521
|
+
|
21522
|
+
# Only populated if the response content is not utf-8 encoded. (by definition
|
21523
|
+
# byte fields are base64 encoded).
|
21524
|
+
# Corresponds to the JSON property `rawContent`
|
21525
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
21526
|
+
# @return [String]
|
21527
|
+
attr_accessor :raw_content
|
21528
|
+
|
21529
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
21530
|
+
# tools/`.
|
21531
|
+
# Corresponds to the JSON property `tool`
|
21532
|
+
# @return [String]
|
21533
|
+
attr_accessor :tool
|
21534
|
+
|
21535
|
+
def initialize(**args)
|
21536
|
+
update!(**args)
|
21537
|
+
end
|
21538
|
+
|
21539
|
+
# Update properties of this object
|
21540
|
+
def update!(**args)
|
21541
|
+
@action = args[:action] if args.key?(:action)
|
21542
|
+
@content = args[:content] if args.key?(:content)
|
21543
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
21544
|
+
@error = args[:error] if args.key?(:error)
|
21545
|
+
@raw_content = args[:raw_content] if args.key?(:raw_content)
|
21546
|
+
@tool = args[:tool] if args.key?(:tool)
|
21547
|
+
end
|
21548
|
+
end
|
21549
|
+
|
21550
|
+
# An error produced by the tool call.
|
21551
|
+
class GoogleCloudDialogflowV2beta1ToolCallResultError
|
21552
|
+
include Google::Apis::Core::Hashable
|
21553
|
+
|
21554
|
+
# Optional. The error message of the function.
|
21555
|
+
# Corresponds to the JSON property `message`
|
21556
|
+
# @return [String]
|
21557
|
+
attr_accessor :message
|
21558
|
+
|
21559
|
+
def initialize(**args)
|
21560
|
+
update!(**args)
|
21561
|
+
end
|
21562
|
+
|
21563
|
+
# Update properties of this object
|
21564
|
+
def update!(**args)
|
21565
|
+
@message = args[:message] if args.key?(:message)
|
21566
|
+
end
|
21567
|
+
end
|
21568
|
+
|
21188
21569
|
# The request message for Agents.TrainAgent.
|
21189
21570
|
class GoogleCloudDialogflowV2beta1TrainAgentRequest
|
21190
21571
|
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.99.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 = "20250325"
|
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
|
|
@@ -2326,6 +2362,12 @@ module Google
|
|
2326
2362
|
include Google::Apis::Core::JsonObjectSupport
|
2327
2363
|
end
|
2328
2364
|
|
2365
|
+
class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
|
2366
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2367
|
+
|
2368
|
+
include Google::Apis::Core::JsonObjectSupport
|
2369
|
+
end
|
2370
|
+
|
2329
2371
|
class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig
|
2330
2372
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2331
2373
|
|
@@ -3400,6 +3442,24 @@ module Google
|
|
3400
3442
|
include Google::Apis::Core::JsonObjectSupport
|
3401
3443
|
end
|
3402
3444
|
|
3445
|
+
class GoogleCloudDialogflowV2beta1ToolCall
|
3446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3447
|
+
|
3448
|
+
include Google::Apis::Core::JsonObjectSupport
|
3449
|
+
end
|
3450
|
+
|
3451
|
+
class GoogleCloudDialogflowV2beta1ToolCallResult
|
3452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3453
|
+
|
3454
|
+
include Google::Apis::Core::JsonObjectSupport
|
3455
|
+
end
|
3456
|
+
|
3457
|
+
class GoogleCloudDialogflowV2beta1ToolCallResultError
|
3458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3459
|
+
|
3460
|
+
include Google::Apis::Core::JsonObjectSupport
|
3461
|
+
end
|
3462
|
+
|
3403
3463
|
class GoogleCloudDialogflowV2beta1TrainAgentRequest
|
3404
3464
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3405
3465
|
|
@@ -4392,6 +4452,9 @@ module Google
|
|
4392
4452
|
property :password, as: 'password'
|
4393
4453
|
property :request_body, as: 'requestBody'
|
4394
4454
|
hash :request_headers, as: 'requestHeaders'
|
4455
|
+
property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
|
4456
|
+
hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue::Representation
|
4457
|
+
|
4395
4458
|
property :service_agent_auth, as: 'serviceAgentAuth'
|
4396
4459
|
property :uri, as: 'uri'
|
4397
4460
|
property :username, as: 'username'
|
@@ -4405,10 +4468,18 @@ module Google
|
|
4405
4468
|
property :client_id, as: 'clientId'
|
4406
4469
|
property :client_secret, as: 'clientSecret'
|
4407
4470
|
collection :scopes, as: 'scopes'
|
4471
|
+
property :secret_version_for_client_secret, as: 'secretVersionForClientSecret'
|
4408
4472
|
property :token_endpoint, as: 'tokenEndpoint'
|
4409
4473
|
end
|
4410
4474
|
end
|
4411
4475
|
|
4476
|
+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue
|
4477
|
+
# @private
|
4478
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4479
|
+
property :secret_version, as: 'secretVersion'
|
4480
|
+
end
|
4481
|
+
end
|
4482
|
+
|
4412
4483
|
class GoogleCloudDialogflowCxV3WebhookRequest
|
4413
4484
|
# @private
|
4414
4485
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5424,6 +5495,9 @@ module Google
|
|
5424
5495
|
property :password, as: 'password'
|
5425
5496
|
property :request_body, as: 'requestBody'
|
5426
5497
|
hash :request_headers, as: 'requestHeaders'
|
5498
|
+
property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
|
5499
|
+
hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue::Representation
|
5500
|
+
|
5427
5501
|
property :service_agent_auth, as: 'serviceAgentAuth'
|
5428
5502
|
property :uri, as: 'uri'
|
5429
5503
|
property :username, as: 'username'
|
@@ -5437,10 +5511,18 @@ module Google
|
|
5437
5511
|
property :client_id, as: 'clientId'
|
5438
5512
|
property :client_secret, as: 'clientSecret'
|
5439
5513
|
collection :scopes, as: 'scopes'
|
5514
|
+
property :secret_version_for_client_secret, as: 'secretVersionForClientSecret'
|
5440
5515
|
property :token_endpoint, as: 'tokenEndpoint'
|
5441
5516
|
end
|
5442
5517
|
end
|
5443
5518
|
|
5519
|
+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
|
5520
|
+
# @private
|
5521
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5522
|
+
property :secret_version, as: 'secretVersion'
|
5523
|
+
end
|
5524
|
+
end
|
5525
|
+
|
5444
5526
|
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
5445
5527
|
# @private
|
5446
5528
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5786,6 +5868,18 @@ module Google
|
|
5786
5868
|
|
5787
5869
|
property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SummarySuggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SummarySuggestion::Representation
|
5788
5870
|
|
5871
|
+
collection :tool_call_info, as: 'toolCallInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo::Representation
|
5872
|
+
|
5873
|
+
end
|
5874
|
+
end
|
5875
|
+
|
5876
|
+
class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
|
5877
|
+
# @private
|
5878
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5879
|
+
property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ToolCall, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ToolCall::Representation
|
5880
|
+
|
5881
|
+
property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ToolCallResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ToolCallResult::Representation
|
5882
|
+
|
5789
5883
|
end
|
5790
5884
|
end
|
5791
5885
|
|
@@ -6484,6 +6578,36 @@ module Google
|
|
6484
6578
|
end
|
6485
6579
|
end
|
6486
6580
|
|
6581
|
+
class GoogleCloudDialogflowV2ToolCall
|
6582
|
+
# @private
|
6583
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6584
|
+
property :action, as: 'action'
|
6585
|
+
property :create_time, as: 'createTime'
|
6586
|
+
hash :input_parameters, as: 'inputParameters'
|
6587
|
+
property :tool, as: 'tool'
|
6588
|
+
end
|
6589
|
+
end
|
6590
|
+
|
6591
|
+
class GoogleCloudDialogflowV2ToolCallResult
|
6592
|
+
# @private
|
6593
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6594
|
+
property :action, as: 'action'
|
6595
|
+
property :content, as: 'content'
|
6596
|
+
property :create_time, as: 'createTime'
|
6597
|
+
property :error, as: 'error', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ToolCallResultError, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ToolCallResultError::Representation
|
6598
|
+
|
6599
|
+
property :raw_content, :base64 => true, as: 'rawContent'
|
6600
|
+
property :tool, as: 'tool'
|
6601
|
+
end
|
6602
|
+
end
|
6603
|
+
|
6604
|
+
class GoogleCloudDialogflowV2ToolCallResultError
|
6605
|
+
# @private
|
6606
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6607
|
+
property :message, as: 'message'
|
6608
|
+
end
|
6609
|
+
end
|
6610
|
+
|
6487
6611
|
class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
|
6488
6612
|
# @private
|
6489
6613
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7405,6 +7529,7 @@ module Google
|
|
7405
7529
|
property :published_model, as: 'publishedModel'
|
7406
7530
|
property :summarization_context, as: 'summarizationContext', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationContext, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationContext::Representation
|
7407
7531
|
|
7532
|
+
collection :tools, as: 'tools'
|
7408
7533
|
property :trigger_event, as: 'triggerEvent'
|
7409
7534
|
property :update_time, as: 'updateTime'
|
7410
7535
|
end
|
@@ -7417,6 +7542,18 @@ module Google
|
|
7417
7542
|
|
7418
7543
|
property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestion::Representation
|
7419
7544
|
|
7545
|
+
collection :tool_call_info, as: 'toolCallInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo::Representation
|
7546
|
+
|
7547
|
+
end
|
7548
|
+
end
|
7549
|
+
|
7550
|
+
class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
|
7551
|
+
# @private
|
7552
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7553
|
+
property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCall, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCall::Representation
|
7554
|
+
|
7555
|
+
property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCallResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCallResult::Representation
|
7556
|
+
|
7420
7557
|
end
|
7421
7558
|
end
|
7422
7559
|
|
@@ -9240,6 +9377,36 @@ module Google
|
|
9240
9377
|
end
|
9241
9378
|
end
|
9242
9379
|
|
9380
|
+
class GoogleCloudDialogflowV2beta1ToolCall
|
9381
|
+
# @private
|
9382
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9383
|
+
property :action, as: 'action'
|
9384
|
+
property :create_time, as: 'createTime'
|
9385
|
+
hash :input_parameters, as: 'inputParameters'
|
9386
|
+
property :tool, as: 'tool'
|
9387
|
+
end
|
9388
|
+
end
|
9389
|
+
|
9390
|
+
class GoogleCloudDialogflowV2beta1ToolCallResult
|
9391
|
+
# @private
|
9392
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9393
|
+
property :action, as: 'action'
|
9394
|
+
property :content, as: 'content'
|
9395
|
+
property :create_time, as: 'createTime'
|
9396
|
+
property :error, as: 'error', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCallResultError, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCallResultError::Representation
|
9397
|
+
|
9398
|
+
property :raw_content, :base64 => true, as: 'rawContent'
|
9399
|
+
property :tool, as: 'tool'
|
9400
|
+
end
|
9401
|
+
end
|
9402
|
+
|
9403
|
+
class GoogleCloudDialogflowV2beta1ToolCallResultError
|
9404
|
+
# @private
|
9405
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9406
|
+
property :message, as: 'message'
|
9407
|
+
end
|
9408
|
+
end
|
9409
|
+
|
9243
9410
|
class GoogleCloudDialogflowV2beta1TrainAgentRequest
|
9244
9411
|
# @private
|
9245
9412
|
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.99.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-30 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.99.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:
|