google-apis-dialogflow_v2beta1 0.112.0 → 0.114.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: b2c68a82f9f9aa31447abb6aa12f780f1d5eaf3dbb9bcda3f169c19f99fda3a5
4
- data.tar.gz: 32835351a4f10d422999a2aa3756ec022bd001bf5a654729182ac62ff0f78b88
3
+ metadata.gz: 779f2bad0a6e2c055053db0aca4e9b24ce972d8bab11f5c293e827425d1e724d
4
+ data.tar.gz: 883fb3cdcfc89ae5931c737af38ff8636c1385e9246c06c2699b4f3e3a2ea0e0
5
5
  SHA512:
6
- metadata.gz: 632ad7e4fbb8e5aa63094e396209dcef5a33b79908eaf88b076d84e53884f8f8c247a509073ab70a4510f8f97f1de0d78767551a08e652044406446c4523203a
7
- data.tar.gz: f759954fe1279358c39b6e3bcc4713fe455984c4d30aed42c5a012de8076287e4616350cc0f0516e67728ed19b97a489af5895825d047f495cd1600de23244a6
6
+ metadata.gz: 954482143a6995075d75b3599a70311855e9d64d2e66725163069a014f2db9b1942c285415fdf8aa456f868a1c2231b303874326149d595474e2596591012916
7
+ data.tar.gz: b98693c6a1d7795638697cfc6bc4aeed6a28a55fe5303e276e71ec96718ac8dd85ea721eeac41c6d90347de3a7129f6eef4f72a40bbde37b6b59284614a641e2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.114.0 (2025-11-02)
4
+
5
+ * Regenerated from discovery document revision 20251027
6
+
7
+ ### v0.113.0 (2025-10-12)
8
+
9
+ * Regenerated from discovery document revision 20251007
10
+
3
11
  ### v0.112.0 (2025-10-05)
4
12
 
5
13
  * Regenerated from discovery document revision 20250930
@@ -3507,6 +3507,11 @@ module Google
3507
3507
  # @return [Hash<String,Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue>]
3508
3508
  attr_accessor :secret_versions_for_request_headers
3509
3509
 
3510
+ # Configuration for authentication using a service account.
3511
+ # Corresponds to the JSON property `serviceAccountAuthConfig`
3512
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig]
3513
+ attr_accessor :service_account_auth_config
3514
+
3510
3515
  # Optional. Indicate the auth token type generated from the [Diglogflow service
3511
3516
  # agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
3512
3517
  # agent). The generated token is sent in the Authorization header.
@@ -3545,6 +3550,7 @@ module Google
3545
3550
  @request_headers = args[:request_headers] if args.key?(:request_headers)
3546
3551
  @secret_version_for_username_password = args[:secret_version_for_username_password] if args.key?(:secret_version_for_username_password)
3547
3552
  @secret_versions_for_request_headers = args[:secret_versions_for_request_headers] if args.key?(:secret_versions_for_request_headers)
3553
+ @service_account_auth_config = args[:service_account_auth_config] if args.key?(:service_account_auth_config)
3548
3554
  @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
3549
3555
  @uri = args[:uri] if args.key?(:uri)
3550
3556
  @username = args[:username] if args.key?(:username)
@@ -3620,6 +3626,30 @@ module Google
3620
3626
  end
3621
3627
  end
3622
3628
 
3629
+ # Configuration for authentication using a service account.
3630
+ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig
3631
+ include Google::Apis::Core::Hashable
3632
+
3633
+ # Required. The email address of the service account used to authenticate the
3634
+ # webhook call. Dialogflow uses this service account to exchange an access token
3635
+ # and the access token is then sent in the `Authorization` header of the webhook
3636
+ # request. The service account must have the `roles/iam.
3637
+ # serviceAccountTokenCreator` role granted to the [Dialogflow service agent](
3638
+ # https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).
3639
+ # Corresponds to the JSON property `serviceAccount`
3640
+ # @return [String]
3641
+ attr_accessor :service_account
3642
+
3643
+ def initialize(**args)
3644
+ update!(**args)
3645
+ end
3646
+
3647
+ # Update properties of this object
3648
+ def update!(**args)
3649
+ @service_account = args[:service_account] if args.key?(:service_account)
3650
+ end
3651
+ end
3652
+
3623
3653
  # The request message for a webhook call. The request is sent as a JSON object
3624
3654
  # and the field names will be presented in camel cases. You may see undocumented
3625
3655
  # fields in an actual request. These fields are used internally by Dialogflow
@@ -7432,6 +7462,11 @@ module Google
7432
7462
  # @return [Hash<String,Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue>]
7433
7463
  attr_accessor :secret_versions_for_request_headers
7434
7464
 
7465
+ # Configuration for authentication using a service account.
7466
+ # Corresponds to the JSON property `serviceAccountAuthConfig`
7467
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig]
7468
+ attr_accessor :service_account_auth_config
7469
+
7435
7470
  # Optional. Indicate the auth token type generated from the [Diglogflow service
7436
7471
  # agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
7437
7472
  # agent). The generated token is sent in the Authorization header.
@@ -7470,6 +7505,7 @@ module Google
7470
7505
  @request_headers = args[:request_headers] if args.key?(:request_headers)
7471
7506
  @secret_version_for_username_password = args[:secret_version_for_username_password] if args.key?(:secret_version_for_username_password)
7472
7507
  @secret_versions_for_request_headers = args[:secret_versions_for_request_headers] if args.key?(:secret_versions_for_request_headers)
7508
+ @service_account_auth_config = args[:service_account_auth_config] if args.key?(:service_account_auth_config)
7473
7509
  @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
7474
7510
  @uri = args[:uri] if args.key?(:uri)
7475
7511
  @username = args[:username] if args.key?(:username)
@@ -7545,6 +7581,30 @@ module Google
7545
7581
  end
7546
7582
  end
7547
7583
 
7584
+ # Configuration for authentication using a service account.
7585
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig
7586
+ include Google::Apis::Core::Hashable
7587
+
7588
+ # Required. The email address of the service account used to authenticate the
7589
+ # webhook call. Dialogflow uses this service account to exchange an access token
7590
+ # and the access token is then sent in the `Authorization` header of the webhook
7591
+ # request. The service account must have the `roles/iam.
7592
+ # serviceAccountTokenCreator` role granted to the [Dialogflow service agent](
7593
+ # https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).
7594
+ # Corresponds to the JSON property `serviceAccount`
7595
+ # @return [String]
7596
+ attr_accessor :service_account
7597
+
7598
+ def initialize(**args)
7599
+ update!(**args)
7600
+ end
7601
+
7602
+ # Update properties of this object
7603
+ def update!(**args)
7604
+ @service_account = args[:service_account] if args.key?(:service_account)
7605
+ end
7606
+ end
7607
+
7548
7608
  # The request message for a webhook call. The request is sent as a JSON object
7549
7609
  # and the field names will be presented in camel cases. You may see undocumented
7550
7610
  # fields in an actual request. These fields are used internally by Dialogflow
@@ -19733,6 +19793,32 @@ module Google
19733
19793
  end
19734
19794
  end
19735
19795
 
