google-apis-dialogflow_v3 0.104.0 → 0.105.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: 465185077fc97392593c2b80627516b4f780e39ec7a8ff2a4921e4c1b671d66e
4
- data.tar.gz: 8bbffe434b7335a4c76752e45cfedc44a0b315dfdc047d0f11800a9904c7ec3d
3
+ metadata.gz: e7094a763b1923ba2d958e3c3a55d3f5250a5c93bddc902e149d3d4e1e9ab00a
4
+ data.tar.gz: d657e0a8c10d578c134b349c249bfce0c9f561fac30e35481d8a3d34415761af
5
5
  SHA512:
6
- metadata.gz: f2170a06faf518d1f8cc4d0835b3c97f4e279913664bbdf7c4d9d3b23bad59f6524e2f3c6143bca9f9b5af71f32210876740d1e22b02f4741b0f5759412d8474
7
- data.tar.gz: 70640bd6e6db82d1a4419bb9ae4728d4417cf606da79db52c88434b812f65008574131e633566a5eeaa54002b91aa1ddce14ca2ab56d09894e0e07891397adba
6
+ metadata.gz: 445eb9bc3c02a23fab6b8924c4404eb5282c47de11353e3bdc0fb49ad8660fb4750a46d8bd5e9fe96b0c898e3017a83a9f63dc46699f29f8b897ba66a79ce88e
7
+ data.tar.gz: b2fedd7befedd04f631b81538af7362c17c37c80954d7b854d06458149e08235668b5d006ee97cbb97728c83d21260f4f6d75740ce6907d78bca764550da77b2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.105.0 (2025-03-30)
4
+
5
+ * Regenerated from discovery document revision 20250325
6
+
3
7
  ### v0.104.0 (2025-03-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20250310
@@ -8516,6 +8516,22 @@ module Google
8516
8516
  # @return [Hash<String,String>]
8517
8517
  attr_accessor :request_headers
8518
8518
 
8519
+ # Optional. The SecretManager secret version resource storing the username:
8520
+ # password pair for HTTP Basic authentication. Format: `projects/`project`/
8521
+ # secrets/`secret`/versions/`version``
8522
+ # Corresponds to the JSON property `secretVersionForUsernamePassword`
8523
+ # @return [String]
8524
+ attr_accessor :secret_version_for_username_password
8525
+
8526
+ # Optional. The HTTP request headers to send together with webhook requests.
8527
+ # Header values are stored in SecretManager secret versions. When the same
8528
+ # header name is specified in both `request_headers` and `
8529
+ # secret_versions_for_request_headers`, the value in `
8530
+ # secret_versions_for_request_headers` will be used.
8531
+ # Corresponds to the JSON property `secretVersionsForRequestHeaders`
8532
+ # @return [Hash<String,Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue>]
8533
+ attr_accessor :secret_versions_for_request_headers
8534
+
8519
8535
  # Optional. Indicate the auth token type generated from the [Diglogflow service
8520
8536
  # agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
8521
8537
  # agent). The generated token is sent in the Authorization header.
@@ -8552,6 +8568,8 @@ module Google
8552
8568
  @password = args[:password] if args.key?(:password)
8553
8569
  @request_body = args[:request_body] if args.key?(:request_body)
8554
8570
  @request_headers = args[:request_headers] if args.key?(:request_headers)
8571
+ @secret_version_for_username_password = args[:secret_version_for_username_password] if args.key?(:secret_version_for_username_password)
8572
+ @secret_versions_for_request_headers = args[:secret_versions_for_request_headers] if args.key?(:secret_versions_for_request_headers)
8555
8573
  @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
8556
8574
  @uri = args[:uri] if args.key?(:uri)
8557
8575
  @username = args[:username] if args.key?(:username)
@@ -8579,6 +8597,13 @@ module Google
8579
8597
  # @return [Array<String>]
8580
8598
  attr_accessor :scopes
8581
8599
 
8600
+ # Optional. The name of the SecretManager secret version resource storing the
8601
+ # client secret. If this field is set, the `client_secret` field will be ignored.
8602
+ # Format: `projects/`project`/secrets/`secret`/versions/`version``
8603
+ # Corresponds to the JSON property `secretVersionForClientSecret`
8604
+ # @return [String]
8605
+ attr_accessor :secret_version_for_client_secret
8606
+
8582
8607
  # Required. The token endpoint provided by the 3rd party platform to exchange an
8583
8608
  # access token.
8584
8609
  # Corresponds to the JSON property `tokenEndpoint`
@@ -8594,10 +8619,32 @@ module Google
8594
8619
  @client_id = args[:client_id] if args.key?(:client_id)
8595
8620
  @client_secret = args[:client_secret] if args.key?(:client_secret)
8596
8621
  @scopes = args[:scopes] if args.key?(:scopes)
8622
+ @secret_version_for_client_secret = args[:secret_version_for_client_secret] if args.key?(:secret_version_for_client_secret)
8597
8623
  @token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
8598
8624
  end
8599
8625
  end
8600
8626
 
8627
+ # Represents the value of an HTTP header stored in a SecretManager secret
8628
+ # version.
8629
+ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue
8630
+ include Google::Apis::Core::Hashable
8631
+
8632
+ # Required. The SecretManager secret version resource storing the header value.
8633
+ # Format: `projects/`project`/secrets/`secret`/versions/`version``
8634
+ # Corresponds to the JSON property `secretVersion`
8635
+ # @return [String]
8636
+ attr_accessor :secret_version
8637
+
8638
+ def initialize(**args)
8639
+ update!(**args)
8640
+ end
8641
+
8642
+ # Update properties of this object
8643
+ def update!(**args)
8644
+ @secret_version = args[:secret_version] if args.key?(:secret_version)
8645
+ end
8646
+ end
8647
+
8601
8648
  # The request message for a webhook call. The request is sent as a JSON object
8602
8649
  # and the field names will be presented in camel cases. You may see undocumented
8603
8650
  # fields in an actual request. These fields are used internally by Dialogflow
@@ -12349,6 +12396,22 @@ module Google
12349
12396
  # @return [Hash<String,String>]
12350
12397
  attr_accessor :request_headers
12351
12398
 
12399
+ # Optional. The SecretManager secret version resource storing the username:
12400
+ # password pair for HTTP Basic authentication. Format: `projects/`project`/
12401
+ # secrets/`secret`/versions/`version``
12402
+ # Corresponds to the JSON property `secretVersionForUsernamePassword`
12403
+ # @return [String]
12404
+ attr_accessor :secret_version_for_username_password
12405
+
12406
+ # Optional. The HTTP request headers to send together with webhook requests.
12407
+ # Header values are stored in SecretManager secret versions. When the same
12408
+ # header name is specified in both `request_headers` and `
12409
+ # secret_versions_for_request_headers`, the value in `
12410
+ # secret_versions_for_request_headers` will be used.
12411
+ # Corresponds to the JSON property `secretVersionsForRequestHeaders`
12412
+ # @return [Hash<String,Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue>]
12413
+ attr_accessor :secret_versions_for_request_headers
12414
+
12352
12415
  # Optional. Indicate the auth token type generated from the [Diglogflow service
12353
12416
  # agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
12354
12417
  # agent). The generated token is sent in the Authorization header.
@@ -12385,6 +12448,8 @@ module Google
12385
12448
  @password = args[:password] if args.key?(:password)
12386
12449
  @request_body = args[:request_body] if args.key?(:request_body)
12387
12450
  @request_headers = args[:request_headers] if args.key?(:request_headers)
12451
+ @secret_version_for_username_password = args[:secret_version_for_username_password] if args.key?(:secret_version_for_username_password)
12452
+ @secret_versions_for_request_headers = args[:secret_versions_for_request_headers] if args.key?(:secret_versions_for_request_headers)
12388
12453
  @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
12389
12454
  @uri = args[:uri] if args.key?(:uri)
12390
12455
  @username = args[:username] if args.key?(:username)
@@ -12412,6 +12477,13 @@ module Google
12412
12477
  # @return [Array<String>]
12413
12478
  attr_accessor :scopes
12414
12479
 
12480
+ # Optional. The name of the SecretManager secret version resource storing the
12481
+ # client secret. If this field is set, the `client_secret` field will be ignored.
12482
+ # Format: `projects/`project`/secrets/`secret`/versions/`version``
12483
+ # Corresponds to the JSON property `secretVersionForClientSecret`
12484
+ # @return [String]
12485
+ attr_accessor :secret_version_for_client_secret
12486
+
12415
12487
  # Required. The token endpoint provided by the 3rd party platform to exchange an
12416
12488
  # access token.
12417
12489
  # Corresponds to the JSON property `tokenEndpoint`
@@ -12427,10 +12499,32 @@ module Google
12427
12499
  @client_id = args[:client_id] if args.key?(:client_id)
12428
12500
  @client_secret = args[:client_secret] if args.key?(:client_secret)
12429
12501
  @scopes = args[:scopes] if args.key?(:scopes)
12502
+ @secret_version_for_client_secret = args[:secret_version_for_client_secret] if args.key?(:secret_version_for_client_secret)
12430
12503
  @token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
12431
12504
  end
12432
12505
  end
12433
12506
 
12507
+ # Represents the value of an HTTP header stored in a SecretManager secret
12508
+ # version.
12509
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
12510
+ include Google::Apis::Core::Hashable
12511
+
12512
+ # Required. The SecretManager secret version resource storing the header value.
12513
+ # Format: `projects/`project`/secrets/`secret`/versions/`version``
12514
+ # Corresponds to the JSON property `secretVersion`
12515
+ # @return [String]
12516
+ attr_accessor :secret_version
12517
+
12518
+ def initialize(**args)
12519
+ update!(**args)
12520
+ end
12521
+
12522
+ # Update properties of this object
12523
+ def update!(**args)
12524
+ @secret_version = args[:secret_version] if args.key?(:secret_version)
12525
+ end
12526
+ end
12527
+
12434
12528
  # The request message for a webhook call. The request is sent as a JSON object
12435
12529
  # and the field names will be presented in camel cases. You may see undocumented
12436
12530
  # fields in an actual request. These fields are used internally by Dialogflow
@@ -13709,6 +13803,11 @@ module Google
13709
13803
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SummarySuggestion]
13710
13804
  attr_accessor :summary_suggestion
13711
13805
 
13806
+ # Optional. List of request and response for tool calls executed.
13807
+ # Corresponds to the JSON property `toolCallInfo`
13808
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo>]
13809
+ attr_accessor :tool_call_info
13810
+
13712
13811
  def initialize(**args)
13713
13812
  update!(**args)
13714
13813
  end
@@ -13717,6 +13816,32 @@ module Google
13717
13816
  def update!(**args)
13718
13817
  @free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
13719
13818
  @summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
13819
+ @tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
13820
+ end
13821
+ end
13822
+
13823
+ # Request and response for a tool call.
13824
+ class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
13825
+ include Google::Apis::Core::Hashable
13826
+
13827
+ # Represents a call of a specific tool's action with the specified inputs.
13828
+ # Corresponds to the JSON property `toolCall`
13829
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ToolCall]
13830
+ attr_accessor :tool_call
13831
+
13832
+ # The result of calling a tool's action.
13833
+ # Corresponds to the JSON property `toolCallResult`
13834
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ToolCallResult]
13835
+ attr_accessor :tool_call_result
13836
+
13837
+ def initialize(**args)
13838
+ update!(**args)
13839
+ end
13840
+
13841
+ # Update properties of this object
13842
+ def update!(**args)
13843
+ @tool_call = args[:tool_call] if args.key?(:tool_call)
13844
+ @tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
13720
13845
  end
13721
13846
  end
13722
13847
 
@@ -16206,6 +16331,115 @@ module Google
16206
16331
  end
16207
16332
  end
16208
16333
 
16334
+ # Represents a call of a specific tool's action with the specified inputs.
16335
+ class GoogleCloudDialogflowV2ToolCall
16336
+ include Google::Apis::Core::Hashable
16337
+
16338
+ # Required. The name of the tool's action associated with this call.
16339
+ # Corresponds to the JSON property `action`
16340
+ # @return [String]
16341
+ attr_accessor :action
16342
+
16343
+ # Output only. Create time of the tool call.
16344
+ # Corresponds to the JSON property `createTime`
16345
+ # @return [String]
16346
+ attr_accessor :create_time
16347
+
16348
+ # Optional. The action's input parameters.
16349
+ # Corresponds to the JSON property `inputParameters`
16350
+ # @return [Hash<String,Object>]
16351
+ attr_accessor :input_parameters
16352
+
16353
+ # Required. The tool associated with this call. Format: `projects//locations//
16354
+ # tools/`.
16355
+ # Corresponds to the JSON property `tool`
16356
+ # @return [String]
16357
+ attr_accessor :tool
16358
+
16359
+ def initialize(**args)
16360
+ update!(**args)
16361
+ end
16362
+
16363
+ # Update properties of this object
16364
+ def update!(**args)
16365
+ @action = args[:action] if args.key?(:action)
16366
+ @create_time = args[:create_time] if args.key?(:create_time)
16367
+ @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
16368
+ @tool = args[:tool] if args.key?(:tool)
16369
+ end
16370
+ end
16371
+
16372
+ # The result of calling a tool's action.
16373
+ class GoogleCloudDialogflowV2ToolCallResult
16374
+ include Google::Apis::Core::Hashable
16375
+
16376
+ # Required. The name of the tool's action associated with this call.
16377
+ # Corresponds to the JSON property `action`
16378
+ # @return [String]
16379
+ attr_accessor :action
16380
+
16381
+ # Only populated if the response content is utf-8 encoded.
16382
+ # Corresponds to the JSON property `content`
16383
+ # @return [String]
16384
+ attr_accessor :content
16385
+
16386
+ # Output only. Create time of the tool call result.
16387
+ # Corresponds to the JSON property `createTime`
16388
+ # @return [String]
16389
+ attr_accessor :create_time
16390
+
16391
+ # An error produced by the tool call.
16392
+ # Corresponds to the JSON property `error`
16393
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ToolCallResultError]
16394
+ attr_accessor :error
16395
+
16396
+ # Only populated if the response content is not utf-8 encoded. (by definition
16397
+ # byte fields are base64 encoded).
16398
+ # Corresponds to the JSON property `rawContent`
16399
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
16400
+ # @return [String]
16401
+ attr_accessor :raw_content
16402
+
16403
+ # Required. The tool associated with this call. Format: `projects//locations//
16404
+ # tools/`.
16405
+ # Corresponds to the JSON property `tool`
16406
+ # @return [String]
16407
+ attr_accessor :tool
16408
+
16409
+ def initialize(**args)
16410
+ update!(**args)
16411
+ end
16412
+
16413
+ # Update properties of this object
16414
+ def update!(**args)
16415
+ @action = args[:action] if args.key?(:action)
16416
+ @content = args[:content] if args.key?(:content)
16417
+ @create_time = args[:create_time] if args.key?(:create_time)
16418
+ @error = args[:error] if args.key?(:error)
16419
+ @raw_content = args[:raw_content] if args.key?(:raw_content)
16420
+ @tool = args[:tool] if args.key?(:tool)
16421
+ end
16422
+ end
16423
+
16424
+ # An error produced by the tool call.
16425
+ class GoogleCloudDialogflowV2ToolCallResultError
16426
+ include Google::Apis::Core::Hashable
16427
+
16428
+ # Optional. The error message of the function.
16429
+ # Corresponds to the JSON property `message`
16430
+ # @return [String]
16431
+ attr_accessor :message
16432
+
16433
+ def initialize(**args)
16434
+ update!(**args)
16435
+ end
16436
+
16437
+ # Update properties of this object
16438
+ def update!(**args)
16439
+ @message = args[:message] if args.key?(:message)
16440
+ end
16441
+ end
16442
+
16209
16443
  # Metadata for a ConversationModels.UndeployConversationModel operation.
16210
16444
  class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
16211
16445
  include Google::Apis::Core::Hashable
@@ -17069,6 +17303,11 @@ module Google
17069
17303
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SummarySuggestion]
17070
17304
  attr_accessor :summary_suggestion
17071
17305
 
17306
+ # Optional. List of request and response for tool calls executed.
17307
+ # Corresponds to the JSON property `toolCallInfo`
17308
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo>]
17309
+ attr_accessor :tool_call_info
17310
+
17072
17311
  def initialize(**args)
17073
17312
  update!(**args)
17074
17313
  end
@@ -17077,6 +17316,32 @@ module Google
17077
17316
  def update!(**args)
17078
17317
  @free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
17079
17318
  @summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
17319
+ @tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
17320
+ end
17321
+ end
17322
+
17323
+ # Request and response for a tool call.
17324
+ class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
17325
+ include Google::Apis::Core::Hashable
17326
+
17327
+ # Represents a call of a specific tool's action with the specified inputs.
17328
+ # Corresponds to the JSON property `toolCall`
17329
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ToolCall]
17330
+ attr_accessor :tool_call
17331
+
17332
+ # The result of calling a tool's action.
17333
+ # Corresponds to the JSON property `toolCallResult`
17334
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ToolCallResult]
17335
+ attr_accessor :tool_call_result
17336
+
17337
+ def initialize(**args)
17338
+ update!(**args)
17339
+ end
17340
+
17341
+ # Update properties of this object
17342
+ def update!(**args)
17343
+ @tool_call = args[:tool_call] if args.key?(:tool_call)
17344
+ @tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
17080
17345
  end
17081
17346
  end
17082
17347
 
@@ -20350,6 +20615,115 @@ module Google
20350
20615
  end
20351
20616
  end
20352
20617
 
20618
+ # Represents a call of a specific tool's action with the specified inputs.
20619
+ class GoogleCloudDialogflowV2beta1ToolCall
20620
+ include Google::Apis::Core::Hashable
20621
+
20622
+ # Required. The name of the tool's action associated with this call.
20623
+ # Corresponds to the JSON property `action`
20624
+ # @return [String]
20625
+ attr_accessor :action
20626
+
20627
+ # Output only. Create time of the tool call.
20628
+ # Corresponds to the JSON property `createTime`
20629
+ # @return [String]
20630
+ attr_accessor :create_time
20631
+
20632
+ # Optional. The action's input parameters.
20633
+ # Corresponds to the JSON property `inputParameters`
20634
+ # @return [Hash<String,Object>]
20635
+ attr_accessor :input_parameters
20636
+
20637
+ # Required. The tool associated with this call. Format: `projects//locations//
20638
+ # tools/`.
20639
+ # Corresponds to the JSON property `tool`
20640
+ # @return [String]
20641
+ attr_accessor :tool
20642
+
20643
+ def initialize(**args)
20644
+ update!(**args)
20645
+ end
20646
+
20647
+ # Update properties of this object
20648
+ def update!(**args)
20649
+ @action = args[:action] if args.key?(:action)
20650
+ @create_time = args[:create_time] if args.key?(:create_time)
20651
+ @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
20652
+ @tool = args[:tool] if args.key?(:tool)
20653
+ end
20654
+ end
20655
+
20656
+ # The result of calling a tool's action.
20657
+ class GoogleCloudDialogflowV2beta1ToolCallResult
20658
+ include Google::Apis::Core::Hashable
20659
+
20660
+ # Required. The name of the tool's action associated with this call.
20661
+ # Corresponds to the JSON property `action`
20662
+ # @return [String]
20663
+ attr_accessor :action
20664
+
20665
+ # Only populated if the response content is utf-8 encoded.
20666
+ # Corresponds to the JSON property `content`
20667
+ # @return [String]
20668
+ attr_accessor :content
20669
+
20670
+ # Output only. Create time of the tool call result.
20671
+ # Corresponds to the JSON property `createTime`
20672
+ # @return [String]
20673
+ attr_accessor :create_time
20674
+
20675
+ # An error produced by the tool call.
20676
+ # Corresponds to the JSON property `error`
20677
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ToolCallResultError]
20678
+ attr_accessor :error
20679
+
20680
+ # Only populated if the response content is not utf-8 encoded. (by definition
20681
+ # byte fields are base64 encoded).
20682
+ # Corresponds to the JSON property `rawContent`
20683
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
20684
+ # @return [String]
20685
+ attr_accessor :raw_content
20686
+
20687
+ # Required. The tool associated with this call. Format: `projects//locations//
20688
+ # tools/`.
20689
+ # Corresponds to the JSON property `tool`
20690
+ # @return [String]
20691
+ attr_accessor :tool
20692
+
20693
+ def initialize(**args)
20694
+ update!(**args)
20695
+ end
20696
+
20697
+ # Update properties of this object
20698
+ def update!(**args)
20699
+ @action = args[:action] if args.key?(:action)
20700
+ @content = args[:content] if args.key?(:content)
20701
+ @create_time = args[:create_time] if args.key?(:create_time)
20702
+ @error = args[:error] if args.key?(:error)
20703
+ @raw_content = args[:raw_content] if args.key?(:raw_content)
20704
+ @tool = args[:tool] if args.key?(:tool)
20705
+ end
20706
+ end
20707
+
20708
+ # An error produced by the tool call.
20709
+ class GoogleCloudDialogflowV2beta1ToolCallResultError
20710
+ include Google::Apis::Core::Hashable
20711
+
20712
+ # Optional. The error message of the function.
20713
+ # Corresponds to the JSON property `message`
20714
+ # @return [String]
20715
+ attr_accessor :message
20716
+
20717
+ def initialize(**args)
20718
+ update!(**args)
20719
+ end
20720
+
20721
+ # Update properties of this object
20722
+ def update!(**args)
20723
+ @message = args[:message] if args.key?(:message)
20724
+ end
20725
+ end
20726
+
20353
20727
  # The request message for a webhook call.
20354
20728
  class GoogleCloudDialogflowV2beta1WebhookRequest
20355
20729
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3
18
18
  # Version of the google-apis-dialogflow_v3 gem
19
- GEM_VERSION = "0.104.0"
19
+ GEM_VERSION = "0.105.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250310"
25
+ REVISION = "20250325"
26
26
  end
27
27
  end
28
28
  end
@@ -1390,6 +1390,12 @@ module Google
1390
1390
  include Google::Apis::Core::JsonObjectSupport
1391
1391
  end
1392
1392
 
1393
+ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue
1394
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1395
+
1396
+ include Google::Apis::Core::JsonObjectSupport
1397
+ end
1398
+
1393
1399
  class GoogleCloudDialogflowCxV3WebhookRequest
1394
1400
  class Representation < Google::Apis::Core::JsonRepresentation; end
1395
1401
 
@@ -2008,6 +2014,12 @@ module Google
2008
2014
  include Google::Apis::Core::JsonObjectSupport
2009
2015
  end
2010
2016
 
2017
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
2018
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2019
+
2020
+ include Google::Apis::Core::JsonObjectSupport
2021
+ end
2022
+
2011
2023
  class GoogleCloudDialogflowCxV3beta1WebhookRequest
2012
2024
  class Representation < Google::Apis::Core::JsonRepresentation; end
2013
2025
 
@@ -2218,6 +2230,12 @@ module Google
2218
2230
  include Google::Apis::Core::JsonObjectSupport
2219
2231
  end
2220
2232
 
2233
+ class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
2234
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2235
+
2236
+ include Google::Apis::Core::JsonObjectSupport
2237
+ end
2238
+
2221
2239
  class GoogleCloudDialogflowV2HumanAgentAssistantEvent
2222
2240
  class Representation < Google::Apis::Core::JsonRepresentation; end
2223
2241
 
@@ -2614,6 +2632,24 @@ module Google
2614
2632
  include Google::Apis::Core::JsonObjectSupport
2615
2633
  end
2616
2634
 
2635
+ class GoogleCloudDialogflowV2ToolCall
2636
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2637
+
2638
+ include Google::Apis::Core::JsonObjectSupport
2639
+ end
2640
+
2641
+ class GoogleCloudDialogflowV2ToolCallResult
2642
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2643
+
2644
+ include Google::Apis::Core::JsonObjectSupport
2645
+ end
2646
+
2647
+ class GoogleCloudDialogflowV2ToolCallResultError
2648
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2649
+
2650
+ include Google::Apis::Core::JsonObjectSupport
2651
+ end
2652
+
2617
2653
  class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
2618
2654
  class Representation < Google::Apis::Core::JsonRepresentation; end
2619
2655
 
@@ -2752,6 +2788,12 @@ module Google
2752
2788
  include Google::Apis::Core::JsonObjectSupport
2753
2789
  end
2754
2790
 
2791
+ class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
2792
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2793
+
2794
+ include Google::Apis::Core::JsonObjectSupport
2795
+ end
2796
+
2755
2797
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
2756
2798
  class Representation < Google::Apis::Core::JsonRepresentation; end
2757
2799
 
@@ -3280,6 +3322,24 @@ module Google
3280
3322
  include Google::Apis::Core::JsonObjectSupport
3281
3323
  end
3282
3324
 
3325
+ class GoogleCloudDialogflowV2beta1ToolCall
3326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3327
+
3328
+ include Google::Apis::Core::JsonObjectSupport
3329
+ end
3330
+
3331
+ class GoogleCloudDialogflowV2beta1ToolCallResult
3332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3333
+
3334
+ include Google::Apis::Core::JsonObjectSupport
3335
+ end
3336
+
3337
+ class GoogleCloudDialogflowV2beta1ToolCallResultError
3338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3339
+
3340
+ include Google::Apis::Core::JsonObjectSupport
3341
+ end
3342
+
3283
3343
  class GoogleCloudDialogflowV2beta1WebhookRequest
3284
3344
  class Representation < Google::Apis::Core::JsonRepresentation; end
3285
3345
 
@@ -5626,6 +5686,9 @@ module Google
5626
5686
  property :password, as: 'password'
5627
5687
  property :request_body, as: 'requestBody'
5628
5688
  hash :request_headers, as: 'requestHeaders'
5689
+ property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
5690
+ hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue::Representation
5691
+
5629
5692
  property :service_agent_auth, as: 'serviceAgentAuth'
5630
5693
  property :uri, as: 'uri'
5631
5694
  property :username, as: 'username'
@@ -5639,10 +5702,18 @@ module Google
5639
5702
  property :client_id, as: 'clientId'
5640
5703
  property :client_secret, as: 'clientSecret'
5641
5704
  collection :scopes, as: 'scopes'
5705
+ property :secret_version_for_client_secret, as: 'secretVersionForClientSecret'
5642
5706
  property :token_endpoint, as: 'tokenEndpoint'
5643
5707
  end
5644
5708
  end
5645
5709
 
5710
+ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue
5711
+ # @private
5712
+ class Representation < Google::Apis::Core::JsonRepresentation
5713
+ property :secret_version, as: 'secretVersion'
5714
+ end
5715
+ end
5716
+
5646
5717
  class GoogleCloudDialogflowCxV3WebhookRequest
5647
5718
  # @private
5648
5719
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6658,6 +6729,9 @@ module Google
6658
6729
  property :password, as: 'password'
6659
6730
  property :request_body, as: 'requestBody'
6660
6731
  hash :request_headers, as: 'requestHeaders'
6732
+ property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
6733
+ hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue::Representation
6734
+
6661
6735
  property :service_agent_auth, as: 'serviceAgentAuth'
6662
6736
  property :uri, as: 'uri'
6663
6737
  property :username, as: 'username'
@@ -6671,10 +6745,18 @@ module Google
6671
6745
  property :client_id, as: 'clientId'
6672
6746
  property :client_secret, as: 'clientSecret'
6673
6747
  collection :scopes, as: 'scopes'
6748
+ property :secret_version_for_client_secret, as: 'secretVersionForClientSecret'
6674
6749
  property :token_endpoint, as: 'tokenEndpoint'
6675
6750
  end
6676
6751
  end
6677
6752
 
6753
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
6754
+ # @private
6755
+ class Representation < Google::Apis::Core::JsonRepresentation
6756
+ property :secret_version, as: 'secretVersion'
6757
+ end
6758
+ end
6759
+
6678
6760
  class GoogleCloudDialogflowCxV3beta1WebhookRequest
6679
6761
  # @private
6680
6762
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7020,6 +7102,18 @@ module Google
7020
7102
 
7021
7103
  property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SummarySuggestion, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SummarySuggestion::Representation
7022
7104
 
7105
+ collection :tool_call_info, as: 'toolCallInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo::Representation
7106
+
7107
+ end
7108
+ end
7109
+
7110
+ class GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo
7111
+ # @private
7112
+ class Representation < Google::Apis::Core::JsonRepresentation
7113
+ property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ToolCall, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ToolCall::Representation
7114
+
7115
+ property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ToolCallResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ToolCallResult::Representation
7116
+
7023
7117
  end
7024
7118
  end
7025
7119
 
@@ -7718,6 +7812,36 @@ module Google
7718
7812
  end
7719
7813
  end
7720
7814
 
7815
+ class GoogleCloudDialogflowV2ToolCall
7816
+ # @private
7817
+ class Representation < Google::Apis::Core::JsonRepresentation
7818
+ property :action, as: 'action'
7819
+ property :create_time, as: 'createTime'
7820
+ hash :input_parameters, as: 'inputParameters'
7821
+ property :tool, as: 'tool'
7822
+ end
7823
+ end
7824
+
7825
+ class GoogleCloudDialogflowV2ToolCallResult
7826
+ # @private
7827
+ class Representation < Google::Apis::Core::JsonRepresentation
7828
+ property :action, as: 'action'
7829
+ property :content, as: 'content'
7830
+ property :create_time, as: 'createTime'
7831
+ property :error, as: 'error', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ToolCallResultError, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ToolCallResultError::Representation
7832
+
7833
+ property :raw_content, :base64 => true, as: 'rawContent'
7834
+ property :tool, as: 'tool'
7835
+ end
7836
+ end
7837
+
7838
+ class GoogleCloudDialogflowV2ToolCallResultError
7839
+ # @private
7840
+ class Representation < Google::Apis::Core::JsonRepresentation
7841
+ property :message, as: 'message'
7842
+ end
7843
+ end
7844
+
7721
7845
  class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
7722
7846
  # @private
7723
7847
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7941,6 +8065,18 @@ module Google
7941
8065
 
7942
8066
  property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SummarySuggestion, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SummarySuggestion::Representation
7943
8067
 
8068
+ collection :tool_call_info, as: 'toolCallInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo::Representation
8069
+
8070
+ end
8071
+ end
8072
+
8073
+ class GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo
8074
+ # @private
8075
+ class Representation < Google::Apis::Core::JsonRepresentation
8076
+ property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ToolCall, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ToolCall::Representation
8077
+
8078
+ property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ToolCallResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ToolCallResult::Representation
8079
+
7944
8080
  end
7945
8081
  end
7946
8082
 
@@ -8861,6 +8997,36 @@ module Google
8861
8997
  end
8862
8998
  end
8863
8999
 
9000
+ class GoogleCloudDialogflowV2beta1ToolCall
9001
+ # @private
9002
+ class Representation < Google::Apis::Core::JsonRepresentation
9003
+ property :action, as: 'action'
9004
+ property :create_time, as: 'createTime'
9005
+ hash :input_parameters, as: 'inputParameters'
9006
+ property :tool, as: 'tool'
9007
+ end
9008
+ end
9009
+
9010
+ class GoogleCloudDialogflowV2beta1ToolCallResult
9011
+ # @private
9012
+ class Representation < Google::Apis::Core::JsonRepresentation
9013
+ property :action, as: 'action'
9014
+ property :content, as: 'content'
9015
+ property :create_time, as: 'createTime'
9016
+ property :error, as: 'error', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ToolCallResultError, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ToolCallResultError::Representation
9017
+
9018
+ property :raw_content, :base64 => true, as: 'rawContent'
9019
+ property :tool, as: 'tool'
9020
+ end
9021
+ end
9022
+
9023
+ class GoogleCloudDialogflowV2beta1ToolCallResultError
9024
+ # @private
9025
+ class Representation < Google::Apis::Core::JsonRepresentation
9026
+ property :message, as: 'message'
9027
+ end
9028
+ end
9029
+
8864
9030
  class GoogleCloudDialogflowV2beta1WebhookRequest
8865
9031
  # @private
8866
9032
  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, 'v3/{+name}/locations', options)
117
120
  command.response_representation = Google::Apis::DialogflowV3::GoogleCloudLocationListLocationsResponse::Representation
118
121
  command.response_class = Google::Apis::DialogflowV3::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_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.104.0
4
+ version: 0.105.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-16 00:00:00.000000000 Z
10
+ date: 2025-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_v3/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.104.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.105.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3
62
62
  rdoc_options: []
63
63
  require_paths: