google-apis-dialogflow_v2 0.100.0 → 0.101.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25edac1a70d2cd765adfdda496396b535d92ec5caae15eaa543afb197348f8dc
|
4
|
+
data.tar.gz: 990a566a579f89bdcb9559faa90b70b96b4bbd475a3f466e014eef1278b0645e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cad2790c18df2fe1d3a92ce603f59a9de308c137304786de256c4e82dc95a4abc4ce14323736c8b55f7fd3a7485c8835b407cfd46b4b17ce5ebae2c9421db469
|
7
|
+
data.tar.gz: 4e9ed123401cadc2e9490ac1766bdd3b7b0b1ec09ef153b5457ef7858457cee6250785dda751414874da83d9f2b6479168ac39d1a8b61cc8102da4a1d315a9e2
|
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::DialogflowV2::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::DialogflowV2::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
|
@@ -11133,6 +11227,12 @@ module Google
|
|
11133
11227
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationContext]
|
11134
11228
|
attr_accessor :summarization_context
|
11135
11229
|
|
11230
|
+
# Optional. Resource names of the tools that the generator can choose from.
|
11231
|
+
# Format: `projects//locations//tools/`.
|
11232
|
+
# Corresponds to the JSON property `tools`
|
11233
|
+
# @return [Array<String>]
|
11234
|
+
attr_accessor :tools
|
11235
|
+
|
11136
11236
|
# Optional. The trigger event of the generator. It defines when the generator is
|
11137
11237
|
# triggered in a conversation.
|
11138
11238
|
# Corresponds to the JSON property `triggerEvent`
|
@@ -11157,6 +11257,7 @@ module Google
|
|
11157
11257
|
@name = args[:name] if args.key?(:name)
|
11158
11258
|
@published_model = args[:published_model] if args.key?(:published_model)
|
11159
11259
|
@summarization_context = args[:summarization_context] if args.key?(:summarization_context)
|
11260
|
+
@tools = args[:tools] if args.key?(:tools)
|
11160
11261
|
@trigger_event = args[:trigger_event] if args.key?(:trigger_event)
|
11161
11262
|
@update_time = args[:update_time] if args.key?(:update_time)
|
11162
11263
|
end
|
@@ -11176,6 +11277,11 @@ module Google
|
|
11176
11277
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarySuggestion]
|
11177
11278
|
attr_accessor :summary_suggestion
|
11178
11279
|
|
11280
|
+
# Optional. List of request and response for tool calls executed.
|
11281
|
+
# Corresponds to the JSON property `toolCallInfo`
|
11282
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo>]
|
11283
|
+
attr_accessor :tool_call_info
|
11284
|
+
|
11179
11285
|
def initialize(**args)
|
11180
11286
|
update!(**args)
|
11181
11287
|
end
|
@@ -11184,6 +11290,32 @@ module Google
|
|
11184
11290
|
def update!(**args)
|
11185
11291
|
@free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
|
11186
11292
|
@summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
|
11293
|
+
@tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
|
11294
|
+
end
|
11295
|
+
end
|
11296
|
+
|
11297
|
+
# Request and response for a tool call.
|
11298
|
+
class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
|
11299
|
+
include Google::Apis::Core::Hashable
|
11300
|
+
|
11301
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
11302
|
+
# Corresponds to the JSON property `toolCall`
|
11303
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCall]
|
11304
|
+
attr_accessor :tool_call
|
11305
|
+
|
11306
|
+
# The result of calling a tool's action.
|
11307
|
+
# Corresponds to the JSON property `toolCallResult`
|
11308
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCallResult]
|
11309
|
+
attr_accessor :tool_call_result
|
11310
|
+
|
11311
|
+
def initialize(**args)
|
11312
|
+
update!(**args)
|
11313
|
+
end
|
11314
|
+
|
11315
|
+
# Update properties of this object
|
11316
|
+
def update!(**args)
|
11317
|
+
@tool_call = args[:tool_call] if args.key?(:tool_call)
|
11318
|
+
@tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
|
11187
11319
|
end
|
11188
11320
|
end
|
11189
11321
|
|
@@ -16802,6 +16934,115 @@ module Google
|
|
16802
16934
|
end
|
16803
16935
|
end
|
16804
16936
|
|
16937
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
16938
|
+
class GoogleCloudDialogflowV2ToolCall
|
16939
|
+
include Google::Apis::Core::Hashable
|
16940
|
+
|
16941
|
+
# Required. The name of the tool's action associated with this call.
|
16942
|
+
# Corresponds to the JSON property `action`
|
16943
|
+
# @return [String]
|
16944
|
+
attr_accessor :action
|
16945
|
+
|
16946
|
+
# Output only. Create time of the tool call.
|
16947
|
+
# Corresponds to the JSON property `createTime`
|
16948
|
+
# @return [String]
|
16949
|
+
attr_accessor :create_time
|
16950
|
+
|
16951
|
+
# Optional. The action's input parameters.
|
16952
|
+
# Corresponds to the JSON property `inputParameters`
|
16953
|
+
# @return [Hash<String,Object>]
|
16954
|
+
attr_accessor :input_parameters
|
16955
|
+
|
16956
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
16957
|
+
# tools/`.
|
16958
|
+
# Corresponds to the JSON property `tool`
|
16959
|
+
# @return [String]
|
16960
|
+
attr_accessor :tool
|
16961
|
+
|
16962
|
+
def initialize(**args)
|
16963
|
+
update!(**args)
|
16964
|
+
end
|
16965
|
+
|
16966
|
+
# Update properties of this object
|
16967
|
+
def update!(**args)
|
16968
|
+
@action = args[:action] if args.key?(:action)
|
16969
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
16970
|
+
@input_parameters = args[:input_parameters] if args.key?(:input_parameters)
|
16971
|
+
@tool = args[:tool] if args.key?(:tool)
|
16972
|
+
end
|
16973
|
+
end
|
16974
|
+
|
16975
|
+
# The result of calling a tool's action.
|
16976
|
+
class GoogleCloudDialogflowV2ToolCallResult
|
16977
|
+
include Google::Apis::Core::Hashable
|
16978
|
+
|
16979
|
+
# Required. The name of the tool's action associated with this call.
|
16980
|
+
# Corresponds to the JSON property `action`
|
16981
|
+
# @return [String]
|
16982
|
+
attr_accessor :action
|
16983
|
+
|
16984
|
+
# Only populated if the response content is utf-8 encoded.
|
16985
|
+
# Corresponds to the JSON property `content`
|
16986
|
+
# @return [String]
|
16987
|
+
attr_accessor :content
|
16988
|
+
|
16989
|
+
# Output only. Create time of the tool call result.
|
16990
|
+
# Corresponds to the JSON property `createTime`
|
16991
|
+
# @return [String]
|
16992
|
+
attr_accessor :create_time
|
16993
|
+
|
16994
|
+
# An error produced by the tool call.
|
16995
|
+
# Corresponds to the JSON property `error`
|
16996
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCallResultError]
|
16997
|
+
attr_accessor :error
|
16998
|
+
|
16999
|
+
# Only populated if the response content is not utf-8 encoded. (by definition
|
17000
|
+
# byte fields are base64 encoded).
|
17001
|
+
# Corresponds to the JSON property `rawContent`
|
17002
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
17003
|
+
# @return [String]
|
17004
|
+
attr_accessor :raw_content
|
17005
|
+
|
17006
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
17007
|
+
# tools/`.
|
17008
|
+
# Corresponds to the JSON property `tool`
|
17009
|
+
# @return [String]
|
17010
|
+
attr_accessor :tool
|
17011
|
+
|
17012
|
+
def initialize(**args)
|
17013
|
+
update!(**args)
|
17014
|
+
end
|
17015
|
+
|
17016
|
+
# Update properties of this object
|
17017
|
+
def update!(**args)
|
17018
|
+
@action = args[:action] if args.key?(:action)
|
17019
|
+
@content = args[:content] if args.key?(:content)
|
17020
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
17021
|
+
@error = args[:error] if args.key?(:error)
|
17022
|
+
@raw_content = args[:raw_content] if args.key?(:raw_content)
|
17023
|
+
@tool = args[:tool] if args.key?(:tool)
|
17024
|
+
end
|
17025
|
+
end
|
17026
|
+
|
17027
|
+
# An error produced by the tool call.
|
17028
|
+
class GoogleCloudDialogflowV2ToolCallResultError
|
17029
|
+
include Google::Apis::Core::Hashable
|
17030
|
+
|
17031
|
+
# Optional. The error message of the function.
|
17032
|
+
# Corresponds to the JSON property `message`
|
17033
|
+
# @return [String]
|
17034
|
+
attr_accessor :message
|
17035
|
+
|
17036
|
+
def initialize(**args)
|
17037
|
+
update!(**args)
|
17038
|
+
end
|
17039
|
+
|
17040
|
+
# Update properties of this object
|
17041
|
+
def update!(**args)
|
17042
|
+
@message = args[:message] if args.key?(:message)
|
17043
|
+
end
|
17044
|
+
end
|
17045
|
+
|
16805
17046
|
# The request message for Agents.TrainAgent.
|
16806
17047
|
class GoogleCloudDialogflowV2TrainAgentRequest
|
16807
17048
|
include Google::Apis::Core::Hashable
|
@@ -17832,6 +18073,11 @@ module Google
|
|
17832
18073
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SummarySuggestion]
|
17833
18074
|
attr_accessor :summary_suggestion
|
17834
18075
|
|
18076
|
+
# Optional. List of request and response for tool calls executed.
|
18077
|
+
# Corresponds to the JSON property `toolCallInfo`
|
18078
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo>]
|
18079
|
+
attr_accessor :tool_call_info
|
18080
|
+
|
17835
18081
|
def initialize(**args)
|
17836
18082
|
update!(**args)
|
17837
18083
|
end
|
@@ -17840,6 +18086,32 @@ module Google
|
|
17840
18086
|
def update!(**args)
|
17841
18087
|
@free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
|
17842
18088
|
@summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
|
18089
|
+
@tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
|
18090
|
+
end
|
18091
|
+
end
|
18092
|
+
|
18093
|
+
# Request and response for a tool call.
|
18094
|
+
class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
|
18095
|
+
include Google::Apis::Core::Hashable
|
18096
|
+
|
18097
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
18098
|
+
# Corresponds to the JSON property `toolCall`
|
18099
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCall]
|
18100
|
+
attr_accessor :tool_call
|
18101
|
+
|
18102
|
+
# The result of calling a tool's action.
|
18103
|
+
# Corresponds to the JSON property `toolCallResult`
|
18104
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCallResult]
|
18105
|
+
attr_accessor :tool_call_result
|
18106
|
+
|
18107
|
+
def initialize(**args)
|
18108
|
+
update!(**args)
|
18109
|
+
end
|
18110
|
+
|
18111
|
+
# Update properties of this object
|
18112
|
+
def update!(**args)
|
18113
|
+
@tool_call = args[:tool_call] if args.key?(:tool_call)
|
18114
|
+
@tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
|
17843
18115
|
end
|
17844
18116
|
end
|
17845
18117
|
|
@@ -21113,6 +21385,115 @@ module Google
|
|
21113
21385
|
end
|
21114
21386
|
end
|
21115
21387
|
|
21388
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
21389
|
+
class GoogleCloudDialogflowV2beta1ToolCall
|
21390
|
+
include Google::Apis::Core::Hashable
|
21391
|
+
|
21392
|
+
# Required. The name of the tool's action associated with this call.
|
21393
|
+
# Corresponds to the JSON property `action`
|
21394
|
+
# @return [String]
|
21395
|
+
attr_accessor :action
|
21396
|
+
|
21397
|
+
# Output only. Create time of the tool call.
|
21398
|
+
# Corresponds to the JSON property `createTime`
|
21399
|
+
# @return [String]
|
21400
|
+
attr_accessor :create_time
|
21401
|
+
|
21402
|
+
# Optional. The action's input parameters.
|
21403
|
+
# Corresponds to the JSON property `inputParameters`
|
21404
|
+
# @return [Hash<String,Object>]
|
21405
|
+
attr_accessor :input_parameters
|
21406
|
+
|
21407
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
21408
|
+
# tools/`.
|
21409
|
+
# Corresponds to the JSON property `tool`
|
21410
|
+
# @return [String]
|
21411
|
+
attr_accessor :tool
|
21412
|
+
|
21413
|
+
def initialize(**args)
|
21414
|
+
update!(**args)
|
21415
|
+
end
|
21416
|
+
|
21417
|
+
# Update properties of this object
|
21418
|
+
def update!(**args)
|
21419
|
+
@action = args[:action] if args.key?(:action)
|
21420
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
21421
|
+
@input_parameters = args[:input_parameters] if args.key?(:input_parameters)
|
21422
|
+
@tool = args[:tool] if args.key?(:tool)
|
21423
|
+
end
|
21424
|
+
end
|
21425
|
+
|
21426
|
+
# The result of calling a tool's action.
|
21427
|
+
class GoogleCloudDialogflowV2beta1ToolCallResult
|
21428
|
+
include Google::Apis::Core::Hashable
|
21429
|
+
|
21430
|
+
# Required. The name of the tool's action associated with this call.
|
21431
|
+
# Corresponds to the JSON property `action`
|
21432
|
+
# @return [String]
|
21433
|
+
attr_accessor :action
|
21434
|
+
|
21435
|
+
# Only populated if the response content is utf-8 encoded.
|
21436
|
+
# Corresponds to the JSON property `content`
|
21437
|
+
# @return [String]
|
21438
|
+
attr_accessor :content
|
21439
|
+
|
21440
|
+
# Output only. Create time of the tool call result.
|
21441
|
+
# Corresponds to the JSON property `createTime`
|
21442
|
+
# @return [String]
|
21443
|
+
attr_accessor :create_time
|
21444
|
+
|
21445
|
+
# An error produced by the tool call.
|
21446
|
+
# Corresponds to the JSON property `error`
|
21447
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCallResultError]
|
21448
|
+
attr_accessor :error
|
21449
|
+
|
21450
|
+
# Only populated if the response content is not utf-8 encoded. (by definition
|
21451
|
+
# byte fields are base64 encoded).
|
21452
|
+
# Corresponds to the JSON property `rawContent`
|
21453
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
21454
|
+
# @return [String]
|
21455
|
+
attr_accessor :raw_content
|
21456
|
+
|
21457
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
21458
|
+
# tools/`.
|
21459
|
+
# Corresponds to the JSON property `tool`
|
21460
|
+
# @return [String]
|
21461
|
+
attr_accessor :tool
|
21462
|
+
|
21463
|
+
def initialize(**args)
|
21464
|
+
update!(**args)
|
21465
|
+
end
|
21466
|
+
|
21467
|
+
# Update properties of this object
|
21468
|
+
def update!(**args)
|
21469
|
+
@action = args[:action] if args.key?(:action)
|
21470
|
+
@content = args[:content] if args.key?(:content)
|
21471
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
21472
|
+
@error = args[:error] if args.key?(:error)
|
21473
|
+
@raw_content = args[:raw_content] if args.key?(:raw_content)
|
21474
|
+
@tool = args[:tool] if args.key?(:tool)
|
21475
|
+
end
|
21476
|
+
end
|
21477
|
+
|
21478
|
+
# An error produced by the tool call.
|
21479
|
+
class GoogleCloudDialogflowV2beta1ToolCallResultError
|
21480
|
+
include Google::Apis::Core::Hashable
|
21481
|
+
|
21482
|
+
# Optional. The error message of the function.
|
21483
|
+
# Corresponds to the JSON property `message`
|
21484
|
+
# @return [String]
|
21485
|
+
attr_accessor :message
|
21486
|
+
|
21487
|
+
def initialize(**args)
|
21488
|
+
update!(**args)
|
21489
|
+
end
|
21490
|
+
|
21491
|
+
# Update properties of this object
|
21492
|
+
def update!(**args)
|
21493
|
+
@message = args[:message] if args.key?(:message)
|
21494
|
+
end
|
21495
|
+
end
|
21496
|
+
|
21116
21497
|
# The request message for a webhook call.
|
21117
21498
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
21118
21499
|
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.
|
19
|
+
GEM_VERSION = "0.101.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
|
|
@@ -1798,6 +1810,12 @@ module Google
|
|
1798
1810
|
include Google::Apis::Core::JsonObjectSupport
|
1799
1811
|
end
|
1800
1812
|
|
1813
|
+
class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
|
1814
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1815
|
+
|
1816
|
+
include Google::Apis::Core::JsonObjectSupport
|
1817
|
+
end
|
1818
|
+
|
1801
1819
|
class GoogleCloudDialogflowV2HumanAgentAssistantConfig
|
1802
1820
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1803
1821
|
|
@@ -2728,6 +2746,24 @@ module Google
|
|
2728
2746
|
include Google::Apis::Core::JsonObjectSupport
|
2729
2747
|
end
|
2730
2748
|
|
2749
|
+
class GoogleCloudDialogflowV2ToolCall
|
2750
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2751
|
+
|
2752
|
+
include Google::Apis::Core::JsonObjectSupport
|
2753
|
+
end
|
2754
|
+
|
2755
|
+
class GoogleCloudDialogflowV2ToolCallResult
|
2756
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2757
|
+
|
2758
|
+
include Google::Apis::Core::JsonObjectSupport
|
2759
|
+
end
|
2760
|
+
|
2761
|
+
class GoogleCloudDialogflowV2ToolCallResultError
|
2762
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2763
|
+
|
2764
|
+
include Google::Apis::Core::JsonObjectSupport
|
2765
|
+
end
|
2766
|
+
|
2731
2767
|
class GoogleCloudDialogflowV2TrainAgentRequest
|
2732
2768
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2733
2769
|
|
@@ -2902,6 +2938,12 @@ module Google
|
|
2902
2938
|
include Google::Apis::Core::JsonObjectSupport
|
2903
2939
|
end
|
2904
2940
|
|
2941
|
+
class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
|
2942
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2943
|
+
|
2944
|
+
include Google::Apis::Core::JsonObjectSupport
|
2945
|
+
end
|
2946
|
+
|
2905
2947
|
class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
|
2906
2948
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2907
2949
|
|
@@ -3430,6 +3472,24 @@ module Google
|
|
3430
3472
|
include Google::Apis::Core::JsonObjectSupport
|
3431
3473
|
end
|
3432
3474
|
|
3475
|
+
class GoogleCloudDialogflowV2beta1ToolCall
|
3476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3477
|
+
|
3478
|
+
include Google::Apis::Core::JsonObjectSupport
|
3479
|
+
end
|
3480
|
+
|
3481
|
+
class GoogleCloudDialogflowV2beta1ToolCallResult
|
3482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3483
|
+
|
3484
|
+
include Google::Apis::Core::JsonObjectSupport
|
3485
|
+
end
|
3486
|
+
|
3487
|
+
class GoogleCloudDialogflowV2beta1ToolCallResultError
|
3488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3489
|
+
|
3490
|
+
include Google::Apis::Core::JsonObjectSupport
|
3491
|
+
end
|
3492
|
+
|
3433
3493
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
3434
3494
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3435
3495
|
|
@@ -4386,6 +4446,9 @@ module Google
|
|
4386
4446
|
property :password, as: 'password'
|
4387
4447
|
property :request_body, as: 'requestBody'
|
4388
4448
|
hash :request_headers, as: 'requestHeaders'
|
4449
|
+
property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
|
4450
|
+
hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue::Representation
|
4451
|
+
|
4389
4452
|
property :service_agent_auth, as: 'serviceAgentAuth'
|
4390
4453
|
property :uri, as: 'uri'
|
4391
4454
|
property :username, as: 'username'
|
@@ -4399,10 +4462,18 @@ module Google
|
|
4399
4462
|
property :client_id, as: 'clientId'
|
4400
4463
|
property :client_secret, as: 'clientSecret'
|
4401
4464
|
collection :scopes, as: 'scopes'
|
4465
|
+
property :secret_version_for_client_secret, as: 'secretVersionForClientSecret'
|
4402
4466
|
property :token_endpoint, as: 'tokenEndpoint'
|
4403
4467
|
end
|
4404
4468
|
end
|
4405
4469
|
|
4470
|
+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue
|
4471
|
+
# @private
|
4472
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4473
|
+
property :secret_version, as: 'secretVersion'
|
4474
|
+
end
|
4475
|
+
end
|
4476
|
+
|
4406
4477
|
class GoogleCloudDialogflowCxV3WebhookRequest
|
4407
4478
|
# @private
|
4408
4479
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5418,6 +5489,9 @@ module Google
|
|
5418
5489
|
property :password, as: 'password'
|
5419
5490
|
property :request_body, as: 'requestBody'
|
5420
5491
|
hash :request_headers, as: 'requestHeaders'
|
5492
|
+
property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
|
5493
|
+
hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue::Representation
|
5494
|
+
|
5421
5495
|
property :service_agent_auth, as: 'serviceAgentAuth'
|
5422
5496
|
property :uri, as: 'uri'
|
5423
5497
|
property :username, as: 'username'
|
@@ -5431,10 +5505,18 @@ module Google
|
|
5431
5505
|
property :client_id, as: 'clientId'
|
5432
5506
|
property :client_secret, as: 'clientSecret'
|
5433
5507
|
collection :scopes, as: 'scopes'
|
5508
|
+
property :secret_version_for_client_secret, as: 'secretVersionForClientSecret'
|
5434
5509
|
property :token_endpoint, as: 'tokenEndpoint'
|
5435
5510
|
end
|
5436
5511
|
end
|
5437
5512
|
|
5513
|
+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
|
5514
|
+
# @private
|
5515
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5516
|
+
property :secret_version, as: 'secretVersion'
|
5517
|
+
end
|
5518
|
+
end
|
5519
|
+
|
5438
5520
|
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
5439
5521
|
# @private
|
5440
5522
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6487,6 +6569,7 @@ module Google
|
|
6487
6569
|
property :published_model, as: 'publishedModel'
|
6488
6570
|
property :summarization_context, as: 'summarizationContext', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationContext, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationContext::Representation
|
6489
6571
|
|
6572
|
+
collection :tools, as: 'tools'
|
6490
6573
|
property :trigger_event, as: 'triggerEvent'
|
6491
6574
|
property :update_time, as: 'updateTime'
|
6492
6575
|
end
|
@@ -6499,6 +6582,18 @@ module Google
|
|
6499
6582
|
|
6500
6583
|
property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarySuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarySuggestion::Representation
|
6501
6584
|
|
6585
|
+
collection :tool_call_info, as: 'toolCallInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo::Representation
|
6586
|
+
|
6587
|
+
end
|
6588
|
+
end
|
6589
|
+
|
6590
|
+
class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
|
6591
|
+
# @private
|
6592
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6593
|
+
property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCall, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCall::Representation
|
6594
|
+
|
6595
|
+
property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCallResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCallResult::Representation
|
6596
|
+
|
6502
6597
|
end
|
6503
6598
|
end
|
6504
6599
|
|
@@ -8058,6 +8153,36 @@ module Google
|
|
8058
8153
|
end
|
8059
8154
|
end
|
8060
8155
|
|
8156
|
+
class GoogleCloudDialogflowV2ToolCall
|
8157
|
+
# @private
|
8158
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8159
|
+
property :action, as: 'action'
|
8160
|
+
property :create_time, as: 'createTime'
|
8161
|
+
hash :input_parameters, as: 'inputParameters'
|
8162
|
+
property :tool, as: 'tool'
|
8163
|
+
end
|
8164
|
+
end
|
8165
|
+
|
8166
|
+
class GoogleCloudDialogflowV2ToolCallResult
|
8167
|
+
# @private
|
8168
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8169
|
+
property :action, as: 'action'
|
8170
|
+
property :content, as: 'content'
|
8171
|
+
property :create_time, as: 'createTime'
|
8172
|
+
property :error, as: 'error', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCallResultError, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCallResultError::Representation
|
8173
|
+
|
8174
|
+
property :raw_content, :base64 => true, as: 'rawContent'
|
8175
|
+
property :tool, as: 'tool'
|
8176
|
+
end
|
8177
|
+
end
|
8178
|
+
|
8179
|
+
class GoogleCloudDialogflowV2ToolCallResultError
|
8180
|
+
# @private
|
8181
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8182
|
+
property :message, as: 'message'
|
8183
|
+
end
|
8184
|
+
end
|
8185
|
+
|
8061
8186
|
class GoogleCloudDialogflowV2TrainAgentRequest
|
8062
8187
|
# @private
|
8063
8188
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8329,6 +8454,18 @@ module Google
|
|
8329
8454
|
|
8330
8455
|
property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SummarySuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SummarySuggestion::Representation
|
8331
8456
|
|
8457
|
+
collection :tool_call_info, as: 'toolCallInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo::Representation
|
8458
|
+
|
8459
|
+
end
|
8460
|
+
end
|
8461
|
+
|
8462
|
+
class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
|
8463
|
+
# @private
|
8464
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8465
|
+
property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCall, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCall::Representation
|
8466
|
+
|
8467
|
+
property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCallResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCallResult::Representation
|
8468
|
+
|
8332
8469
|
end
|
8333
8470
|
end
|
8334
8471
|
|
@@ -9249,6 +9386,36 @@ module Google
|
|
9249
9386
|
end
|
9250
9387
|
end
|
9251
9388
|
|
9389
|
+
class GoogleCloudDialogflowV2beta1ToolCall
|
9390
|
+
# @private
|
9391
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9392
|
+
property :action, as: 'action'
|
9393
|
+
property :create_time, as: 'createTime'
|
9394
|
+
hash :input_parameters, as: 'inputParameters'
|
9395
|
+
property :tool, as: 'tool'
|
9396
|
+
end
|
9397
|
+
end
|
9398
|
+
|
9399
|
+
class GoogleCloudDialogflowV2beta1ToolCallResult
|
9400
|
+
# @private
|
9401
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9402
|
+
property :action, as: 'action'
|
9403
|
+
property :content, as: 'content'
|
9404
|
+
property :create_time, as: 'createTime'
|
9405
|
+
property :error, as: 'error', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCallResultError, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCallResultError::Representation
|
9406
|
+
|
9407
|
+
property :raw_content, :base64 => true, as: 'rawContent'
|
9408
|
+
property :tool, as: 'tool'
|
9409
|
+
end
|
9410
|
+
end
|
9411
|
+
|
9412
|
+
class GoogleCloudDialogflowV2beta1ToolCallResultError
|
9413
|
+
# @private
|
9414
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9415
|
+
property :message, as: 'message'
|
9416
|
+
end
|
9417
|
+
end
|
9418
|
+
|
9252
9419
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
9253
9420
|
# @private
|
9254
9421
|
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.
|
4
|
+
version: 0.101.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_v2/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.101.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:
|