19796
+ # Response of ListTools.
19797
+ class GoogleCloudDialogflowV2beta1ListToolsResponse
19798
+ include Google::Apis::Core::Hashable
19799
+
19800
+ # Token to retrieve the next page of results, or empty if there are no more
19801
+ # results in the list.
19802
+ # Corresponds to the JSON property `nextPageToken`
19803
+ # @return [String]
19804
+ attr_accessor :next_page_token
19805
+
19806
+ # List of tools retrieved.
19807
+ # Corresponds to the JSON property `tools`
19808
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool>]
19809
+ attr_accessor :tools
19810
+
19811
+ def initialize(**args)
19812
+ update!(**args)
19813
+ end
19814
+
19815
+ # Update properties of this object
19816
+ def update!(**args)
19817
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
19818
+ @tools = args[:tools] if args.key?(:tools)
19819
+ end
19820
+ end
19821
+
19736
19822
  # The response message for Versions.ListVersions.
19737
19823
  class GoogleCloudDialogflowV2beta1ListVersionsResponse
19738
19824
  include Google::Apis::Core::Hashable
@@ -23289,6 +23375,295 @@ module Google
23289
23375
  end
23290
23376
  end
23291
23377
 
23378
+ # Represents a tool.
23379
+ class GoogleCloudDialogflowV2beta1Tool
23380
+ include Google::Apis::Core::Hashable
23381
+
23382
+ # Optional. Confirmation requirement for the actions. Each key is an action name
23383
+ # in the action_schemas. If an action's confirmation requirement is unspecified (
23384
+ # either the key is not present, or its value is
23385
+ # CONFIRMATION_REQUIREMENT_UNSPECIFIED), the requirement is inferred from the
23386
+ # action's method_type - confirmation is not required if and only if method_type
23387
+ # is GET.
23388
+ # Corresponds to the JSON property `actionConfirmationRequirement`
23389
+ # @return [Hash<String,String>]
23390
+ attr_accessor :action_confirmation_requirement
23391
+
23392
+ # A ConnectorTool enabling using Integration Connectors Connections as tools.
23393
+ # Corresponds to the JSON property `connectorSpec`
23394
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorTool]
23395
+ attr_accessor :connector_spec
23396
+
23397
+ # Output only. Creation time of this tool.
23398
+ # Corresponds to the JSON property `createTime`
23399
+ # @return [String]
23400
+ attr_accessor :create_time
23401
+
23402
+ # Optional. A human readable description of the tool.
23403
+ # Corresponds to the JSON property `description`
23404
+ # @return [String]
23405
+ attr_accessor :description
23406
+
23407
+ # Optional. A human readable short name of the tool, to be shown on the UI.
23408
+ # Corresponds to the JSON property `displayName`
23409
+ # @return [String]
23410
+ attr_accessor :display_name
23411
+
23412
+ # An ExtensionTool is a way to use Vertex Extensions as a tool.
23413
+ # Corresponds to the JSON property `extensionSpec`
23414
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolExtensionTool]
23415
+ attr_accessor :extension_spec
23416
+
23417
+ # A Function tool describes the functions to be invoked on the client side.
23418
+ # Corresponds to the JSON property `functionSpec`
23419
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolFunctionTool]
23420
+ attr_accessor :function_spec
23421
+
23422
+ # Output only. Identifier. The resource name of the tool. Format: `projects//
23423
+ # locations//tools/`.
23424
+ # Corresponds to the JSON property `name`
23425
+ # @return [String]
23426
+ attr_accessor :name
23427
+
23428
+ # An OpenAPI tool is a way to provide the Tool specifications in the Open API
23429
+ # schema format.
23430
+ # Corresponds to the JSON property `openApiSpec`
23431
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolOpenApiTool]
23432
+ attr_accessor :open_api_spec
23433
+
23434
+ # Output only. A read only boolean field reflecting Zone Isolation status of the
23435
+ # tool. If the field is absent, it means the status is unknown.
23436
+ # Corresponds to the JSON property `satisfiesPzi`
23437
+ # @return [Boolean]
23438
+ attr_accessor :satisfies_pzi
23439
+ alias_method :satisfies_pzi?, :satisfies_pzi
23440
+
23441
+ # Output only. A read only boolean field reflecting Zone Separation status of
23442
+ # the tool. If the field is absent, it means the status is unknown.
23443
+ # Corresponds to the JSON property `satisfiesPzs`
23444
+ # @return [Boolean]
23445
+ attr_accessor :satisfies_pzs
23446
+ alias_method :satisfies_pzs?, :satisfies_pzs
23447
+
23448
+ # Required. A human readable short name of the tool, which should be unique
23449
+ # within the project. It should only contain letters, numbers, and underscores,
23450
+ # and it will be used by LLM to identify the tool.
23451
+ # Corresponds to the JSON property `toolKey`
23452
+ # @return [String]
23453
+ attr_accessor :tool_key
23454
+
23455
+ # Output only. Update time of this tool.
23456
+ # Corresponds to the JSON property `updateTime`
23457
+ # @return [String]
23458
+ attr_accessor :update_time
23459
+
23460
+ def initialize(**args)
23461
+ update!(**args)
23462
+ end
23463
+
23464
+ # Update properties of this object
23465
+ def update!(**args)
23466
+ @action_confirmation_requirement = args[:action_confirmation_requirement] if args.key?(:action_confirmation_requirement)
23467
+ @connector_spec = args[:connector_spec] if args.key?(:connector_spec)
23468
+ @create_time = args[:create_time] if args.key?(:create_time)
23469
+ @description = args[:description] if args.key?(:description)
23470
+ @display_name = args[:display_name] if args.key?(:display_name)
23471
+ @extension_spec = args[:extension_spec] if args.key?(:extension_spec)
23472
+ @function_spec = args[:function_spec] if args.key?(:function_spec)
23473
+ @name = args[:name] if args.key?(:name)
23474
+ @open_api_spec = args[:open_api_spec] if args.key?(:open_api_spec)
23475
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
23476
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
23477
+ @tool_key = args[:tool_key] if args.key?(:tool_key)
23478
+ @update_time = args[:update_time] if args.key?(:update_time)
23479
+ end
23480
+ end
23481
+
23482
+ # Authentication information required for API calls
23483
+ class GoogleCloudDialogflowV2beta1ToolAuthentication
23484
+ include Google::Apis::Core::Hashable
23485
+
23486
+ # Config for authentication with API key.
23487
+ # Corresponds to the JSON property `apiKeyConfig`
23488
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolAuthenticationApiKeyConfig]
23489
+ attr_accessor :api_key_config
23490
+
23491
+ # Config for authentication using bearer token.
23492
+ # Corresponds to the JSON property `bearerTokenConfig`
23493
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolAuthenticationBearerTokenConfig]
23494
+ attr_accessor :bearer_token_config
23495
+
23496
+ # Config for authentication with OAuth.
23497
+ # Corresponds to the JSON property `oauthConfig`
23498
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolAuthenticationOAuthConfig]
23499
+ attr_accessor :oauth_config
23500
+
23501
+ # Config for auth using [Dialogflow service agent](https://cloud.google.com/iam/
23502
+ # docs/service-agents#dialogflow-service-agent).
23503
+ # Corresponds to the JSON property `serviceAgentAuthConfig`
23504
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolAuthenticationServiceAgentAuthConfig]
23505
+ attr_accessor :service_agent_auth_config
23506
+
23507
+ def initialize(**args)
23508
+ update!(**args)
23509
+ end
23510
+
23511
+ # Update properties of this object
23512
+ def update!(**args)
23513
+ @api_key_config = args[:api_key_config] if args.key?(:api_key_config)
23514
+ @bearer_token_config = args[:bearer_token_config] if args.key?(:bearer_token_config)
23515
+ @oauth_config = args[:oauth_config] if args.key?(:oauth_config)
23516
+ @service_agent_auth_config = args[:service_agent_auth_config] if args.key?(:service_agent_auth_config)
23517
+ end
23518
+ end
23519
+
23520
+ # Config for authentication with API key.
23521
+ class GoogleCloudDialogflowV2beta1ToolAuthenticationApiKeyConfig
23522
+ include Google::Apis::Core::Hashable
23523
+
23524
+ # Optional. The API key. If the `secret_version_for_api_key` field is set, this
23525
+ # field will be ignored.
23526
+ # Corresponds to the JSON property `apiKey`
23527
+ # @return [String]
23528
+ attr_accessor :api_key
23529
+
23530
+ # Required. The parameter name or the header name of the API key. E.g., If the
23531
+ # API request is "https://example.com/act?X-Api-Key=", "X-Api-Key" would be the
23532
+ # parameter name.
23533
+ # Corresponds to the JSON property `keyName`
23534
+ # @return [String]
23535
+ attr_accessor :key_name
23536
+
23537
+ # Required. Key location in the request.
23538
+ # Corresponds to the JSON property `requestLocation`
23539
+ # @return [String]
23540
+ attr_accessor :request_location
23541
+
23542
+ # Optional. The name of the SecretManager secret version resource storing the
23543
+ # API key. If this field is set, the `api_key` field will be ignored. Format: `
23544
+ # projects/`project`/secrets/`secret`/versions/`version``
23545
+ # Corresponds to the JSON property `secretVersionForApiKey`
23546
+ # @return [String]
23547
+ attr_accessor :secret_version_for_api_key
23548
+
23549
+ def initialize(**args)
23550
+ update!(**args)
23551
+ end
23552
+
23553
+ # Update properties of this object
23554
+ def update!(**args)
23555
+ @api_key = args[:api_key] if args.key?(:api_key)
23556
+ @key_name = args[:key_name] if args.key?(:key_name)
23557
+ @request_location = args[:request_location] if args.key?(:request_location)
23558
+ @secret_version_for_api_key = args[:secret_version_for_api_key] if args.key?(:secret_version_for_api_key)
23559
+ end
23560
+ end
23561
+
23562
+ # Config for authentication using bearer token.
23563
+ class GoogleCloudDialogflowV2beta1ToolAuthenticationBearerTokenConfig
23564
+ include Google::Apis::Core::Hashable
23565
+
23566
+ # Optional. The name of the SecretManager secret version resource storing the
23567
+ # Bearer token. If this field is set, the `token` field will be ignored. Format:
23568
+ # `projects/`project`/secrets/`secret`/versions/`version``
23569
+ # Corresponds to the JSON property `secretVersionForToken`
23570
+ # @return [String]
23571
+ attr_accessor :secret_version_for_token
23572
+
23573
+ # Optional. The text token appended to the text `Bearer` to the request
23574
+ # Authorization header. [Session parameters reference](https://cloud.google.com/
23575
+ # dialogflow/cx/docs/concept/parameter#session-ref) can be used to pass the
23576
+ # token dynamically, e.g. `$session.params.parameter-id`.
23577
+ # Corresponds to the JSON property `token`
23578
+ # @return [String]
23579
+ attr_accessor :token
23580
+
23581
+ def initialize(**args)
23582
+ update!(**args)
23583
+ end
23584
+
23585
+ # Update properties of this object
23586
+ def update!(**args)
23587
+ @secret_version_for_token = args[:secret_version_for_token] if args.key?(:secret_version_for_token)
23588
+ @token = args[:token] if args.key?(:token)
23589
+ end
23590
+ end
23591
+
23592
+ # Config for authentication with OAuth.
23593
+ class GoogleCloudDialogflowV2beta1ToolAuthenticationOAuthConfig
23594
+ include Google::Apis::Core::Hashable
23595
+
23596
+ # Required. The client ID from the OAuth provider.
23597
+ # Corresponds to the JSON property `clientId`
23598
+ # @return [String]
23599
+ attr_accessor :client_id
23600
+
23601
+ # Optional. The client secret from the OAuth provider. If the `
23602
+ # secret_version_for_client_secret` field is set, this field will be ignored.
23603
+ # Corresponds to the JSON property `clientSecret`
23604
+ # @return [String]
23605
+ attr_accessor :client_secret
23606
+
23607
+ # Required. OAuth grant types.
23608
+ # Corresponds to the JSON property `oauthGrantType`
23609
+ # @return [String]
23610
+ attr_accessor :oauth_grant_type
23611
+
23612
+ # Optional. The OAuth scopes to grant.
23613
+ # Corresponds to the JSON property `scopes`
23614
+ # @return [Array<String>]
23615
+ attr_accessor :scopes
23616
+
23617
+ # Optional. The name of the SecretManager secret version resource storing the
23618
+ # client secret. If this field is set, the `client_secret` field will be ignored.
23619
+ # Format: `projects/`project`/secrets/`secret`/versions/`version``
23620
+ # Corresponds to the JSON property `secretVersionForClientSecret`
23621
+ # @return [String]
23622
+ attr_accessor :secret_version_for_client_secret
23623
+
23624
+ # Required. The token endpoint in the OAuth provider to exchange for an access
23625
+ # token.
23626
+ # Corresponds to the JSON property `tokenEndpoint`
23627
+ # @return [String]
23628
+ attr_accessor :token_endpoint
23629
+
23630
+ def initialize(**args)
23631
+ update!(**args)
23632
+ end
23633
+
23634
+ # Update properties of this object
23635
+ def update!(**args)
23636
+ @client_id = args[:client_id] if args.key?(:client_id)
23637
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
23638
+ @oauth_grant_type = args[:oauth_grant_type] if args.key?(:oauth_grant_type)
23639
+ @scopes = args[:scopes] if args.key?(:scopes)
23640
+ @secret_version_for_client_secret = args[:secret_version_for_client_secret] if args.key?(:secret_version_for_client_secret)
23641
+ @token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
23642
+ end
23643
+ end
23644
+
23645
+ # Config for auth using [Dialogflow service agent](https://cloud.google.com/iam/
23646
+ # docs/service-agents#dialogflow-service-agent).
23647
+ class GoogleCloudDialogflowV2beta1ToolAuthenticationServiceAgentAuthConfig
23648
+ include Google::Apis::Core::Hashable
23649
+
23650
+ # Optional. Indicate the auth token type generated from the [Diglogflow service
23651
+ # agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
23652
+ # agent). The generated token is sent in the Authorization header.
23653
+ # Corresponds to the JSON property `serviceAgentAuth`
23654
+ # @return [String]
23655
+ attr_accessor :service_agent_auth
23656
+
23657
+ def initialize(**args)
23658
+ update!(**args)
23659
+ end
23660
+
23661
+ # Update properties of this object
23662
+ def update!(**args)
23663
+ @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
23664
+ end
23665
+ end
23666
+
23292
23667
  # Represents a call of a specific tool's action with the specified inputs.
23293
23668
  class GoogleCloudDialogflowV2beta1ToolCall
23294
23669
  include Google::Apis::Core::Hashable
@@ -23428,6 +23803,266 @@ module Google
23428
23803
  end
23429
23804
  end
23430
23805
 
23806
+ # A ConnectorTool enabling using Integration Connectors Connections as tools.
23807
+ class GoogleCloudDialogflowV2beta1ToolConnectorTool
23808
+ include Google::Apis::Core::Hashable
23809
+
23810
+ # Required. Actions for the tool to use.
23811
+ # Corresponds to the JSON property `actions`
23812
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorToolAction>]
23813
+ attr_accessor :actions
23814
+
23815
+ # Required. The full resource name of the referenced Integration Connectors
23816
+ # Connection. Format: 'projects/*/locations/*/connections/*'
23817
+ # Corresponds to the JSON property `name`
23818
+ # @return [String]
23819
+ attr_accessor :name
23820
+
23821
+ def initialize(**args)
23822
+ update!(**args)
23823
+ end
23824
+
23825
+ # Update properties of this object
23826
+ def update!(**args)
23827
+ @actions = args[:actions] if args.key?(:actions)
23828
+ @name = args[:name] if args.key?(:name)
23829
+ end
23830
+ end
23831
+
23832
+ # Configuration of a Connection operation for the tool to use.
23833
+ class GoogleCloudDialogflowV2beta1ToolConnectorToolAction
23834
+ include Google::Apis::Core::Hashable
23835
+
23836
+ # ID of a Connection action for the tool to use.
23837
+ # Corresponds to the JSON property `connectionActionId`
23838
+ # @return [String]
23839
+ attr_accessor :connection_action_id
23840
+
23841
+ # Entity CRUD operation specification.
23842
+ # Corresponds to the JSON property `entityOperation`
23843
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation]
23844
+ attr_accessor :entity_operation
23845
+
23846
+ # Optional. Entity fields to use as inputs for the operation. If no fields are
23847
+ # specified, all fields of the Entity will be used.
23848
+ # Corresponds to the JSON property `inputFields`
23849
+ # @return [Array<String>]
23850
+ attr_accessor :input_fields
23851
+
23852
+ # Optional. Entity fields to return from the operation. If no fields are
23853
+ # specified, all fields of the Entity will be returned.
23854
+ # Corresponds to the JSON property `outputFields`
23855
+ # @return [Array<String>]
23856
+ attr_accessor :output_fields
23857
+
23858
+ def initialize(**args)
23859
+ update!(**args)
23860
+ end
23861
+
23862
+ # Update properties of this object
23863
+ def update!(**args)
23864
+ @connection_action_id = args[:connection_action_id] if args.key?(:connection_action_id)
23865
+ @entity_operation = args[:entity_operation] if args.key?(:entity_operation)
23866
+ @input_fields = args[:input_fields] if args.key?(:input_fields)
23867
+ @output_fields = args[:output_fields] if args.key?(:output_fields)
23868
+ end
23869
+ end
23870
+
23871
+ # Entity CRUD operation specification.
23872
+ class GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation
23873
+ include Google::Apis::Core::Hashable
23874
+
23875
+ # Required. ID of the entity.
23876
+ # Corresponds to the JSON property `entityId`
23877
+ # @return [String]
23878
+ attr_accessor :entity_id
23879
+
23880
+ # Required. Operation to perform on the entity.
23881
+ # Corresponds to the JSON property `operation`
23882
+ # @return [String]
23883
+ attr_accessor :operation
23884
+
23885
+ def initialize(**args)
23886
+ update!(**args)
23887
+ end
23888
+
23889
+ # Update properties of this object
23890
+ def update!(**args)
23891
+ @entity_id = args[:entity_id] if args.key?(:entity_id)
23892
+ @operation = args[:operation] if args.key?(:operation)
23893
+ end
23894
+ end
23895
+
23896
+ # An ExtensionTool is a way to use Vertex Extensions as a tool.
23897
+ class GoogleCloudDialogflowV2beta1ToolExtensionTool
23898
+ include Google::Apis::Core::Hashable
23899
+
23900
+ # Required. The full name of the referenced vertex extension. Format: `projects/`
23901
+ # project`/locations/`location`/extensions/`extension``
23902
+ # Corresponds to the JSON property `name`
23903
+ # @return [String]
23904
+ attr_accessor :name
23905
+
23906
+ def initialize(**args)
23907
+ update!(**args)
23908
+ end
23909
+
23910
+ # Update properties of this object
23911
+ def update!(**args)
23912
+ @name = args[:name] if args.key?(:name)
23913
+ end
23914
+ end
23915
+
23916
+ # A Function tool describes the functions to be invoked on the client side.
23917
+ class GoogleCloudDialogflowV2beta1ToolFunctionTool
23918
+ include Google::Apis::Core::Hashable
23919
+
23920
+ # Optional. The JSON schema is encapsulated in a google.protobuf.Struct to
23921
+ # describe the input of the function. This input is a JSON object that contains
23922
+ # the function's parameters as properties of the object.
23923
+ # Corresponds to the JSON property `inputSchema`
23924
+ # @return [Hash<String,Object>]
23925
+ attr_accessor :input_schema
23926
+
23927
+ # Optional. The method type of the function. If not specified, the default value
23928
+ # is GET.
23929
+ # Corresponds to the JSON property `methodType`
23930
+ # @return [String]
23931
+ attr_accessor :method_type
23932
+
23933
+ # Optional. The JSON schema is encapsulated in a google.protobuf.Struct to
23934
+ # describe the output of the function. This output is a JSON object that
23935
+ # contains the function's parameters as properties of the object.
23936
+ # Corresponds to the JSON property `outputSchema`
23937
+ # @return [Hash<String,Object>]
23938
+ attr_accessor :output_schema
23939
+
23940
+ def initialize(**args)
23941
+ update!(**args)
23942
+ end
23943
+
23944
+ # Update properties of this object
23945
+ def update!(**args)
23946
+ @input_schema = args[:input_schema] if args.key?(:input_schema)
23947
+ @method_type = args[:method_type] if args.key?(:method_type)
23948
+ @output_schema = args[:output_schema] if args.key?(:output_schema)
23949
+ end
23950
+ end
23951
+
23952
+ # An OpenAPI tool is a way to provide the Tool specifications in the Open API
23953
+ # schema format.
23954
+ class GoogleCloudDialogflowV2beta1ToolOpenApiTool
23955
+ include Google::Apis::Core::Hashable
23956
+
23957
+ # Authentication information required for API calls
23958
+ # Corresponds to the JSON property `authentication`
23959
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolAuthentication]
23960
+ attr_accessor :authentication
23961
+
23962
+ # Configuration for tools using Service Directory.
23963
+ # Corresponds to the JSON property `serviceDirectoryConfig`
23964
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolServiceDirectoryConfig]
23965
+ attr_accessor :service_directory_config
23966
+
23967
+ # Required. The OpenAPI schema specified as a text.
23968
+ # Corresponds to the JSON property `textSchema`
23969
+ # @return [String]
23970
+ attr_accessor :text_schema
23971
+
23972
+ # The TLS configuration.
23973
+ # Corresponds to the JSON property `tlsConfig`
23974
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolTlsConfig]
23975
+ attr_accessor :tls_config
23976
+
23977
+ def initialize(**args)
23978
+ update!(**args)
23979
+ end
23980
+
23981
+ # Update properties of this object
23982
+ def update!(**args)
23983
+ @authentication = args[:authentication] if args.key?(:authentication)
23984
+ @service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config)
23985
+ @text_schema = args[:text_schema] if args.key?(:text_schema)
23986
+ @tls_config = args[:tls_config] if args.key?(:tls_config)
23987
+ end
23988
+ end
23989
+
23990
+ # Configuration for tools using Service Directory.
23991
+ class GoogleCloudDialogflowV2beta1ToolServiceDirectoryConfig
23992
+ include Google::Apis::Core::Hashable
23993
+
23994
+ # Required. The name of [Service Directory](https://cloud.google.com/service-
23995
+ # directory) service. Format: `projects//locations//namespaces//services/`. `
23996
+ # LocationID` of the service directory must be the same as the location of the
23997
+ # tool.
23998
+ # Corresponds to the JSON property `service`
23999
+ # @return [String]
24000
+ attr_accessor :service
24001
+
24002
+ def initialize(**args)
24003
+ update!(**args)
24004
+ end
24005
+
24006
+ # Update properties of this object
24007
+ def update!(**args)
24008
+ @service = args[:service] if args.key?(:service)
24009
+ end
24010
+ end
24011
+
24012
+ # The TLS configuration.
24013
+ class GoogleCloudDialogflowV2beta1ToolTlsConfig
24014
+ include Google::Apis::Core::Hashable
24015
+
24016
+ # Required. Specifies a list of allowed custom CA certificates for HTTPS
24017
+ # verification.
24018
+ # Corresponds to the JSON property `caCerts`
24019
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolTlsConfigCaCert>]
24020
+ attr_accessor :ca_certs
24021
+
24022
+ def initialize(**args)
24023
+ update!(**args)
24024
+ end
24025
+
24026
+ # Update properties of this object
24027
+ def update!(**args)
24028
+ @ca_certs = args[:ca_certs] if args.key?(:ca_certs)
24029
+ end
24030
+ end
24031
+
24032
+ # The CA certificate.
24033
+ class GoogleCloudDialogflowV2beta1ToolTlsConfigCaCert
24034
+ include Google::Apis::Core::Hashable
24035
+
24036
+ # Required. The allowed custom CA certificates (in DER format) for HTTPS
24037
+ # verification. This overrides the default SSL trust store. If this is empty or
24038
+ # unspecified, Dialogflow will use Google's default trust store to verify
24039
+ # certificates. N.B. Make sure the HTTPS server certificates are signed with "
24040
+ # subject alt name". For instance a certificate can be self-signed using the
24041
+ # following command, ``` openssl x509 -req -days 200 -in example.com.csr \ -
24042
+ # signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\
24043
+ # nsubjectAltName='DNS:www.example.com'") ```
24044
+ # Corresponds to the JSON property `cert`
24045
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
24046
+ # @return [String]
24047
+ attr_accessor :cert
24048
+
24049
+ # Required. The name of the allowed custom CA certificates. This can be used to
24050
+ # disambiguate the custom CA certificates.
24051
+ # Corresponds to the JSON property `displayName`
24052
+ # @return [String]
24053
+ attr_accessor :display_name
24054
+
24055
+ def initialize(**args)
24056
+ update!(**args)
24057
+ end
24058
+
24059
+ # Update properties of this object
24060
+ def update!(**args)
24061
+ @cert = args[:cert] if args.key?(:cert)
24062
+ @display_name = args[:display_name] if args.key?(:display_name)
24063
+ end
24064
+ end
24065
+
23431
24066
  # The request message for Agents.TrainAgent.
23432
24067
  class GoogleCloudDialogflowV2beta1TrainAgentRequest
23433
24068
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2beta1
18
18
  # Version of the google-apis-dialogflow_v2beta1 gem
19
- GEM_VERSION = "0.112.0"
19
+ GEM_VERSION = "0.114.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250930"
25
+ REVISION = "20251027"
26
26
  end
27
27
  end
28
28
  end
@@ -604,6 +604,12 @@ module Google
604
604
  include Google::Apis::Core::JsonObjectSupport
605
605
  end
606
606
 
607
+ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
607
613
  class GoogleCloudDialogflowCxV3WebhookRequest
608
614
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
615
 
@@ -1234,6 +1240,12 @@ module Google
1234
1240
  include Google::Apis::Core::JsonObjectSupport
1235
1241
  end
1236
1242
 
1243
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig
1244
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1245
+
1246
+ include Google::Apis::Core::JsonObjectSupport
1247
+ end
1248
+
1237
1249
  class GoogleCloudDialogflowCxV3beta1WebhookRequest
1238
1250
  class Representation < Google::Apis::Core::JsonRepresentation; end
1239
1251
 
@@ -3190,6 +3202,12 @@ module Google
3190
3202
  include Google::Apis::Core::JsonObjectSupport
3191
3203
  end
3192
3204
 
3205
+ class GoogleCloudDialogflowV2beta1ListToolsResponse
3206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3207
+
3208
+ include Google::Apis::Core::JsonObjectSupport
3209
+ end
3210
+
3193
3211
  class GoogleCloudDialogflowV2beta1ListVersionsResponse
3194
3212
  class Representation < Google::Apis::Core::JsonRepresentation; end
3195
3213
 
@@ -3736,6 +3754,42 @@ module Google
3736
3754
  include Google::Apis::Core::JsonObjectSupport
3737
3755
  end
3738
3756
 
3757
+ class GoogleCloudDialogflowV2beta1Tool
3758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3759
+
3760
+ include Google::Apis::Core::JsonObjectSupport
3761
+ end
3762
+
3763
+ class GoogleCloudDialogflowV2beta1ToolAuthentication
3764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3765
+
3766
+ include Google::Apis::Core::JsonObjectSupport
3767
+ end
3768
+
3769
+ class GoogleCloudDialogflowV2beta1ToolAuthenticationApiKeyConfig
3770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3771
+
3772
+ include Google::Apis::Core::JsonObjectSupport
3773
+ end
3774
+
3775
+ class GoogleCloudDialogflowV2beta1ToolAuthenticationBearerTokenConfig
3776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3777
+
3778
+ include Google::Apis::Core::JsonObjectSupport
3779
+ end
3780
+
3781
+ class GoogleCloudDialogflowV2beta1ToolAuthenticationOAuthConfig
3782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3783
+
3784
+ include Google::Apis::Core::JsonObjectSupport
3785
+ end
3786
+
3787
+ class GoogleCloudDialogflowV2beta1ToolAuthenticationServiceAgentAuthConfig
3788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3789
+
3790
+ include Google::Apis::Core::JsonObjectSupport
3791
+ end
3792
+
3739
3793
  class GoogleCloudDialogflowV2beta1ToolCall
3740
3794
  class Representation < Google::Apis::Core::JsonRepresentation; end
3741
3795
 
@@ -3754,6 +3808,60 @@ module Google
3754
3808
  include Google::Apis::Core::JsonObjectSupport
3755
3809
  end
3756
3810
 
3811
+ class GoogleCloudDialogflowV2beta1ToolConnectorTool
3812
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3813
+
3814
+ include Google::Apis::Core::JsonObjectSupport
3815
+ end
3816
+
3817
+ class GoogleCloudDialogflowV2beta1ToolConnectorToolAction
3818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3819
+
3820
+ include Google::Apis::Core::JsonObjectSupport
3821
+ end
3822
+
3823
+ class GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation
3824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3825
+
3826
+ include Google::Apis::Core::JsonObjectSupport
3827
+ end
3828
+
3829
+ class GoogleCloudDialogflowV2beta1ToolExtensionTool
3830
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3831
+
3832
+ include Google::Apis::Core::JsonObjectSupport
3833
+ end
3834
+
3835
+ class GoogleCloudDialogflowV2beta1ToolFunctionTool
3836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3837
+
3838
+ include Google::Apis::Core::JsonObjectSupport
3839
+ end
3840
+
3841
+ class GoogleCloudDialogflowV2beta1ToolOpenApiTool
3842
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3843
+
3844
+ include Google::Apis::Core::JsonObjectSupport
3845
+ end
3846
+
3847
+ class GoogleCloudDialogflowV2beta1ToolServiceDirectoryConfig
3848
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3849
+
3850
+ include Google::Apis::Core::JsonObjectSupport
3851
+ end
3852
+
3853
+ class GoogleCloudDialogflowV2beta1ToolTlsConfig
3854
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3855
+
3856
+ include Google::Apis::Core::JsonObjectSupport
3857
+ end
3858
+
3859
+ class GoogleCloudDialogflowV2beta1ToolTlsConfigCaCert
3860
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3861
+
3862
+ include Google::Apis::Core::JsonObjectSupport
3863
+ end
3864
+
3757
3865
  class GoogleCloudDialogflowV2beta1TrainAgentRequest
3758
3866
  class Representation < Google::Apis::Core::JsonRepresentation; end
3759
3867
 
@@ -4791,6 +4899,8 @@ module Google
4791
4899
  property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
4792
4900
  hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue::Representation
4793
4901
 
4902
+ property :service_account_auth_config, as: 'serviceAccountAuthConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig::Representation
4903
+
4794
4904
  property :service_agent_auth, as: 'serviceAgentAuth'
4795
4905
  property :uri, as: 'uri'
4796
4906
  property :username, as: 'username'
@@ -4816,6 +4926,13 @@ module Google
4816
4926
  end
4817
4927
  end
4818
4928
 
4929
+ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig
4930
+ # @private
4931
+ class Representation < Google::Apis::Core::JsonRepresentation
4932
+ property :service_account, as: 'serviceAccount'
4933
+ end
4934
+ end
4935
+
4819
4936
  class GoogleCloudDialogflowCxV3WebhookRequest
4820
4937
  # @private
4821
4938
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5845,6 +5962,8 @@ module Google
5845
5962
  property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
5846
5963
  hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue::Representation
5847
5964
 
5965
+ property :service_account_auth_config, as: 'serviceAccountAuthConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig::Representation
5966
+
5848
5967
  property :service_agent_auth, as: 'serviceAgentAuth'
5849
5968
  property :uri, as: 'uri'
5850
5969
  property :username, as: 'username'
@@ -5870,6 +5989,13 @@ module Google
5870
5989
  end
5871
5990
  end
5872
5991
 
5992
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig
5993
+ # @private
5994
+ class Representation < Google::Apis::Core::JsonRepresentation
5995
+ property :service_account, as: 'serviceAccount'
5996
+ end
5997
+ end
5998
+
5873
5999
  class GoogleCloudDialogflowCxV3beta1WebhookRequest
5874
6000
  # @private
5875
6001
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9262,6 +9388,15 @@ module Google
9262
9388
  end
9263
9389
  end
9264
9390
 
9391
+ class GoogleCloudDialogflowV2beta1ListToolsResponse
9392
+ # @private
9393
+ class Representation < Google::Apis::Core::JsonRepresentation
9394
+ property :next_page_token, as: 'nextPageToken'
9395
+ collection :tools, as: 'tools', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool::Representation
9396
+
9397
+ end
9398
+ end
9399
+
9265
9400
  class GoogleCloudDialogflowV2beta1ListVersionsResponse
9266
9401
  # @private
9267
9402
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10209,6 +10344,80 @@ module Google
10209
10344
  end
10210
10345
  end
10211
10346
 
10347
+ class GoogleCloudDialogflowV2beta1Tool
10348
+ # @private
10349
+ class Representation < Google::Apis::Core::JsonRepresentation
10350
+ hash :action_confirmation_requirement, as: 'actionConfirmationRequirement'
10351
+ property :connector_spec, as: 'connectorSpec', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorTool, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorTool::Representation
10352
+
10353
+ property :create_time, as: 'createTime'
10354
+ property :description, as: 'description'
10355
+ property :display_name, as: 'displayName'
10356
+ property :extension_spec, as: 'extensionSpec', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolExtensionTool, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolExtensionTool::Representation
10357
+
10358
+ property :function_spec, as: 'functionSpec', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolFunctionTool, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolFunctionTool::Representation
10359
+
10360
+ property :name, as: 'name'
10361
+ property :open_api_spec, as: 'openApiSpec', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolOpenApiTool, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolOpenApiTool::Representation
10362
+
10363
+ property :satisfies_pzi, as: 'satisfiesPzi'
10364
+ property :satisfies_pzs, as: 'satisfiesPzs'
10365
+ property :tool_key, as: 'toolKey'
10366
+ property :update_time, as: 'updateTime'
10367
+ end
10368
+ end
10369
+
10370
+ class GoogleCloudDialogflowV2beta1ToolAuthentication
10371
+ # @private
10372
+ class Representation < Google::Apis::Core::JsonRepresentation
10373
+ property :api_key_config, as: 'apiKeyConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolAuthenticationApiKeyConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolAuthenticationApiKeyConfig::Representation
10374
+
10375
+ property :bearer_token_config, as: 'bearerTokenConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolAuthenticationBearerTokenConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolAuthenticationBearerTokenConfig::Representation
10376
+
10377
+ property :oauth_config, as: 'oauthConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolAuthenticationOAuthConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolAuthenticationOAuthConfig::Representation
10378
+
10379
+ property :service_agent_auth_config, as: 'serviceAgentAuthConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolAuthenticationServiceAgentAuthConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolAuthenticationServiceAgentAuthConfig::Representation
10380
+
10381
+ end
10382
+ end
10383
+
10384
+ class GoogleCloudDialogflowV2beta1ToolAuthenticationApiKeyConfig
10385
+ # @private
10386
+ class Representation < Google::Apis::Core::JsonRepresentation
10387
+ property :api_key, as: 'apiKey'
10388
+ property :key_name, as: 'keyName'
10389
+ property :request_location, as: 'requestLocation'
10390
+ property :secret_version_for_api_key, as: 'secretVersionForApiKey'
10391
+ end
10392
+ end
10393
+
10394
+ class GoogleCloudDialogflowV2beta1ToolAuthenticationBearerTokenConfig
10395
+ # @private
10396
+ class Representation < Google::Apis::Core::JsonRepresentation
10397
+ property :secret_version_for_token, as: 'secretVersionForToken'
10398
+ property :token, as: 'token'
10399
+ end
10400
+ end
10401
+
10402
+ class GoogleCloudDialogflowV2beta1ToolAuthenticationOAuthConfig
10403
+ # @private
10404
+ class Representation < Google::Apis::Core::JsonRepresentation
10405
+ property :client_id, as: 'clientId'
10406
+ property :client_secret, as: 'clientSecret'
10407
+ property :oauth_grant_type, as: 'oauthGrantType'
10408
+ collection :scopes, as: 'scopes'
10409
+ property :secret_version_for_client_secret, as: 'secretVersionForClientSecret'
10410
+ property :token_endpoint, as: 'tokenEndpoint'
10411
+ end
10412
+ end
10413
+
10414
+ class GoogleCloudDialogflowV2beta1ToolAuthenticationServiceAgentAuthConfig
10415
+ # @private
10416
+ class Representation < Google::Apis::Core::JsonRepresentation
10417
+ property :service_agent_auth, as: 'serviceAgentAuth'
10418
+ end
10419
+ end
10420
+
10212
10421
  class GoogleCloudDialogflowV2beta1ToolCall
10213
10422
  # @private
10214
10423
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10244,6 +10453,86 @@ module Google
10244
10453
  end
10245
10454
  end
10246
10455
 
10456
+ class GoogleCloudDialogflowV2beta1ToolConnectorTool
10457
+ # @private
10458
+ class Representation < Google::Apis::Core::JsonRepresentation
10459
+ collection :actions, as: 'actions', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorToolAction, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorToolAction::Representation
10460
+
10461
+ property :name, as: 'name'
10462
+ end
10463
+ end
10464
+
10465
+ class GoogleCloudDialogflowV2beta1ToolConnectorToolAction
10466
+ # @private
10467
+ class Representation < Google::Apis::Core::JsonRepresentation
10468
+ property :connection_action_id, as: 'connectionActionId'
10469
+ property :entity_operation, as: 'entityOperation', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation::Representation
10470
+
10471
+ collection :input_fields, as: 'inputFields'
10472
+ collection :output_fields, as: 'outputFields'
10473
+ end
10474
+ end
10475
+
10476
+ class GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation
10477
+ # @private
10478
+ class Representation < Google::Apis::Core::JsonRepresentation
10479
+ property :entity_id, as: 'entityId'
10480
+ property :operation, as: 'operation'
10481
+ end
10482
+ end
10483
+
10484
+ class GoogleCloudDialogflowV2beta1ToolExtensionTool
10485
+ # @private
10486
+ class Representation < Google::Apis::Core::JsonRepresentation
10487
+ property :name, as: 'name'
10488
+ end
10489
+ end
10490
+
10491
+ class GoogleCloudDialogflowV2beta1ToolFunctionTool
10492
+ # @private
10493
+ class Representation < Google::Apis::Core::JsonRepresentation
10494
+ hash :input_schema, as: 'inputSchema'
10495
+ property :method_type, as: 'methodType'
10496
+ hash :output_schema, as: 'outputSchema'
10497
+ end
10498
+ end
10499
+
10500
+ class GoogleCloudDialogflowV2beta1ToolOpenApiTool
10501
+ # @private
10502
+ class Representation < Google::Apis::Core::JsonRepresentation
10503
+ property :authentication, as: 'authentication', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolAuthentication, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolAuthentication::Representation
10504
+
10505
+ property :service_directory_config, as: 'serviceDirectoryConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolServiceDirectoryConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolServiceDirectoryConfig::Representation
10506
+
10507
+ property :text_schema, as: 'textSchema'
10508
+ property :tls_config, as: 'tlsConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolTlsConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolTlsConfig::Representation
10509
+
10510
+ end
10511
+ end
10512
+
10513
+ class GoogleCloudDialogflowV2beta1ToolServiceDirectoryConfig
10514
+ # @private
10515
+ class Representation < Google::Apis::Core::JsonRepresentation
10516
+ property :service, as: 'service'
10517
+ end
10518
+ end
10519
+
10520
+ class GoogleCloudDialogflowV2beta1ToolTlsConfig
10521
+ # @private
10522
+ class Representation < Google::Apis::Core::JsonRepresentation
10523
+ collection :ca_certs, as: 'caCerts', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolTlsConfigCaCert, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolTlsConfigCaCert::Representation
10524
+
10525
+ end
10526
+ end
10527
+
10528
+ class GoogleCloudDialogflowV2beta1ToolTlsConfigCaCert
10529
+ # @private
10530
+ class Representation < Google::Apis::Core::JsonRepresentation
10531
+ property :cert, :base64 => true, as: 'cert'
10532
+ property :display_name, as: 'displayName'
10533
+ end
10534
+ end
10535
+
10247
10536
  class GoogleCloudDialogflowV2beta1TrainAgentRequest
10248
10537
  # @private
10249
10538
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4923,8 +4923,8 @@ module Google
4923
4923
  # @param [String] name
4924
4924
  # The resource that owns the locations collection, if applicable.
4925
4925
  # @param [Array<String>, String] extra_location_types
4926
- # Optional. Unless explicitly documented otherwise, don't use this unsupported
4927
- # field which is primarily intended for internal usage.
4926
+ # Optional. Do not use this field. It is unsupported and is ignored unless
4927
+ # explicitly documented otherwise. This is primarily for internal usage.
4928
4928
  # @param [String] filter
4929
4929
  # A filter to narrow down results to a preferred subset. The filtering language
4930
4930
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -9950,6 +9950,186 @@ module Google
9950
9950
  execute_or_queue_command(command, &block)
9951
9951
  end
9952
9952
 
9953
+ # Creates a tool.
9954
+ # @param [String] parent
9955
+ # Required. The project/location to create tool for. Format: `projects//
9956
+ # locations/`
9957
+ # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool] google_cloud_dialogflow_v2beta1_tool_object
9958
+ # @param [String] tool_id
9959
+ # Optional. The ID to use for the tool, which will become the final component of
9960
+ # the tool's resource name. The tool ID must be compliant with the regression
9961
+ # formula `a-zA-Z*` with the characters length in range of [3,64]. If the field
9962
+ # is not provide, an Id will be auto-generated. If the field is provided, the
9963
+ # caller is responsible for 1. the uniqueness of the ID, otherwise the request
9964
+ # will be rejected. 2. the consistency for whether to use custom ID or not under
9965
+ # a project to better ensure uniqueness.
9966
+ # @param [String] fields
9967
+ # Selector specifying which fields to include in a partial response.
9968
+ # @param [String] quota_user
9969
+ # Available to use for quota purposes for server-side applications. Can be any
9970
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9971
+ # @param [Google::Apis::RequestOptions] options
9972
+ # Request-specific options
9973
+ #
9974
+ # @yield [result, err] Result & error if block supplied
9975
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool] parsed result object
9976
+ # @yieldparam err [StandardError] error object if request failed
9977
+ #
9978
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool]
9979
+ #
9980
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9981
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9982
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9983
+ def create_project_location_tool(parent, google_cloud_dialogflow_v2beta1_tool_object = nil, tool_id: nil, fields: nil, quota_user: nil, options: nil, &block)
9984
+ command = make_simple_command(:post, 'v2beta1/{+parent}/tools', options)
9985
+ command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool::Representation
9986
+ command.request_object = google_cloud_dialogflow_v2beta1_tool_object
9987
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool::Representation
9988
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool
9989
+ command.params['parent'] = parent unless parent.nil?
9990
+ command.query['toolId'] = tool_id unless tool_id.nil?
9991
+ command.query['fields'] = fields unless fields.nil?
9992
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9993
+ execute_or_queue_command(command, &block)
9994
+ end
9995
+
9996
+ # Deletes a tool.
9997
+ # @param [String] name
9998
+ # Required. The tool resource name to delete. Format: `projects//locations//
9999
+ # tools/`
10000
+ # @param [String] fields
10001
+ # Selector specifying which fields to include in a partial response.
10002
+ # @param [String] quota_user
10003
+ # Available to use for quota purposes for server-side applications. Can be any
10004
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
10005
+ # @param [Google::Apis::RequestOptions] options
10006
+ # Request-specific options
10007
+ #
10008
+ # @yield [result, err] Result & error if block supplied
10009
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
10010
+ # @yieldparam err [StandardError] error object if request failed
10011
+ #
10012
+ # @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
10013
+ #
10014
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10015
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10016
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10017
+ def delete_project_location_tool(name, fields: nil, quota_user: nil, options: nil, &block)
10018
+ command = make_simple_command(:delete, 'v2beta1/{+name}', options)
10019
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
10020
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
10021
+ command.params['name'] = name unless name.nil?
10022
+ command.query['fields'] = fields unless fields.nil?
10023
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10024
+ execute_or_queue_command(command, &block)
10025
+ end
10026
+
10027
+ # Retrieves a tool.
10028
+ # @param [String] name
10029
+ # Required. The tool resource name to retrieve. Format: `projects//locations//
10030
+ # tools/`
10031
+ # @param [String] fields
10032
+ # Selector specifying which fields to include in a partial response.
10033
+ # @param [String] quota_user
10034
+ # Available to use for quota purposes for server-side applications. Can be any
10035
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
10036
+ # @param [Google::Apis::RequestOptions] options
10037
+ # Request-specific options
10038
+ #
10039
+ # @yield [result, err] Result & error if block supplied
10040
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool] parsed result object
10041
+ # @yieldparam err [StandardError] error object if request failed
10042
+ #
10043
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool]
10044
+ #
10045
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10046
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10047
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10048
+ def get_project_location_tool(name, fields: nil, quota_user: nil, options: nil, &block)
10049
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
10050
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool::Representation
10051
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool
10052
+ command.params['name'] = name unless name.nil?
10053
+ command.query['fields'] = fields unless fields.nil?
10054
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10055
+ execute_or_queue_command(command, &block)
10056
+ end
10057
+
10058
+ # Lists tools.
10059
+ # @param [String] parent
10060
+ # Required. The project/location to list tools for. Format: `projects//locations/
10061
+ # `
10062
+ # @param [Fixnum] page_size
10063
+ # Optional. Maximum number of conversation models to return in a single page.
10064
+ # Default to 10.
10065
+ # @param [String] page_token
10066
+ # Optional. The next_page_token value returned from a previous list request.
10067
+ # @param [String] fields
10068
+ # Selector specifying which fields to include in a partial response.
10069
+ # @param [String] quota_user
10070
+ # Available to use for quota purposes for server-side applications. Can be any
10071
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
10072
+ # @param [Google::Apis::RequestOptions] options
10073
+ # Request-specific options
10074
+ #
10075
+ # @yield [result, err] Result & error if block supplied
10076
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListToolsResponse] parsed result object
10077
+ # @yieldparam err [StandardError] error object if request failed
10078
+ #
10079
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListToolsResponse]
10080
+ #
10081
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10082
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10083
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10084
+ def list_project_location_tools(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
10085
+ command = make_simple_command(:get, 'v2beta1/{+parent}/tools', options)
10086
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListToolsResponse::Representation
10087
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListToolsResponse
10088
+ command.params['parent'] = parent unless parent.nil?
10089
+ command.query['pageSize'] = page_size unless page_size.nil?
10090
+ command.query['pageToken'] = page_token unless page_token.nil?
10091
+ command.query['fields'] = fields unless fields.nil?
10092
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10093
+ execute_or_queue_command(command, &block)
10094
+ end
10095
+
10096
+ # Updates a tool.
10097
+ # @param [String] name
10098
+ # Output only. Identifier. The resource name of the tool. Format: `projects//
10099
+ # locations//tools/`.
10100
+ # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool] google_cloud_dialogflow_v2beta1_tool_object
10101
+ # @param [String] update_mask
10102
+ # Optional. The list of fields to update.
10103
+ # @param [String] fields
10104
+ # Selector specifying which fields to include in a partial response.
10105
+ # @param [String] quota_user
10106
+ # Available to use for quota purposes for server-side applications. Can be any
10107
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
10108
+ # @param [Google::Apis::RequestOptions] options
10109
+ # Request-specific options
10110
+ #
10111
+ # @yield [result, err] Result & error if block supplied
10112
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool] parsed result object
10113
+ # @yieldparam err [StandardError] error object if request failed
10114
+ #
10115
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool]
10116
+ #
10117
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10118
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10119
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10120
+ def patch_project_location_tool(name, google_cloud_dialogflow_v2beta1_tool_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
10121
+ command = make_simple_command(:patch, 'v2beta1/{+name}', options)
10122
+ command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool::Representation
10123
+ command.request_object = google_cloud_dialogflow_v2beta1_tool_object
10124
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool::Representation
10125
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Tool
10126
+ command.params['name'] = name unless name.nil?
10127
+ command.query['updateMask'] = update_mask unless update_mask.nil?
10128
+ command.query['fields'] = fields unless fields.nil?
10129
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10130
+ execute_or_queue_command(command, &block)
10131
+ end
10132
+
9953
10133
  # Starts asynchronous cancellation on a long-running operation. The server makes
9954
10134
  # a best effort to cancel the operation, but success is not guaranteed. If the
9955
10135
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.112.0
4
+ version: 0.114.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.112.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.114.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
62
62
  rdoc_options: []
63
63
  require_paths: