google-apis-dialogflow_v3beta1 0.97.0 → 0.98.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: '088e195a5645b6ecaf529170a84370f5612698c03c42ea983b2b20480e5acb7c'
4
- data.tar.gz: 1948e42846435d696f255a7c01ecae238a7543d47287c389718a96a197e7c4f0
3
+ metadata.gz: 6a20fc91a0bfb72169faa7a89768e6cf302ca044e914024a2a331d5b67899b39
4
+ data.tar.gz: 7fb50de0659e02f0716e2771edac7118638c21d428236d22eef13cfac9f6d46f
5
5
  SHA512:
6
- metadata.gz: 36061448596c93033da8e389735c6c28a4d03e975c6b15635be32d702f64c3883a8611d815e87abf6a661e1ee3795656ee53196d9a5a7aa1750f9ae560fb5263
7
- data.tar.gz: da94f8c2dabc2d22cf513b2722b089e1bbb909ff6728c9aa05e704dcb3ae4ea047fd7fb7fc83569fb2bc5dae344efb95ba2e1fca5c9a1d2cf70771d17bcd3354
6
+ metadata.gz: 47bdc164dc178a6059eb8dac18e78dafdedc5aea9336b05b63942a8cfe2793ac5cf494c680321e53ecc40293779b420480aa54a4d601fa6889c54f21e9365a92
7
+ data.tar.gz: 2995d148b45411b0ebbf572f3d548c994dfa02e5a65733dcb1a16e1e8ef4bba2f9498d8deaae753ba63eceac43b817c5c08fdef0f6955aab4d1966ce7e2a1b53
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
+ ### v0.98.0 (2025-03-30)
4
+
5
+ * Regenerated from discovery document revision 20250325
6
+
3
7
  ### v0.97.0 (2025-03-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20250313
@@ -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::DialogflowV3beta1::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
@@ -13263,6 +13310,13 @@ module Google
13263
13310
  # @return [String]
13264
13311
  attr_accessor :request_location
13265
13312
 
13313
+ # Optional. The name of the SecretManager secret version resource storing the
13314
+ # API key. If this field is set, the `api_key` field will be ignored. Format: `
13315
+ # projects/`project`/secrets/`secret`/versions/`version``
13316
+ # Corresponds to the JSON property `secretVersionForApiKey`
13317
+ # @return [String]
13318
+ attr_accessor :secret_version_for_api_key
13319
+
13266
13320
  def initialize(**args)
13267
13321
  update!(**args)
13268
13322
  end
@@ -13272,6 +13326,7 @@ module Google
13272
13326
  @api_key = args[:api_key] if args.key?(:api_key)
13273
13327
  @key_name = args[:key_name] if args.key?(:key_name)
13274
13328
  @request_location = args[:request_location] if args.key?(:request_location)
13329
+ @secret_version_for_api_key = args[:secret_version_for_api_key] if args.key?(:secret_version_for_api_key)
13275
13330
  end
13276
13331
  end
13277
13332
 
@@ -13279,6 +13334,13 @@ module Google
13279
13334
  class GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig
13280
13335
  include Google::Apis::Core::Hashable
13281
13336
 
13337
+ # Optional. The name of the SecretManager secret version resource storing the
13338
+ # Bearer token. If this field is set, the `token` field will be ignored. Format:
13339
+ # `projects/`project`/secrets/`secret`/versions/`version``
13340
+ # Corresponds to the JSON property `secretVersionForToken`
13341
+ # @return [String]
13342
+ attr_accessor :secret_version_for_token
13343
+
13282
13344
  # Optional. The text token appended to the text `Bearer` to the request
13283
13345
  # Authorization header. [Session parameters reference](https://cloud.google.com/
13284
13346
  # dialogflow/cx/docs/concept/parameter#session-ref) can be used to pass the
@@ -13293,6 +13355,7 @@ module Google
13293
13355
 
13294
13356
  # Update properties of this object
13295
13357
  def update!(**args)
13358
+ @secret_version_for_token = args[:secret_version_for_token] if args.key?(:secret_version_for_token)
13296
13359
  @token = args[:token] if args.key?(:token)
13297
13360
  end
13298
13361
  end
@@ -13322,6 +13385,13 @@ module Google
13322
13385
  # @return [Array<String>]
13323
13386
  attr_accessor :scopes
13324
13387
 
13388
+ # Optional. The name of the SecretManager secret version resource storing the
13389
+ # client secret. If this field is set, the `client_secret` field will be ignored.
13390
+ # Format: `projects/`project`/secrets/`secret`/versions/`version``
13391
+ # Corresponds to the JSON property `secretVersionForClientSecret`
13392
+ # @return [String]
13393
+ attr_accessor :secret_version_for_client_secret
13394
+
13325
13395
  # Required. The token endpoint in the OAuth provider to exchange for an access
13326
13396
  # token.
13327
13397
  # Corresponds to the JSON property `tokenEndpoint`
@@ -13338,6 +13408,7 @@ module Google
13338
13408
  @client_secret = args[:client_secret] if args.key?(:client_secret)
13339
13409
  @oauth_grant_type = args[:oauth_grant_type] if args.key?(:oauth_grant_type)
13340
13410
  @scopes = args[:scopes] if args.key?(:scopes)
13411
+ @secret_version_for_client_secret = args[:secret_version_for_client_secret] if args.key?(:secret_version_for_client_secret)
13341
13412
  @token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
13342
13413
  end
13343
13414
  end
@@ -14791,6 +14862,22 @@ module Google
14791
14862
  # @return [Hash<String,String>]
14792
14863
  attr_accessor :request_headers
14793
14864
 
14865
+ # Optional. The SecretManager secret version resource storing the username:
14866
+ # password pair for HTTP Basic authentication. Format: `projects/`project`/
14867
+ # secrets/`secret`/versions/`version``
14868
+ # Corresponds to the JSON property `secretVersionForUsernamePassword`
14869
+ # @return [String]
14870
+ attr_accessor :secret_version_for_username_password
14871
+
14872
+ # Optional. The HTTP request headers to send together with webhook requests.
14873
+ # Header values are stored in SecretManager secret versions. When the same
14874
+ # header name is specified in both `request_headers` and `
14875
+ # secret_versions_for_request_headers`, the value in `
14876
+ # secret_versions_for_request_headers` will be used.
14877
+ # Corresponds to the JSON property `secretVersionsForRequestHeaders`
14878
+ # @return [Hash<String,Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue>]
14879
+ attr_accessor :secret_versions_for_request_headers
14880
+
14794
14881
  # Optional. Indicate the auth token type generated from the [Diglogflow service
14795
14882
  # agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
14796
14883
  # agent). The generated token is sent in the Authorization header.
@@ -14827,6 +14914,8 @@ module Google
14827
14914
  @password = args[:password] if args.key?(:password)
14828
14915
  @request_body = args[:request_body] if args.key?(:request_body)
14829
14916
  @request_headers = args[:request_headers] if args.key?(:request_headers)
14917
+ @secret_version_for_username_password = args[:secret_version_for_username_password] if args.key?(:secret_version_for_username_password)
14918
+ @secret_versions_for_request_headers = args[:secret_versions_for_request_headers] if args.key?(:secret_versions_for_request_headers)
14830
14919
  @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
14831
14920
  @uri = args[:uri] if args.key?(:uri)
14832
14921
  @username = args[:username] if args.key?(:username)
@@ -14854,6 +14943,13 @@ module Google
14854
14943
  # @return [Array<String>]
14855
14944
  attr_accessor :scopes
14856
14945
 
14946
+ # Optional. The name of the SecretManager secret version resource storing the
14947
+ # client secret. If this field is set, the `client_secret` field will be ignored.
14948
+ # Format: `projects/`project`/secrets/`secret`/versions/`version``
14949
+ # Corresponds to the JSON property `secretVersionForClientSecret`
14950
+ # @return [String]
14951
+ attr_accessor :secret_version_for_client_secret
14952
+
14857
14953
  # Required. The token endpoint provided by the 3rd party platform to exchange an
14858
14954
  # access token.
14859
14955
  # Corresponds to the JSON property `tokenEndpoint`
@@ -14869,10 +14965,32 @@ module Google
14869
14965
  @client_id = args[:client_id] if args.key?(:client_id)
14870
14966
  @client_secret = args[:client_secret] if args.key?(:client_secret)
14871
14967
  @scopes = args[:scopes] if args.key?(:scopes)
14968
+ @secret_version_for_client_secret = args[:secret_version_for_client_secret] if args.key?(:secret_version_for_client_secret)
14872
14969
  @token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
14873
14970
  end
14874
14971
  end
14875
14972
 
14973
+ # Represents the value of an HTTP header stored in a SecretManager secret
14974
+ # version.
14975
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
14976
+ include Google::Apis::Core::Hashable
14977
+
14978
+ # Required. The SecretManager secret version resource storing the header value.
14979
+ # Format: `projects/`project`/secrets/`secret`/versions/`version``
14980
+ # Corresponds to the JSON property `secretVersion`
14981
+ # @return [String]
14982
+ attr_accessor :secret_version
14983
+
14984
+ def initialize(**args)
14985
+ update!(**args)
14986
+ end
14987
+
14988
+ # Update properties of this object
14989
+ def update!(**args)
14990
+ @secret_version = args[:secret_version] if args.key?(:secret_version)
14991
+ end
14992
+ end
14993
+
14876
14994
  # The request message for a webhook call. The request is sent as a JSON object
14877
14995
  # and the field names will be presented in camel cases. You may see undocumented
14878
14996
  # fields in an actual request. These fields are used internally by Dialogflow
@@ -16151,6 +16269,11 @@ module Google
16151
16269
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SummarySuggestion]
16152
16270
  attr_accessor :summary_suggestion
16153
16271
 
16272
+ # Optional. List of request and response for tool calls executed.
16273
+ # Corresponds to the JSON property `toolCallInfo`
16274
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo>]
16275
+ attr_accessor :tool_call_info
16276
+
16154
16277
  def initialize(**args)
16155
16278
  update!(**args)
16156
16279
  end
@@ -16159,6 +16282,32 @@ module Google
16159
16282
  def update!(**args)
16160
16283
  @free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
16161
16284
  @summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
16285
+ @tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
16286
+ end
16287
+ end
16288
+
16289
+ # Request and response for a tool call.
16290
+ class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
16291
+ include Google::Apis::Core::Hashable
16292
+
16293
+ # Represents a call of a specific tool's action with the specified inputs.
16294
+ # Corresponds to the JSON property `toolCall`
16295
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ToolCall]
16296
+ attr_accessor :tool_call
16297
+
16298
+ # The result of calling a tool's action.
16299
+ # Corresponds to the JSON property `toolCallResult`
16300
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ToolCallResult]
16301
+ attr_accessor :tool_call_result
16302
+
16303
+ def initialize(**args)
16304
+ update!(**args)
16305
+ end
16306
+
16307
+ # Update properties of this object
16308
+ def update!(**args)
16309
+ @tool_call = args[:tool_call] if args.key?(:tool_call)
16310
+ @tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
16162
16311
  end
16163
16312
  end
16164
16313
 
@@ -18648,6 +18797,115 @@ module Google
18648
18797
  end
18649
18798
  end
18650
18799
 
18800
+ # Represents a call of a specific tool's action with the specified inputs.
18801
+ class GoogleCloudDialogflowV2ToolCall
18802
+ include Google::Apis::Core::Hashable
18803
+
18804
+ # Required. The name of the tool's action associated with this call.
18805
+ # Corresponds to the JSON property `action`
18806
+ # @return [String]
18807
+ attr_accessor :action
18808
+
18809
+ # Output only. Create time of the tool call.
18810
+ # Corresponds to the JSON property `createTime`
18811
+ # @return [String]
18812
+ attr_accessor :create_time
18813
+
18814
+ # Optional. The action's input parameters.
18815
+ # Corresponds to the JSON property `inputParameters`
18816
+ # @return [Hash<String,Object>]
18817
+ attr_accessor :input_parameters
18818
+
18819
+ # Required. The tool associated with this call. Format: `projects//locations//
18820
+ # tools/`.
18821
+ # Corresponds to the JSON property `tool`
18822
+ # @return [String]
18823
+ attr_accessor :tool
18824
+
18825
+ def initialize(**args)
18826
+ update!(**args)
18827
+ end
18828
+
18829
+ # Update properties of this object
18830
+ def update!(**args)
18831
+ @action = args[:action] if args.key?(:action)
18832
+ @create_time = args[:create_time] if args.key?(:create_time)
18833
+ @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
18834
+ @tool = args[:tool] if args.key?(:tool)
18835
+ end
18836
+ end
18837
+
18838
+ # The result of calling a tool's action.
18839
+ class GoogleCloudDialogflowV2ToolCallResult
18840
+ include Google::Apis::Core::Hashable
18841
+
18842
+ # Required. The name of the tool's action associated with this call.
18843
+ # Corresponds to the JSON property `action`
18844
+ # @return [String]
18845
+ attr_accessor :action
18846
+
18847
+ # Only populated if the response content is utf-8 encoded.
18848
+ # Corresponds to the JSON property `content`
18849
+ # @return [String]
18850
+ attr_accessor :content
18851
+
18852
+ # Output only. Create time of the tool call result.
18853
+ # Corresponds to the JSON property `createTime`
18854
+ # @return [String]
18855
+ attr_accessor :create_time
18856
+
18857
+ # An error produced by the tool call.
18858
+ # Corresponds to the JSON property `error`
18859
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ToolCallResultError]
18860
+ attr_accessor :error
18861
+
18862
+ # Only populated if the response content is not utf-8 encoded. (by definition
18863
+ # byte fields are base64 encoded).
18864
+ # Corresponds to the JSON property `rawContent`
18865
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
18866
+ # @return [String]
18867
+ attr_accessor :raw_content
18868
+
18869
+ # Required. The tool associated with this call. Format: `projects//locations//
18870
+ # tools/`.
18871
+ # Corresponds to the JSON property `tool`
18872
+ # @return [String]
18873
+ attr_accessor :tool
18874
+
18875
+ def initialize(**args)
18876
+ update!(**args)
18877
+ end
18878
+
18879
+ # Update properties of this object
18880
+ def update!(**args)
18881
+ @action = args[:action] if args.key?(:action)
18882
+ @content = args[:content] if args.key?(:content)
18883
+ @create_time = args[:create_time] if args.key?(:create_time)
18884
+ @error = args[:error] if args.key?(:error)
18885
+ @raw_content = args[:raw_content] if args.key?(:raw_content)
18886
+ @tool = args[:tool] if args.key?(:tool)
18887
+ end
18888
+ end
18889
+
18890
+ # An error produced by the tool call.
18891
+ class GoogleCloudDialogflowV2ToolCallResultError
18892
+ include Google::Apis::Core::Hashable
18893
+
18894
+ # Optional. The error message of the function.
18895
+ # Corresponds to the JSON property `message`
18896
+ # @return [String]
18897
+ attr_accessor :message
18898
+
18899
+ def initialize(**args)
18900
+ update!(**args)
18901
+ end
18902
+
18903
+ # Update properties of this object
18904
+ def update!(**args)
18905
+ @message = args[:message] if args.key?(:message)
18906
+ end
18907
+ end
18908
+
18651
18909
  # Metadata for a ConversationModels.UndeployConversationModel operation.
18652
18910
  class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
18653
18911
  include Google::Apis::Core::Hashable
@@ -19511,6 +19769,11 @@ module Google
19511
19769
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SummarySuggestion]
19512
19770
  attr_accessor :summary_suggestion
19513
19771
 
19772
+ # Optional. List of request and response for tool calls executed.
19773
+ # Corresponds to the JSON property `toolCallInfo`
19774
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo>]
19775
+ attr_accessor :tool_call_info
19776
+
19514
19777
  def initialize(**args)
19515
19778
  update!(**args)
19516
19779
  end
@@ -19519,6 +19782,32 @@ module Google
19519
19782
  def update!(**args)
19520
19783
  @free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
19521
19784
  @summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
19785
+ @tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
19786
+ end
19787
+ end
19788
+
19789
+ # Request and response for a tool call.
19790
+ class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
19791
+ include Google::Apis::Core::Hashable
19792
+
19793
+ # Represents a call of a specific tool's action with the specified inputs.
19794
+ # Corresponds to the JSON property `toolCall`
19795
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCall]
19796
+ attr_accessor :tool_call
19797
+
19798
+ # The result of calling a tool's action.
19799
+ # Corresponds to the JSON property `toolCallResult`
19800
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCallResult]
19801
+ attr_accessor :tool_call_result
19802
+
19803
+ def initialize(**args)
19804
+ update!(**args)
19805
+ end
19806
+
19807
+ # Update properties of this object
19808
+ def update!(**args)
19809
+ @tool_call = args[:tool_call] if args.key?(:tool_call)
19810
+ @tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
19522
19811
  end
19523
19812
  end
19524
19813
 
@@ -22792,6 +23081,115 @@ module Google
22792
23081
  end
22793
23082
  end
22794
23083
 
23084
+ # Represents a call of a specific tool's action with the specified inputs.
23085
+ class GoogleCloudDialogflowV2beta1ToolCall
23086
+ include Google::Apis::Core::Hashable
23087
+
23088
+ # Required. The name of the tool's action associated with this call.
23089
+ # Corresponds to the JSON property `action`
23090
+ # @return [String]
23091
+ attr_accessor :action
23092
+
23093
+ # Output only. Create time of the tool call.
23094
+ # Corresponds to the JSON property `createTime`
23095
+ # @return [String]
23096
+ attr_accessor :create_time
23097
+
23098
+ # Optional. The action's input parameters.
23099
+ # Corresponds to the JSON property `inputParameters`
23100
+ # @return [Hash<String,Object>]
23101
+ attr_accessor :input_parameters
23102
+
23103
+ # Required. The tool associated with this call. Format: `projects//locations//
23104
+ # tools/`.
23105
+ # Corresponds to the JSON property `tool`
23106
+ # @return [String]
23107
+ attr_accessor :tool
23108
+
23109
+ def initialize(**args)
23110
+ update!(**args)
23111
+ end
23112
+
23113
+ # Update properties of this object
23114
+ def update!(**args)
23115
+ @action = args[:action] if args.key?(:action)
23116
+ @create_time = args[:create_time] if args.key?(:create_time)
23117
+ @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
23118
+ @tool = args[:tool] if args.key?(:tool)
23119
+ end
23120
+ end
23121
+
23122
+ # The result of calling a tool's action.
23123
+ class GoogleCloudDialogflowV2beta1ToolCallResult
23124
+ include Google::Apis::Core::Hashable
23125
+
23126
+ # Required. The name of the tool's action associated with this call.
23127
+ # Corresponds to the JSON property `action`
23128
+ # @return [String]
23129
+ attr_accessor :action
23130
+
23131
+ # Only populated if the response content is utf-8 encoded.
23132
+ # Corresponds to the JSON property `content`
23133
+ # @return [String]
23134
+ attr_accessor :content
23135
+
23136
+ # Output only. Create time of the tool call result.
23137
+ # Corresponds to the JSON property `createTime`
23138
+ # @return [String]
23139
+ attr_accessor :create_time
23140
+
23141
+ # An error produced by the tool call.
23142
+ # Corresponds to the JSON property `error`
23143
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCallResultError]
23144
+ attr_accessor :error
23145
+
23146
+ # Only populated if the response content is not utf-8 encoded. (by definition
23147
+ # byte fields are base64 encoded).
23148
+ # Corresponds to the JSON property `rawContent`
23149
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
23150
+ # @return [String]
23151
+ attr_accessor :raw_content
23152
+
23153
+ # Required. The tool associated with this call. Format: `projects//locations//
23154
+ # tools/`.
23155
+ # Corresponds to the JSON property `tool`
23156
+ # @return [String]
23157
+ attr_accessor :tool
23158
+
23159
+ def initialize(**args)
23160
+ update!(**args)
23161
+ end
23162
+
23163
+ # Update properties of this object
23164
+ def update!(**args)
23165
+ @action = args[:action] if args.key?(:action)
23166
+ @content = args[:content] if args.key?(:content)
23167
+ @create_time = args[:create_time] if args.key?(:create_time)
23168
+ @error = args[:error] if args.key?(:error)
23169
+ @raw_content = args[:raw_content] if args.key?(:raw_content)
23170
+ @tool = args[:tool] if args.key?(:tool)
23171
+ end
23172
+ end
23173
+
23174
+ # An error produced by the tool call.
23175
+ class GoogleCloudDialogflowV2beta1ToolCallResultError
23176
+ include Google::Apis::Core::Hashable
23177
+
23178
+ # Optional. The error message of the function.
23179
+ # Corresponds to the JSON property `message`
23180
+ # @return [String]
23181
+ attr_accessor :message
23182
+
23183
+ def initialize(**args)
23184
+ update!(**args)
23185
+ end
23186
+
23187
+ # Update properties of this object
23188
+ def update!(**args)
23189
+ @message = args[:message] if args.key?(:message)
23190
+ end
23191
+ end
23192
+
22795
23193
  # The request message for a webhook call.
22796
23194
  class GoogleCloudDialogflowV2beta1WebhookRequest
22797
23195
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3beta1
18
18
  # Version of the google-apis-dialogflow_v3beta1 gem
19
- GEM_VERSION = "0.97.0"
19
+ GEM_VERSION = "0.98.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 = "20250313"
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
 
@@ -2392,6 +2398,12 @@ module Google
2392
2398
  include Google::Apis::Core::JsonObjectSupport
2393
2399
  end
2394
2400
 
2401
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
2402
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2403
+
2404
+ include Google::Apis::Core::JsonObjectSupport
2405
+ end
2406
+
2395
2407
  class GoogleCloudDialogflowCxV3beta1WebhookRequest
2396
2408
  class Representation < Google::Apis::Core::JsonRepresentation; end
2397
2409
 
@@ -2602,6 +2614,12 @@ module Google
2602
2614
  include Google::Apis::Core::JsonObjectSupport
2603
2615
  end
2604
2616
 
2617
+ class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
2618
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2619
+
2620
+ include Google::Apis::Core::JsonObjectSupport
2621
+ end
2622
+
2605
2623
  class GoogleCloudDialogflowV2HumanAgentAssistantEvent
2606
2624
  class Representation < Google::Apis::Core::JsonRepresentation; end
2607
2625
 
@@ -2998,6 +3016,24 @@ module Google
2998
3016
  include Google::Apis::Core::JsonObjectSupport
2999
3017
  end
3000
3018
 
3019
+ class GoogleCloudDialogflowV2ToolCall
3020
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3021
+
3022
+ include Google::Apis::Core::JsonObjectSupport
3023
+ end
3024
+
3025
+ class GoogleCloudDialogflowV2ToolCallResult
3026
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3027
+
3028
+ include Google::Apis::Core::JsonObjectSupport
3029
+ end
3030
+
3031
+ class GoogleCloudDialogflowV2ToolCallResultError
3032
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3033
+
3034
+ include Google::Apis::Core::JsonObjectSupport
3035
+ end
3036
+
3001
3037
  class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
3002
3038
  class Representation < Google::Apis::Core::JsonRepresentation; end
3003
3039
 
@@ -3136,6 +3172,12 @@ module Google
3136
3172
  include Google::Apis::Core::JsonObjectSupport
3137
3173
  end
3138
3174
 
3175
+ class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
3176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3177
+
3178
+ include Google::Apis::Core::JsonObjectSupport
3179
+ end
3180
+
3139
3181
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
3140
3182
  class Representation < Google::Apis::Core::JsonRepresentation; end
3141
3183
 
@@ -3664,6 +3706,24 @@ module Google
3664
3706
  include Google::Apis::Core::JsonObjectSupport
3665
3707
  end
3666
3708
 
3709
+ class GoogleCloudDialogflowV2beta1ToolCall
3710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3711
+
3712
+ include Google::Apis::Core::JsonObjectSupport
3713
+ end
3714
+
3715
+ class GoogleCloudDialogflowV2beta1ToolCallResult
3716
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3717
+
3718
+ include Google::Apis::Core::JsonObjectSupport
3719
+ end
3720
+
3721
+ class GoogleCloudDialogflowV2beta1ToolCallResultError
3722
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3723
+
3724
+ include Google::Apis::Core::JsonObjectSupport
3725
+ end
3726
+
3667
3727
  class GoogleCloudDialogflowV2beta1WebhookRequest
3668
3728
  class Representation < Google::Apis::Core::JsonRepresentation; end
3669
3729
 
@@ -4620,6 +4680,9 @@ module Google
4620
4680
  property :password, as: 'password'
4621
4681
  property :request_body, as: 'requestBody'
4622
4682
  hash :request_headers, as: 'requestHeaders'
4683
+ property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
4684
+ hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue::Representation
4685
+
4623
4686
  property :service_agent_auth, as: 'serviceAgentAuth'
4624
4687
  property :uri, as: 'uri'
4625
4688
  property :username, as: 'username'
@@ -4633,10 +4696,18 @@ module Google
4633
4696
  property :client_id, as: 'clientId'
4634
4697
  property :client_secret, as: 'clientSecret'
4635
4698
  collection :scopes, as: 'scopes'
4699
+ property :secret_version_for_client_secret, as: 'secretVersionForClientSecret'
4636
4700
  property :token_endpoint, as: 'tokenEndpoint'
4637
4701
  end
4638
4702
  end
4639
4703
 
4704
+ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue
4705
+ # @private
4706
+ class Representation < Google::Apis::Core::JsonRepresentation
4707
+ property :secret_version, as: 'secretVersion'
4708
+ end
4709
+ end
4710
+
4640
4711
  class GoogleCloudDialogflowCxV3WebhookRequest
4641
4712
  # @private
4642
4713
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7306,12 +7377,14 @@ module Google
7306
7377
  property :api_key, as: 'apiKey'
7307
7378
  property :key_name, as: 'keyName'
7308
7379
  property :request_location, as: 'requestLocation'
7380
+ property :secret_version_for_api_key, as: 'secretVersionForApiKey'
7309
7381
  end
7310
7382
  end
7311
7383
 
7312
7384
  class GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig
7313
7385
  # @private
7314
7386
  class Representation < Google::Apis::Core::JsonRepresentation
7387
+ property :secret_version_for_token, as: 'secretVersionForToken'
7315
7388
  property :token, as: 'token'
7316
7389
  end
7317
7390
  end
@@ -7323,6 +7396,7 @@ module Google
7323
7396
  property :client_secret, as: 'clientSecret'
7324
7397
  property :oauth_grant_type, as: 'oauthGrantType'
7325
7398
  collection :scopes, as: 'scopes'
7399
+ property :secret_version_for_client_secret, as: 'secretVersionForClientSecret'
7326
7400
  property :token_endpoint, as: 'tokenEndpoint'
7327
7401
  end
7328
7402
  end
@@ -7740,6 +7814,9 @@ module Google
7740
7814
  property :password, as: 'password'
7741
7815
  property :request_body, as: 'requestBody'
7742
7816
  hash :request_headers, as: 'requestHeaders'
7817
+ property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
7818
+ hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue::Representation
7819
+
7743
7820
  property :service_agent_auth, as: 'serviceAgentAuth'
7744
7821
  property :uri, as: 'uri'
7745
7822
  property :username, as: 'username'
@@ -7753,10 +7830,18 @@ module Google
7753
7830
  property :client_id, as: 'clientId'
7754
7831
  property :client_secret, as: 'clientSecret'
7755
7832
  collection :scopes, as: 'scopes'
7833
+ property :secret_version_for_client_secret, as: 'secretVersionForClientSecret'
7756
7834
  property :token_endpoint, as: 'tokenEndpoint'
7757
7835
  end
7758
7836
  end
7759
7837
 
7838
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
7839
+ # @private
7840
+ class Representation < Google::Apis::Core::JsonRepresentation
7841
+ property :secret_version, as: 'secretVersion'
7842
+ end
7843
+ end
7844
+
7760
7845
  class GoogleCloudDialogflowCxV3beta1WebhookRequest
7761
7846
  # @private
7762
7847
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8102,6 +8187,18 @@ module Google
8102
8187
 
8103
8188
  property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SummarySuggestion, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SummarySuggestion::Representation
8104
8189
 
8190
+ collection :tool_call_info, as: 'toolCallInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo::Representation
8191
+
8192
+ end
8193
+ end
8194
+
8195
+ class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
8196
+ # @private
8197
+ class Representation < Google::Apis::Core::JsonRepresentation
8198
+ property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ToolCall, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ToolCall::Representation
8199
+
8200
+ property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ToolCallResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ToolCallResult::Representation
8201
+
8105
8202
  end
8106
8203
  end
8107
8204
 
@@ -8800,6 +8897,36 @@ module Google
8800
8897
  end
8801
8898
  end
8802
8899
 
8900
+ class GoogleCloudDialogflowV2ToolCall
8901
+ # @private
8902
+ class Representation < Google::Apis::Core::JsonRepresentation
8903
+ property :action, as: 'action'
8904
+ property :create_time, as: 'createTime'
8905
+ hash :input_parameters, as: 'inputParameters'
8906
+ property :tool, as: 'tool'
8907
+ end
8908
+ end
8909
+
8910
+ class GoogleCloudDialogflowV2ToolCallResult
8911
+ # @private
8912
+ class Representation < Google::Apis::Core::JsonRepresentation
8913
+ property :action, as: 'action'
8914
+ property :content, as: 'content'
8915
+ property :create_time, as: 'createTime'
8916
+ property :error, as: 'error', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ToolCallResultError, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ToolCallResultError::Representation
8917
+
8918
+ property :raw_content, :base64 => true, as: 'rawContent'
8919
+ property :tool, as: 'tool'
8920
+ end
8921
+ end
8922
+
8923
+ class GoogleCloudDialogflowV2ToolCallResultError
8924
+ # @private
8925
+ class Representation < Google::Apis::Core::JsonRepresentation
8926
+ property :message, as: 'message'
8927
+ end
8928
+ end
8929
+
8803
8930
  class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
8804
8931
  # @private
8805
8932
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9023,6 +9150,18 @@ module Google
9023
9150
 
9024
9151
  property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SummarySuggestion, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SummarySuggestion::Representation
9025
9152
 
9153
+ collection :tool_call_info, as: 'toolCallInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo::Representation
9154
+
9155
+ end
9156
+ end
9157
+
9158
+ class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
9159
+ # @private
9160
+ class Representation < Google::Apis::Core::JsonRepresentation
9161
+ property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCall, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCall::Representation
9162
+
9163
+ property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCallResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCallResult::Representation
9164
+
9026
9165
  end
9027
9166
  end
9028
9167
 
@@ -9943,6 +10082,36 @@ module Google
9943
10082
  end
9944
10083
  end
9945
10084
 
10085
+ class GoogleCloudDialogflowV2beta1ToolCall
10086
+ # @private
10087
+ class Representation < Google::Apis::Core::JsonRepresentation
10088
+ property :action, as: 'action'
10089
+ property :create_time, as: 'createTime'
10090
+ hash :input_parameters, as: 'inputParameters'
10091
+ property :tool, as: 'tool'
10092
+ end
10093
+ end
10094
+
10095
+ class GoogleCloudDialogflowV2beta1ToolCallResult
10096
+ # @private
10097
+ class Representation < Google::Apis::Core::JsonRepresentation
10098
+ property :action, as: 'action'
10099
+ property :content, as: 'content'
10100
+ property :create_time, as: 'createTime'
10101
+ property :error, as: 'error', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCallResultError, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCallResultError::Representation
10102
+
10103
+ property :raw_content, :base64 => true, as: 'rawContent'
10104
+ property :tool, as: 'tool'
10105
+ end
10106
+ end
10107
+
10108
+ class GoogleCloudDialogflowV2beta1ToolCallResultError
10109
+ # @private
10110
+ class Representation < Google::Apis::Core::JsonRepresentation
10111
+ property :message, as: 'message'
10112
+ end
10113
+ end
10114
+
9946
10115
  class GoogleCloudDialogflowV2beta1WebhookRequest
9947
10116
  # @private
9948
10117
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -85,6 +85,9 @@ module Google
85
85
  # Lists information about the supported locations for this service.
86
86
  # @param [String] name
87
87
  # The resource that owns the locations collection, if applicable.
88
+ # @param [Array<String>, String] extra_location_types
89
+ # Optional. A list of extra location types that should be used as conditions for
90
+ # controlling the visibility of the locations.
88
91
  # @param [String] filter
89
92
  # A filter to narrow down results to a preferred subset. The filtering language
90
93
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -112,11 +115,12 @@ module Google
112
115
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
113
116
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
114
117
  # @raise [Google::Apis::AuthorizationError] Authorization is required
115
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
118
+ 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)
116
119
  command = make_simple_command(:get, 'v3beta1/{+name}/locations', options)
117
120
  command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudLocationListLocationsResponse::Representation
118
121
  command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudLocationListLocationsResponse
119
122
  command.params['name'] = name unless name.nil?
123
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
120
124
  command.query['filter'] = filter unless filter.nil?
121
125
  command.query['pageSize'] = page_size unless page_size.nil?
122
126
  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_v3beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.97.0
4
+ version: 0.98.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-23 00:00:00.000000000 Z
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_v3beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.97.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.98.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
62
62
  rdoc_options: []
63
63
  require_paths: