google-apis-dialogflow_v2 0.113.0 → 0.115.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '00586f6e8c4a628d3faca85999fcbe4f14f6a6a8a8e2a8aeeee89904929a38d0'
|
|
4
|
+
data.tar.gz: 35b2c0d0b96842fe1d0ffbb79b8e9fd0b2404d401f7ccd2bbf7705d30d39506d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a18a53ae710d90ccddc846e26cfee85121211503cf16a3810cbea59433ea82d79dedc21d65bd09de6565ad5b7d256bf9bb16f9d033e2793cdfe50e9e2514a1d8
|
|
7
|
+
data.tar.gz: 29b7f94710801a0392821c899ca66b6457cb7fcf95c6b53e4ff97a38a0d1eb9af3cb48c228235e14c0c6c4bb1bf2c1d8b2135517287c1ac8509e8ebea494a94d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-dialogflow_v2
|
|
2
2
|
|
|
3
|
+
### v0.115.0 (2025-11-02)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251027
|
|
6
|
+
|
|
7
|
+
### v0.114.0 (2025-10-19)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251013
|
|
10
|
+
|
|
3
11
|
### v0.113.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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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
|
|
@@ -15488,6 +15548,32 @@ module Google
|
|
|
15488
15548
|
end
|
|
15489
15549
|
end
|
|
15490
15550
|
|
|
15551
|
+
# Response of ListTools.
|
|
15552
|
+
class GoogleCloudDialogflowV2ListToolsResponse
|
|
15553
|
+
include Google::Apis::Core::Hashable
|
|
15554
|
+
|
|
15555
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
|
15556
|
+
# results in the list.
|
|
15557
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
15558
|
+
# @return [String]
|
|
15559
|
+
attr_accessor :next_page_token
|
|
15560
|
+
|
|
15561
|
+
# List of tools retrieved.
|
|
15562
|
+
# Corresponds to the JSON property `tools`
|
|
15563
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool>]
|
|
15564
|
+
attr_accessor :tools
|
|
15565
|
+
|
|
15566
|
+
def initialize(**args)
|
|
15567
|
+
update!(**args)
|
|
15568
|
+
end
|
|
15569
|
+
|
|
15570
|
+
# Update properties of this object
|
|
15571
|
+
def update!(**args)
|
|
15572
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
15573
|
+
@tools = args[:tools] if args.key?(:tools)
|
|
15574
|
+
end
|
|
15575
|
+
end
|
|
15576
|
+
|
|
15491
15577
|
# The response message for Versions.ListVersions.
|
|
15492
15578
|
class GoogleCloudDialogflowV2ListVersionsResponse
|
|
15493
15579
|
include Google::Apis::Core::Hashable
|
|
@@ -18587,6 +18673,295 @@ module Google
|
|
|
18587
18673
|
end
|
|
18588
18674
|
end
|
|
18589
18675
|
|
|
18676
|
+
# Represents a tool.
|
|
18677
|
+
class GoogleCloudDialogflowV2Tool
|
|
18678
|
+
include Google::Apis::Core::Hashable
|
|
18679
|
+
|
|
18680
|
+
# Optional. Confirmation requirement for the actions. Each key is an action name
|
|
18681
|
+
# in the action_schemas. If an action's confirmation requirement is unspecified (
|
|
18682
|
+
# either the key is not present, or its value is
|
|
18683
|
+
# CONFIRMATION_REQUIREMENT_UNSPECIFIED), the requirement is inferred from the
|
|
18684
|
+
# action's method_type - confirmation is not required if and only if method_type
|
|
18685
|
+
# is GET.
|
|
18686
|
+
# Corresponds to the JSON property `actionConfirmationRequirement`
|
|
18687
|
+
# @return [Hash<String,String>]
|
|
18688
|
+
attr_accessor :action_confirmation_requirement
|
|
18689
|
+
|
|
18690
|
+
# A ConnectorTool enabling using Integration Connectors Connections as tools.
|
|
18691
|
+
# Corresponds to the JSON property `connectorSpec`
|
|
18692
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorTool]
|
|
18693
|
+
attr_accessor :connector_spec
|
|
18694
|
+
|
|
18695
|
+
# Output only. Creation time of this tool.
|
|
18696
|
+
# Corresponds to the JSON property `createTime`
|
|
18697
|
+
# @return [String]
|
|
18698
|
+
attr_accessor :create_time
|
|
18699
|
+
|
|
18700
|
+
# Optional. A human readable description of the tool.
|
|
18701
|
+
# Corresponds to the JSON property `description`
|
|
18702
|
+
# @return [String]
|
|
18703
|
+
attr_accessor :description
|
|
18704
|
+
|
|
18705
|
+
# Optional. A human readable short name of the tool, to be shown on the UI.
|
|
18706
|
+
# Corresponds to the JSON property `displayName`
|
|
18707
|
+
# @return [String]
|
|
18708
|
+
attr_accessor :display_name
|
|
18709
|
+
|
|
18710
|
+
# An ExtensionTool is a way to use Vertex Extensions as a tool.
|
|
18711
|
+
# Corresponds to the JSON property `extensionSpec`
|
|
18712
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolExtensionTool]
|
|
18713
|
+
attr_accessor :extension_spec
|
|
18714
|
+
|
|
18715
|
+
# A Function tool describes the functions to be invoked on the client side.
|
|
18716
|
+
# Corresponds to the JSON property `functionSpec`
|
|
18717
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolFunctionTool]
|
|
18718
|
+
attr_accessor :function_spec
|
|
18719
|
+
|
|
18720
|
+
# Output only. Identifier. The resource name of the tool. Format: `projects//
|
|
18721
|
+
# locations//tools/`.
|
|
18722
|
+
# Corresponds to the JSON property `name`
|
|
18723
|
+
# @return [String]
|
|
18724
|
+
attr_accessor :name
|
|
18725
|
+
|
|
18726
|
+
# An OpenAPI tool is a way to provide the Tool specifications in the Open API
|
|
18727
|
+
# schema format.
|
|
18728
|
+
# Corresponds to the JSON property `openApiSpec`
|
|
18729
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolOpenApiTool]
|
|
18730
|
+
attr_accessor :open_api_spec
|
|
18731
|
+
|
|
18732
|
+
# Output only. A read only boolean field reflecting Zone Isolation status of the
|
|
18733
|
+
# tool. If the field is absent, it means the status is unknown.
|
|
18734
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
|
18735
|
+
# @return [Boolean]
|
|
18736
|
+
attr_accessor :satisfies_pzi
|
|
18737
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
|
18738
|
+
|
|
18739
|
+
# Output only. A read only boolean field reflecting Zone Separation status of
|
|
18740
|
+
# the tool. If the field is absent, it means the status is unknown.
|
|
18741
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
|
18742
|
+
# @return [Boolean]
|
|
18743
|
+
attr_accessor :satisfies_pzs
|
|
18744
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
|
18745
|
+
|
|
18746
|
+
# Required. A human readable short name of the tool, which should be unique
|
|
18747
|
+
# within the project. It should only contain letters, numbers, and underscores,
|
|
18748
|
+
# and it will be used by LLM to identify the tool.
|
|
18749
|
+
# Corresponds to the JSON property `toolKey`
|
|
18750
|
+
# @return [String]
|
|
18751
|
+
attr_accessor :tool_key
|
|
18752
|
+
|
|
18753
|
+
# Output only. Update time of this tool.
|
|
18754
|
+
# Corresponds to the JSON property `updateTime`
|
|
18755
|
+
# @return [String]
|
|
18756
|
+
attr_accessor :update_time
|
|
18757
|
+
|
|
18758
|
+
def initialize(**args)
|
|
18759
|
+
update!(**args)
|
|
18760
|
+
end
|
|
18761
|
+
|
|
18762
|
+
# Update properties of this object
|
|
18763
|
+
def update!(**args)
|
|
18764
|
+
@action_confirmation_requirement = args[:action_confirmation_requirement] if args.key?(:action_confirmation_requirement)
|
|
18765
|
+
@connector_spec = args[:connector_spec] if args.key?(:connector_spec)
|
|
18766
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
18767
|
+
@description = args[:description] if args.key?(:description)
|
|
18768
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
18769
|
+
@extension_spec = args[:extension_spec] if args.key?(:extension_spec)
|
|
18770
|
+
@function_spec = args[:function_spec] if args.key?(:function_spec)
|
|
18771
|
+
@name = args[:name] if args.key?(:name)
|
|
18772
|
+
@open_api_spec = args[:open_api_spec] if args.key?(:open_api_spec)
|
|
18773
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
|
18774
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
|
18775
|
+
@tool_key = args[:tool_key] if args.key?(:tool_key)
|
|
18776
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
18777
|
+
end
|
|
18778
|
+
end
|
|
18779
|
+
|
|
18780
|
+
# Authentication information required for API calls
|
|
18781
|
+
class GoogleCloudDialogflowV2ToolAuthentication
|
|
18782
|
+
include Google::Apis::Core::Hashable
|
|
18783
|
+
|
|
18784
|
+
# Config for authentication with API key.
|
|
18785
|
+
# Corresponds to the JSON property `apiKeyConfig`
|
|
18786
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolAuthenticationApiKeyConfig]
|
|
18787
|
+
attr_accessor :api_key_config
|
|
18788
|
+
|
|
18789
|
+
# Config for authentication using bearer token.
|
|
18790
|
+
# Corresponds to the JSON property `bearerTokenConfig`
|
|
18791
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig]
|
|
18792
|
+
attr_accessor :bearer_token_config
|
|
18793
|
+
|
|
18794
|
+
# Config for authentication with OAuth.
|
|
18795
|
+
# Corresponds to the JSON property `oauthConfig`
|
|
18796
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolAuthenticationOAuthConfig]
|
|
18797
|
+
attr_accessor :oauth_config
|
|
18798
|
+
|
|
18799
|
+
# Config for auth using [Dialogflow service agent](https://cloud.google.com/iam/
|
|
18800
|
+
# docs/service-agents#dialogflow-service-agent).
|
|
18801
|
+
# Corresponds to the JSON property `serviceAgentAuthConfig`
|
|
18802
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig]
|
|
18803
|
+
attr_accessor :service_agent_auth_config
|
|
18804
|
+
|
|
18805
|
+
def initialize(**args)
|
|
18806
|
+
update!(**args)
|
|
18807
|
+
end
|
|
18808
|
+
|
|
18809
|
+
# Update properties of this object
|
|
18810
|
+
def update!(**args)
|
|
18811
|
+
@api_key_config = args[:api_key_config] if args.key?(:api_key_config)
|
|
18812
|
+
@bearer_token_config = args[:bearer_token_config] if args.key?(:bearer_token_config)
|
|
18813
|
+
@oauth_config = args[:oauth_config] if args.key?(:oauth_config)
|
|
18814
|
+
@service_agent_auth_config = args[:service_agent_auth_config] if args.key?(:service_agent_auth_config)
|
|
18815
|
+
end
|
|
18816
|
+
end
|
|
18817
|
+
|
|
18818
|
+
# Config for authentication with API key.
|
|
18819
|
+
class GoogleCloudDialogflowV2ToolAuthenticationApiKeyConfig
|
|
18820
|
+
include Google::Apis::Core::Hashable
|
|
18821
|
+
|
|
18822
|
+
# Optional. The API key. If the `secret_version_for_api_key` field is set, this
|
|
18823
|
+
# field will be ignored.
|
|
18824
|
+
# Corresponds to the JSON property `apiKey`
|
|
18825
|
+
# @return [String]
|
|
18826
|
+
attr_accessor :api_key
|
|
18827
|
+
|
|
18828
|
+
# Required. The parameter name or the header name of the API key. E.g., If the
|
|
18829
|
+
# API request is "https://example.com/act?X-Api-Key=", "X-Api-Key" would be the
|
|
18830
|
+
# parameter name.
|
|
18831
|
+
# Corresponds to the JSON property `keyName`
|
|
18832
|
+
# @return [String]
|
|
18833
|
+
attr_accessor :key_name
|
|
18834
|
+
|
|
18835
|
+
# Required. Key location in the request.
|
|
18836
|
+
# Corresponds to the JSON property `requestLocation`
|
|
18837
|
+
# @return [String]
|
|
18838
|
+
attr_accessor :request_location
|
|
18839
|
+
|
|
18840
|
+
# Optional. The name of the SecretManager secret version resource storing the
|
|
18841
|
+
# API key. If this field is set, the `api_key` field will be ignored. Format: `
|
|
18842
|
+
# projects/`project`/secrets/`secret`/versions/`version``
|
|
18843
|
+
# Corresponds to the JSON property `secretVersionForApiKey`
|
|
18844
|
+
# @return [String]
|
|
18845
|
+
attr_accessor :secret_version_for_api_key
|
|
18846
|
+
|
|
18847
|
+
def initialize(**args)
|
|
18848
|
+
update!(**args)
|
|
18849
|
+
end
|
|
18850
|
+
|
|
18851
|
+
# Update properties of this object
|
|
18852
|
+
def update!(**args)
|
|
18853
|
+
@api_key = args[:api_key] if args.key?(:api_key)
|
|
18854
|
+
@key_name = args[:key_name] if args.key?(:key_name)
|
|
18855
|
+
@request_location = args[:request_location] if args.key?(:request_location)
|
|
18856
|
+
@secret_version_for_api_key = args[:secret_version_for_api_key] if args.key?(:secret_version_for_api_key)
|
|
18857
|
+
end
|
|
18858
|
+
end
|
|
18859
|
+
|
|
18860
|
+
# Config for authentication using bearer token.
|
|
18861
|
+
class GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig
|
|
18862
|
+
include Google::Apis::Core::Hashable
|
|
18863
|
+
|
|
18864
|
+
# Optional. The name of the SecretManager secret version resource storing the
|
|
18865
|
+
# Bearer token. If this field is set, the `token` field will be ignored. Format:
|
|
18866
|
+
# `projects/`project`/secrets/`secret`/versions/`version``
|
|
18867
|
+
# Corresponds to the JSON property `secretVersionForToken`
|
|
18868
|
+
# @return [String]
|
|
18869
|
+
attr_accessor :secret_version_for_token
|
|
18870
|
+
|
|
18871
|
+
# Optional. The text token appended to the text `Bearer` to the request
|
|
18872
|
+
# Authorization header. [Session parameters reference](https://cloud.google.com/
|
|
18873
|
+
# dialogflow/cx/docs/concept/parameter#session-ref) can be used to pass the
|
|
18874
|
+
# token dynamically, e.g. `$session.params.parameter-id`.
|
|
18875
|
+
# Corresponds to the JSON property `token`
|
|
18876
|
+
# @return [String]
|
|
18877
|
+
attr_accessor :token
|
|
18878
|
+
|
|
18879
|
+
def initialize(**args)
|
|
18880
|
+
update!(**args)
|
|
18881
|
+
end
|
|
18882
|
+
|
|
18883
|
+
# Update properties of this object
|
|
18884
|
+
def update!(**args)
|
|
18885
|
+
@secret_version_for_token = args[:secret_version_for_token] if args.key?(:secret_version_for_token)
|
|
18886
|
+
@token = args[:token] if args.key?(:token)
|
|
18887
|
+
end
|
|
18888
|
+
end
|
|
18889
|
+
|
|
18890
|
+
# Config for authentication with OAuth.
|
|
18891
|
+
class GoogleCloudDialogflowV2ToolAuthenticationOAuthConfig
|
|
18892
|
+
include Google::Apis::Core::Hashable
|
|
18893
|
+
|
|
18894
|
+
# Required. The client ID from the OAuth provider.
|
|
18895
|
+
# Corresponds to the JSON property `clientId`
|
|
18896
|
+
# @return [String]
|
|
18897
|
+
attr_accessor :client_id
|
|
18898
|
+
|
|
18899
|
+
# Optional. The client secret from the OAuth provider. If the `
|
|
18900
|
+
# secret_version_for_client_secret` field is set, this field will be ignored.
|
|
18901
|
+
# Corresponds to the JSON property `clientSecret`
|
|
18902
|
+
# @return [String]
|
|
18903
|
+
attr_accessor :client_secret
|
|
18904
|
+
|
|
18905
|
+
# Required. OAuth grant types.
|
|
18906
|
+
# Corresponds to the JSON property `oauthGrantType`
|
|
18907
|
+
# @return [String]
|
|
18908
|
+
attr_accessor :oauth_grant_type
|
|
18909
|
+
|
|
18910
|
+
# Optional. The OAuth scopes to grant.
|
|
18911
|
+
# Corresponds to the JSON property `scopes`
|
|
18912
|
+
# @return [Array<String>]
|
|
18913
|
+
attr_accessor :scopes
|
|
18914
|
+
|
|
18915
|
+
# Optional. The name of the SecretManager secret version resource storing the
|
|
18916
|
+
# client secret. If this field is set, the `client_secret` field will be ignored.
|
|
18917
|
+
# Format: `projects/`project`/secrets/`secret`/versions/`version``
|
|
18918
|
+
# Corresponds to the JSON property `secretVersionForClientSecret`
|
|
18919
|
+
# @return [String]
|
|
18920
|
+
attr_accessor :secret_version_for_client_secret
|
|
18921
|
+
|
|
18922
|
+
# Required. The token endpoint in the OAuth provider to exchange for an access
|
|
18923
|
+
# token.
|
|
18924
|
+
# Corresponds to the JSON property `tokenEndpoint`
|
|
18925
|
+
# @return [String]
|
|
18926
|
+
attr_accessor :token_endpoint
|
|
18927
|
+
|
|
18928
|
+
def initialize(**args)
|
|
18929
|
+
update!(**args)
|
|
18930
|
+
end
|
|
18931
|
+
|
|
18932
|
+
# Update properties of this object
|
|
18933
|
+
def update!(**args)
|
|
18934
|
+
@client_id = args[:client_id] if args.key?(:client_id)
|
|
18935
|
+
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
|
18936
|
+
@oauth_grant_type = args[:oauth_grant_type] if args.key?(:oauth_grant_type)
|
|
18937
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
|
18938
|
+
@secret_version_for_client_secret = args[:secret_version_for_client_secret] if args.key?(:secret_version_for_client_secret)
|
|
18939
|
+
@token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
|
|
18940
|
+
end
|
|
18941
|
+
end
|
|
18942
|
+
|
|
18943
|
+
# Config for auth using [Dialogflow service agent](https://cloud.google.com/iam/
|
|
18944
|
+
# docs/service-agents#dialogflow-service-agent).
|
|
18945
|
+
class GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig
|
|
18946
|
+
include Google::Apis::Core::Hashable
|
|
18947
|
+
|
|
18948
|
+
# Optional. Indicate the auth token type generated from the [Diglogflow service
|
|
18949
|
+
# agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
|
|
18950
|
+
# agent). The generated token is sent in the Authorization header.
|
|
18951
|
+
# Corresponds to the JSON property `serviceAgentAuth`
|
|
18952
|
+
# @return [String]
|
|
18953
|
+
attr_accessor :service_agent_auth
|
|
18954
|
+
|
|
18955
|
+
def initialize(**args)
|
|
18956
|
+
update!(**args)
|
|
18957
|
+
end
|
|
18958
|
+
|
|
18959
|
+
# Update properties of this object
|
|
18960
|
+
def update!(**args)
|
|
18961
|
+
@service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
|
|
18962
|
+
end
|
|
18963
|
+
end
|
|
18964
|
+
|
|
18590
18965
|
# Represents a call of a specific tool's action with the specified inputs.
|
|
18591
18966
|
class GoogleCloudDialogflowV2ToolCall
|
|
18592
18967
|
include Google::Apis::Core::Hashable
|
|
@@ -18726,6 +19101,266 @@ module Google
|
|
|
18726
19101
|
end
|
|
18727
19102
|
end
|
|
18728
19103
|
|
|
19104
|
+
# A ConnectorTool enabling using Integration Connectors Connections as tools.
|
|
19105
|
+
class GoogleCloudDialogflowV2ToolConnectorTool
|
|
19106
|
+
include Google::Apis::Core::Hashable
|
|
19107
|
+
|
|
19108
|
+
# Required. Actions for the tool to use.
|
|
19109
|
+
# Corresponds to the JSON property `actions`
|
|
19110
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorToolAction>]
|
|
19111
|
+
attr_accessor :actions
|
|
19112
|
+
|
|
19113
|
+
# Required. The full resource name of the referenced Integration Connectors
|
|
19114
|
+
# Connection. Format: 'projects/*/locations/*/connections/*'
|
|
19115
|
+
# Corresponds to the JSON property `name`
|
|
19116
|
+
# @return [String]
|
|
19117
|
+
attr_accessor :name
|
|
19118
|
+
|
|
19119
|
+
def initialize(**args)
|
|
19120
|
+
update!(**args)
|
|
19121
|
+
end
|
|
19122
|
+
|
|
19123
|
+
# Update properties of this object
|
|
19124
|
+
def update!(**args)
|
|
19125
|
+
@actions = args[:actions] if args.key?(:actions)
|
|
19126
|
+
@name = args[:name] if args.key?(:name)
|
|
19127
|
+
end
|
|
19128
|
+
end
|
|
19129
|
+
|
|
19130
|
+
# Configuration of a Connection operation for the tool to use.
|
|
19131
|
+
class GoogleCloudDialogflowV2ToolConnectorToolAction
|
|
19132
|
+
include Google::Apis::Core::Hashable
|
|
19133
|
+
|
|
19134
|
+
# ID of a Connection action for the tool to use.
|
|
19135
|
+
# Corresponds to the JSON property `connectionActionId`
|
|
19136
|
+
# @return [String]
|
|
19137
|
+
attr_accessor :connection_action_id
|
|
19138
|
+
|
|
19139
|
+
# Entity CRUD operation specification.
|
|
19140
|
+
# Corresponds to the JSON property `entityOperation`
|
|
19141
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation]
|
|
19142
|
+
attr_accessor :entity_operation
|
|
19143
|
+
|
|
19144
|
+
# Optional. Entity fields to use as inputs for the operation. If no fields are
|
|
19145
|
+
# specified, all fields of the Entity will be used.
|
|
19146
|
+
# Corresponds to the JSON property `inputFields`
|
|
19147
|
+
# @return [Array<String>]
|
|
19148
|
+
attr_accessor :input_fields
|
|
19149
|
+
|
|
19150
|
+
# Optional. Entity fields to return from the operation. If no fields are
|
|
19151
|
+
# specified, all fields of the Entity will be returned.
|
|
19152
|
+
# Corresponds to the JSON property `outputFields`
|
|
19153
|
+
# @return [Array<String>]
|
|
19154
|
+
attr_accessor :output_fields
|
|
19155
|
+
|
|
19156
|
+
def initialize(**args)
|
|
19157
|
+
update!(**args)
|
|
19158
|
+
end
|
|
19159
|
+
|
|
19160
|
+
# Update properties of this object
|
|
19161
|
+
def update!(**args)
|
|
19162
|
+
@connection_action_id = args[:connection_action_id] if args.key?(:connection_action_id)
|
|
19163
|
+
@entity_operation = args[:entity_operation] if args.key?(:entity_operation)
|
|
19164
|
+
@input_fields = args[:input_fields] if args.key?(:input_fields)
|
|
19165
|
+
@output_fields = args[:output_fields] if args.key?(:output_fields)
|
|
19166
|
+
end
|
|
19167
|
+
end
|
|
19168
|
+
|
|
19169
|
+
# Entity CRUD operation specification.
|
|
19170
|
+
class GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation
|
|
19171
|
+
include Google::Apis::Core::Hashable
|
|
19172
|
+
|
|
19173
|
+
# Required. ID of the entity.
|
|
19174
|
+
# Corresponds to the JSON property `entityId`
|
|
19175
|
+
# @return [String]
|
|
19176
|
+
attr_accessor :entity_id
|
|
19177
|
+
|
|
19178
|
+
# Required. Operation to perform on the entity.
|
|
19179
|
+
# Corresponds to the JSON property `operation`
|
|
19180
|
+
# @return [String]
|
|
19181
|
+
attr_accessor :operation
|
|
19182
|
+
|
|
19183
|
+
def initialize(**args)
|
|
19184
|
+
update!(**args)
|
|
19185
|
+
end
|
|
19186
|
+
|
|
19187
|
+
# Update properties of this object
|
|
19188
|
+
def update!(**args)
|
|
19189
|
+
@entity_id = args[:entity_id] if args.key?(:entity_id)
|
|
19190
|
+
@operation = args[:operation] if args.key?(:operation)
|
|
19191
|
+
end
|
|
19192
|
+
end
|
|
19193
|
+
|
|
19194
|
+
# An ExtensionTool is a way to use Vertex Extensions as a tool.
|
|
19195
|
+
class GoogleCloudDialogflowV2ToolExtensionTool
|
|
19196
|
+
include Google::Apis::Core::Hashable
|
|
19197
|
+
|
|
19198
|
+
# Required. The full name of the referenced vertex extension. Format: `projects/`
|
|
19199
|
+
# project`/locations/`location`/extensions/`extension``
|
|
19200
|
+
# Corresponds to the JSON property `name`
|
|
19201
|
+
# @return [String]
|
|
19202
|
+
attr_accessor :name
|
|
19203
|
+
|
|
19204
|
+
def initialize(**args)
|
|
19205
|
+
update!(**args)
|
|
19206
|
+
end
|
|
19207
|
+
|
|
19208
|
+
# Update properties of this object
|
|
19209
|
+
def update!(**args)
|
|
19210
|
+
@name = args[:name] if args.key?(:name)
|
|
19211
|
+
end
|
|
19212
|
+
end
|
|
19213
|
+
|
|
19214
|
+
# A Function tool describes the functions to be invoked on the client side.
|
|
19215
|
+
class GoogleCloudDialogflowV2ToolFunctionTool
|
|
19216
|
+
include Google::Apis::Core::Hashable
|
|
19217
|
+
|
|
19218
|
+
# Optional. The JSON schema is encapsulated in a google.protobuf.Struct to
|
|
19219
|
+
# describe the input of the function. This input is a JSON object that contains
|
|
19220
|
+
# the function's parameters as properties of the object.
|
|
19221
|
+
# Corresponds to the JSON property `inputSchema`
|
|
19222
|
+
# @return [Hash<String,Object>]
|
|
19223
|
+
attr_accessor :input_schema
|
|
19224
|
+
|
|
19225
|
+
# Optional. The method type of the function. If not specified, the default value
|
|
19226
|
+
# is GET.
|
|
19227
|
+
# Corresponds to the JSON property `methodType`
|
|
19228
|
+
# @return [String]
|
|
19229
|
+
attr_accessor :method_type
|
|
19230
|
+
|
|
19231
|
+
# Optional. The JSON schema is encapsulated in a google.protobuf.Struct to
|
|
19232
|
+
# describe the output of the function. This output is a JSON object that
|
|
19233
|
+
# contains the function's parameters as properties of the object.
|
|
19234
|
+
# Corresponds to the JSON property `outputSchema`
|
|
19235
|
+
# @return [Hash<String,Object>]
|
|
19236
|
+
attr_accessor :output_schema
|
|
19237
|
+
|
|
19238
|
+
def initialize(**args)
|
|
19239
|
+
update!(**args)
|
|
19240
|
+
end
|
|
19241
|
+
|
|
19242
|
+
# Update properties of this object
|
|
19243
|
+
def update!(**args)
|
|
19244
|
+
@input_schema = args[:input_schema] if args.key?(:input_schema)
|
|
19245
|
+
@method_type = args[:method_type] if args.key?(:method_type)
|
|
19246
|
+
@output_schema = args[:output_schema] if args.key?(:output_schema)
|
|
19247
|
+
end
|
|
19248
|
+
end
|
|
19249
|
+
|
|
19250
|
+
# An OpenAPI tool is a way to provide the Tool specifications in the Open API
|
|
19251
|
+
# schema format.
|
|
19252
|
+
class GoogleCloudDialogflowV2ToolOpenApiTool
|
|
19253
|
+
include Google::Apis::Core::Hashable
|
|
19254
|
+
|
|
19255
|
+
# Authentication information required for API calls
|
|
19256
|
+
# Corresponds to the JSON property `authentication`
|
|
19257
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolAuthentication]
|
|
19258
|
+
attr_accessor :authentication
|
|
19259
|
+
|
|
19260
|
+
# Configuration for tools using Service Directory.
|
|
19261
|
+
# Corresponds to the JSON property `serviceDirectoryConfig`
|
|
19262
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolServiceDirectoryConfig]
|
|
19263
|
+
attr_accessor :service_directory_config
|
|
19264
|
+
|
|
19265
|
+
# Required. The OpenAPI schema specified as a text.
|
|
19266
|
+
# Corresponds to the JSON property `textSchema`
|
|
19267
|
+
# @return [String]
|
|
19268
|
+
attr_accessor :text_schema
|
|
19269
|
+
|
|
19270
|
+
# The TLS configuration.
|
|
19271
|
+
# Corresponds to the JSON property `tlsConfig`
|
|
19272
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolTlsConfig]
|
|
19273
|
+
attr_accessor :tls_config
|
|
19274
|
+
|
|
19275
|
+
def initialize(**args)
|
|
19276
|
+
update!(**args)
|
|
19277
|
+
end
|
|
19278
|
+
|
|
19279
|
+
# Update properties of this object
|
|
19280
|
+
def update!(**args)
|
|
19281
|
+
@authentication = args[:authentication] if args.key?(:authentication)
|
|
19282
|
+
@service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config)
|
|
19283
|
+
@text_schema = args[:text_schema] if args.key?(:text_schema)
|
|
19284
|
+
@tls_config = args[:tls_config] if args.key?(:tls_config)
|
|
19285
|
+
end
|
|
19286
|
+
end
|
|
19287
|
+
|
|
19288
|
+
# Configuration for tools using Service Directory.
|
|
19289
|
+
class GoogleCloudDialogflowV2ToolServiceDirectoryConfig
|
|
19290
|
+
include Google::Apis::Core::Hashable
|
|
19291
|
+
|
|
19292
|
+
# Required. The name of [Service Directory](https://cloud.google.com/service-
|
|
19293
|
+
# directory) service. Format: `projects//locations//namespaces//services/`. `
|
|
19294
|
+
# LocationID` of the service directory must be the same as the location of the
|
|
19295
|
+
# tool.
|
|
19296
|
+
# Corresponds to the JSON property `service`
|
|
19297
|
+
# @return [String]
|
|
19298
|
+
attr_accessor :service
|
|
19299
|
+
|
|
19300
|
+
def initialize(**args)
|
|
19301
|
+
update!(**args)
|
|
19302
|
+
end
|
|
19303
|
+
|
|
19304
|
+
# Update properties of this object
|
|
19305
|
+
def update!(**args)
|
|
19306
|
+
@service = args[:service] if args.key?(:service)
|
|
19307
|
+
end
|
|
19308
|
+
end
|
|
19309
|
+
|
|
19310
|
+
# The TLS configuration.
|
|
19311
|
+
class GoogleCloudDialogflowV2ToolTlsConfig
|
|
19312
|
+
include Google::Apis::Core::Hashable
|
|
19313
|
+
|
|
19314
|
+
# Required. Specifies a list of allowed custom CA certificates for HTTPS
|
|
19315
|
+
# verification.
|
|
19316
|
+
# Corresponds to the JSON property `caCerts`
|
|
19317
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolTlsConfigCaCert>]
|
|
19318
|
+
attr_accessor :ca_certs
|
|
19319
|
+
|
|
19320
|
+
def initialize(**args)
|
|
19321
|
+
update!(**args)
|
|
19322
|
+
end
|
|
19323
|
+
|
|
19324
|
+
# Update properties of this object
|
|
19325
|
+
def update!(**args)
|
|
19326
|
+
@ca_certs = args[:ca_certs] if args.key?(:ca_certs)
|
|
19327
|
+
end
|
|
19328
|
+
end
|
|
19329
|
+
|
|
19330
|
+
# The CA certificate.
|
|
19331
|
+
class GoogleCloudDialogflowV2ToolTlsConfigCaCert
|
|
19332
|
+
include Google::Apis::Core::Hashable
|
|
19333
|
+
|
|
19334
|
+
# Required. The allowed custom CA certificates (in DER format) for HTTPS
|
|
19335
|
+
# verification. This overrides the default SSL trust store. If this is empty or
|
|
19336
|
+
# unspecified, Dialogflow will use Google's default trust store to verify
|
|
19337
|
+
# certificates. N.B. Make sure the HTTPS server certificates are signed with "
|
|
19338
|
+
# subject alt name". For instance a certificate can be self-signed using the
|
|
19339
|
+
# following command, ``` openssl x509 -req -days 200 -in example.com.csr \ -
|
|
19340
|
+
# signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\
|
|
19341
|
+
# nsubjectAltName='DNS:www.example.com'") ```
|
|
19342
|
+
# Corresponds to the JSON property `cert`
|
|
19343
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
19344
|
+
# @return [String]
|
|
19345
|
+
attr_accessor :cert
|
|
19346
|
+
|
|
19347
|
+
# Required. The name of the allowed custom CA certificates. This can be used to
|
|
19348
|
+
# disambiguate the custom CA certificates.
|
|
19349
|
+
# Corresponds to the JSON property `displayName`
|
|
19350
|
+
# @return [String]
|
|
19351
|
+
attr_accessor :display_name
|
|
19352
|
+
|
|
19353
|
+
def initialize(**args)
|
|
19354
|
+
update!(**args)
|
|
19355
|
+
end
|
|
19356
|
+
|
|
19357
|
+
# Update properties of this object
|
|
19358
|
+
def update!(**args)
|
|
19359
|
+
@cert = args[:cert] if args.key?(:cert)
|
|
19360
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
19361
|
+
end
|
|
19362
|
+
end
|
|
19363
|
+
|
|
18729
19364
|
# The request message for Agents.TrainAgent.
|
|
18730
19365
|
class GoogleCloudDialogflowV2TrainAgentRequest
|
|
18731
19366
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module DialogflowV2
|
|
18
18
|
# Version of the google-apis-dialogflow_v2 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.115.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 = "
|
|
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
|
|
|
@@ -2530,6 +2542,12 @@ module Google
|
|
|
2530
2542
|
include Google::Apis::Core::JsonObjectSupport
|
|
2531
2543
|
end
|
|
2532
2544
|
|
|
2545
|
+
class GoogleCloudDialogflowV2ListToolsResponse
|
|
2546
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2547
|
+
|
|
2548
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2549
|
+
end
|
|
2550
|
+
|
|
2533
2551
|
class GoogleCloudDialogflowV2ListVersionsResponse
|
|
2534
2552
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2535
2553
|
|
|
@@ -3010,6 +3028,42 @@ module Google
|
|
|
3010
3028
|
include Google::Apis::Core::JsonObjectSupport
|
|
3011
3029
|
end
|
|
3012
3030
|
|
|
3031
|
+
class GoogleCloudDialogflowV2Tool
|
|
3032
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3033
|
+
|
|
3034
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3035
|
+
end
|
|
3036
|
+
|
|
3037
|
+
class GoogleCloudDialogflowV2ToolAuthentication
|
|
3038
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3039
|
+
|
|
3040
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3041
|
+
end
|
|
3042
|
+
|
|
3043
|
+
class GoogleCloudDialogflowV2ToolAuthenticationApiKeyConfig
|
|
3044
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3045
|
+
|
|
3046
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3047
|
+
end
|
|
3048
|
+
|
|
3049
|
+
class GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig
|
|
3050
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3051
|
+
|
|
3052
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3053
|
+
end
|
|
3054
|
+
|
|
3055
|
+
class GoogleCloudDialogflowV2ToolAuthenticationOAuthConfig
|
|
3056
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3057
|
+
|
|
3058
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3059
|
+
end
|
|
3060
|
+
|
|
3061
|
+
class GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig
|
|
3062
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3063
|
+
|
|
3064
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3065
|
+
end
|
|
3066
|
+
|
|
3013
3067
|
class GoogleCloudDialogflowV2ToolCall
|
|
3014
3068
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3015
3069
|
|
|
@@ -3028,6 +3082,60 @@ module Google
|
|
|
3028
3082
|
include Google::Apis::Core::JsonObjectSupport
|
|
3029
3083
|
end
|
|
3030
3084
|
|
|
3085
|
+
class GoogleCloudDialogflowV2ToolConnectorTool
|
|
3086
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3087
|
+
|
|
3088
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3089
|
+
end
|
|
3090
|
+
|
|
3091
|
+
class GoogleCloudDialogflowV2ToolConnectorToolAction
|
|
3092
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3093
|
+
|
|
3094
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3095
|
+
end
|
|
3096
|
+
|
|
3097
|
+
class GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation
|
|
3098
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3099
|
+
|
|
3100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3101
|
+
end
|
|
3102
|
+
|
|
3103
|
+
class GoogleCloudDialogflowV2ToolExtensionTool
|
|
3104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3105
|
+
|
|
3106
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3107
|
+
end
|
|
3108
|
+
|
|
3109
|
+
class GoogleCloudDialogflowV2ToolFunctionTool
|
|
3110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3111
|
+
|
|
3112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3113
|
+
end
|
|
3114
|
+
|
|
3115
|
+
class GoogleCloudDialogflowV2ToolOpenApiTool
|
|
3116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3117
|
+
|
|
3118
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3119
|
+
end
|
|
3120
|
+
|
|
3121
|
+
class GoogleCloudDialogflowV2ToolServiceDirectoryConfig
|
|
3122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3123
|
+
|
|
3124
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3125
|
+
end
|
|
3126
|
+
|
|
3127
|
+
class GoogleCloudDialogflowV2ToolTlsConfig
|
|
3128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3129
|
+
|
|
3130
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3131
|
+
end
|
|
3132
|
+
|
|
3133
|
+
class GoogleCloudDialogflowV2ToolTlsConfigCaCert
|
|
3134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3135
|
+
|
|
3136
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3137
|
+
end
|
|
3138
|
+
|
|
3031
3139
|
class GoogleCloudDialogflowV2TrainAgentRequest
|
|
3032
3140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3033
3141
|
|
|
@@ -4809,6 +4917,8 @@ module Google
|
|
|
4809
4917
|
property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
|
|
4810
4918
|
hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue::Representation
|
|
4811
4919
|
|
|
4920
|
+
property :service_account_auth_config, as: 'serviceAccountAuthConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig::Representation
|
|
4921
|
+
|
|
4812
4922
|
property :service_agent_auth, as: 'serviceAgentAuth'
|
|
4813
4923
|
property :uri, as: 'uri'
|
|
4814
4924
|
property :username, as: 'username'
|
|
@@ -4834,6 +4944,13 @@ module Google
|
|
|
4834
4944
|
end
|
|
4835
4945
|
end
|
|
4836
4946
|
|
|
4947
|
+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig
|
|
4948
|
+
# @private
|
|
4949
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4950
|
+
property :service_account, as: 'serviceAccount'
|
|
4951
|
+
end
|
|
4952
|
+
end
|
|
4953
|
+
|
|
4837
4954
|
class GoogleCloudDialogflowCxV3WebhookRequest
|
|
4838
4955
|
# @private
|
|
4839
4956
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -5863,6 +5980,8 @@ module Google
|
|
|
5863
5980
|
property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
|
|
5864
5981
|
hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue::Representation
|
|
5865
5982
|
|
|
5983
|
+
property :service_account_auth_config, as: 'serviceAccountAuthConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig::Representation
|
|
5984
|
+
|
|
5866
5985
|
property :service_agent_auth, as: 'serviceAgentAuth'
|
|
5867
5986
|
property :uri, as: 'uri'
|
|
5868
5987
|
property :username, as: 'username'
|
|
@@ -5888,6 +6007,13 @@ module Google
|
|
|
5888
6007
|
end
|
|
5889
6008
|
end
|
|
5890
6009
|
|
|
6010
|
+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig
|
|
6011
|
+
# @private
|
|
6012
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
6013
|
+
property :service_account, as: 'serviceAccount'
|
|
6014
|
+
end
|
|
6015
|
+
end
|
|
6016
|
+
|
|
5891
6017
|
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
|
5892
6018
|
# @private
|
|
5893
6019
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -8130,6 +8256,15 @@ module Google
|
|
|
8130
8256
|
end
|
|
8131
8257
|
end
|
|
8132
8258
|
|
|
8259
|
+
class GoogleCloudDialogflowV2ListToolsResponse
|
|
8260
|
+
# @private
|
|
8261
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8262
|
+
property :next_page_token, as: 'nextPageToken'
|
|
8263
|
+
collection :tools, as: 'tools', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool::Representation
|
|
8264
|
+
|
|
8265
|
+
end
|
|
8266
|
+
end
|
|
8267
|
+
|
|
8133
8268
|
class GoogleCloudDialogflowV2ListVersionsResponse
|
|
8134
8269
|
# @private
|
|
8135
8270
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -8950,6 +9085,80 @@ module Google
|
|
|
8950
9085
|
end
|
|
8951
9086
|
end
|
|
8952
9087
|
|
|
9088
|
+
class GoogleCloudDialogflowV2Tool
|
|
9089
|
+
# @private
|
|
9090
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9091
|
+
hash :action_confirmation_requirement, as: 'actionConfirmationRequirement'
|
|
9092
|
+
property :connector_spec, as: 'connectorSpec', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorTool, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorTool::Representation
|
|
9093
|
+
|
|
9094
|
+
property :create_time, as: 'createTime'
|
|
9095
|
+
property :description, as: 'description'
|
|
9096
|
+
property :display_name, as: 'displayName'
|
|
9097
|
+
property :extension_spec, as: 'extensionSpec', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolExtensionTool, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolExtensionTool::Representation
|
|
9098
|
+
|
|
9099
|
+
property :function_spec, as: 'functionSpec', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolFunctionTool, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolFunctionTool::Representation
|
|
9100
|
+
|
|
9101
|
+
property :name, as: 'name'
|
|
9102
|
+
property :open_api_spec, as: 'openApiSpec', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolOpenApiTool, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolOpenApiTool::Representation
|
|
9103
|
+
|
|
9104
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
|
9105
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
|
9106
|
+
property :tool_key, as: 'toolKey'
|
|
9107
|
+
property :update_time, as: 'updateTime'
|
|
9108
|
+
end
|
|
9109
|
+
end
|
|
9110
|
+
|
|
9111
|
+
class GoogleCloudDialogflowV2ToolAuthentication
|
|
9112
|
+
# @private
|
|
9113
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9114
|
+
property :api_key_config, as: 'apiKeyConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolAuthenticationApiKeyConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolAuthenticationApiKeyConfig::Representation
|
|
9115
|
+
|
|
9116
|
+
property :bearer_token_config, as: 'bearerTokenConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig::Representation
|
|
9117
|
+
|
|
9118
|
+
property :oauth_config, as: 'oauthConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolAuthenticationOAuthConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolAuthenticationOAuthConfig::Representation
|
|
9119
|
+
|
|
9120
|
+
property :service_agent_auth_config, as: 'serviceAgentAuthConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig::Representation
|
|
9121
|
+
|
|
9122
|
+
end
|
|
9123
|
+
end
|
|
9124
|
+
|
|
9125
|
+
class GoogleCloudDialogflowV2ToolAuthenticationApiKeyConfig
|
|
9126
|
+
# @private
|
|
9127
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9128
|
+
property :api_key, as: 'apiKey'
|
|
9129
|
+
property :key_name, as: 'keyName'
|
|
9130
|
+
property :request_location, as: 'requestLocation'
|
|
9131
|
+
property :secret_version_for_api_key, as: 'secretVersionForApiKey'
|
|
9132
|
+
end
|
|
9133
|
+
end
|
|
9134
|
+
|
|
9135
|
+
class GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig
|
|
9136
|
+
# @private
|
|
9137
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9138
|
+
property :secret_version_for_token, as: 'secretVersionForToken'
|
|
9139
|
+
property :token, as: 'token'
|
|
9140
|
+
end
|
|
9141
|
+
end
|
|
9142
|
+
|
|
9143
|
+
class GoogleCloudDialogflowV2ToolAuthenticationOAuthConfig
|
|
9144
|
+
# @private
|
|
9145
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9146
|
+
property :client_id, as: 'clientId'
|
|
9147
|
+
property :client_secret, as: 'clientSecret'
|
|
9148
|
+
property :oauth_grant_type, as: 'oauthGrantType'
|
|
9149
|
+
collection :scopes, as: 'scopes'
|
|
9150
|
+
property :secret_version_for_client_secret, as: 'secretVersionForClientSecret'
|
|
9151
|
+
property :token_endpoint, as: 'tokenEndpoint'
|
|
9152
|
+
end
|
|
9153
|
+
end
|
|
9154
|
+
|
|
9155
|
+
class GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig
|
|
9156
|
+
# @private
|
|
9157
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9158
|
+
property :service_agent_auth, as: 'serviceAgentAuth'
|
|
9159
|
+
end
|
|
9160
|
+
end
|
|
9161
|
+
|
|
8953
9162
|
class GoogleCloudDialogflowV2ToolCall
|
|
8954
9163
|
# @private
|
|
8955
9164
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -8985,6 +9194,86 @@ module Google
|
|
|
8985
9194
|
end
|
|
8986
9195
|
end
|
|
8987
9196
|
|
|
9197
|
+
class GoogleCloudDialogflowV2ToolConnectorTool
|
|
9198
|
+
# @private
|
|
9199
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9200
|
+
collection :actions, as: 'actions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorToolAction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorToolAction::Representation
|
|
9201
|
+
|
|
9202
|
+
property :name, as: 'name'
|
|
9203
|
+
end
|
|
9204
|
+
end
|
|
9205
|
+
|
|
9206
|
+
class GoogleCloudDialogflowV2ToolConnectorToolAction
|
|
9207
|
+
# @private
|
|
9208
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9209
|
+
property :connection_action_id, as: 'connectionActionId'
|
|
9210
|
+
property :entity_operation, as: 'entityOperation', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation::Representation
|
|
9211
|
+
|
|
9212
|
+
collection :input_fields, as: 'inputFields'
|
|
9213
|
+
collection :output_fields, as: 'outputFields'
|
|
9214
|
+
end
|
|
9215
|
+
end
|
|
9216
|
+
|
|
9217
|
+
class GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation
|
|
9218
|
+
# @private
|
|
9219
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9220
|
+
property :entity_id, as: 'entityId'
|
|
9221
|
+
property :operation, as: 'operation'
|
|
9222
|
+
end
|
|
9223
|
+
end
|
|
9224
|
+
|
|
9225
|
+
class GoogleCloudDialogflowV2ToolExtensionTool
|
|
9226
|
+
# @private
|
|
9227
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9228
|
+
property :name, as: 'name'
|
|
9229
|
+
end
|
|
9230
|
+
end
|
|
9231
|
+
|
|
9232
|
+
class GoogleCloudDialogflowV2ToolFunctionTool
|
|
9233
|
+
# @private
|
|
9234
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9235
|
+
hash :input_schema, as: 'inputSchema'
|
|
9236
|
+
property :method_type, as: 'methodType'
|
|
9237
|
+
hash :output_schema, as: 'outputSchema'
|
|
9238
|
+
end
|
|
9239
|
+
end
|
|
9240
|
+
|
|
9241
|
+
class GoogleCloudDialogflowV2ToolOpenApiTool
|
|
9242
|
+
# @private
|
|
9243
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9244
|
+
property :authentication, as: 'authentication', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolAuthentication, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolAuthentication::Representation
|
|
9245
|
+
|
|
9246
|
+
property :service_directory_config, as: 'serviceDirectoryConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolServiceDirectoryConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolServiceDirectoryConfig::Representation
|
|
9247
|
+
|
|
9248
|
+
property :text_schema, as: 'textSchema'
|
|
9249
|
+
property :tls_config, as: 'tlsConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolTlsConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolTlsConfig::Representation
|
|
9250
|
+
|
|
9251
|
+
end
|
|
9252
|
+
end
|
|
9253
|
+
|
|
9254
|
+
class GoogleCloudDialogflowV2ToolServiceDirectoryConfig
|
|
9255
|
+
# @private
|
|
9256
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9257
|
+
property :service, as: 'service'
|
|
9258
|
+
end
|
|
9259
|
+
end
|
|
9260
|
+
|
|
9261
|
+
class GoogleCloudDialogflowV2ToolTlsConfig
|
|
9262
|
+
# @private
|
|
9263
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9264
|
+
collection :ca_certs, as: 'caCerts', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolTlsConfigCaCert, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolTlsConfigCaCert::Representation
|
|
9265
|
+
|
|
9266
|
+
end
|
|
9267
|
+
end
|
|
9268
|
+
|
|
9269
|
+
class GoogleCloudDialogflowV2ToolTlsConfigCaCert
|
|
9270
|
+
# @private
|
|
9271
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9272
|
+
property :cert, :base64 => true, as: 'cert'
|
|
9273
|
+
property :display_name, as: 'displayName'
|
|
9274
|
+
end
|
|
9275
|
+
end
|
|
9276
|
+
|
|
8988
9277
|
class GoogleCloudDialogflowV2TrainAgentRequest
|
|
8989
9278
|
# @private
|
|
8990
9279
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -5088,8 +5088,8 @@ module Google
|
|
|
5088
5088
|
# @param [String] name
|
|
5089
5089
|
# The resource that owns the locations collection, if applicable.
|
|
5090
5090
|
# @param [Array<String>, String] extra_location_types
|
|
5091
|
-
# Optional.
|
|
5092
|
-
#
|
|
5091
|
+
# Optional. Do not use this field. It is unsupported and is ignored unless
|
|
5092
|
+
# explicitly documented otherwise. This is primarily for internal usage.
|
|
5093
5093
|
# @param [String] filter
|
|
5094
5094
|
# A filter to narrow down results to a preferred subset. The filtering language
|
|
5095
5095
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
|
@@ -10357,6 +10357,186 @@ module Google
|
|
|
10357
10357
|
execute_or_queue_command(command, &block)
|
|
10358
10358
|
end
|
|
10359
10359
|
|
|
10360
|
+
# Creates a tool.
|
|
10361
|
+
# @param [String] parent
|
|
10362
|
+
# Required. The project/location to create tool for. Format: `projects//
|
|
10363
|
+
# locations/`
|
|
10364
|
+
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool] google_cloud_dialogflow_v2_tool_object
|
|
10365
|
+
# @param [String] tool_id
|
|
10366
|
+
# Optional. The ID to use for the tool, which will become the final component of
|
|
10367
|
+
# the tool's resource name. The tool ID must be compliant with the regression
|
|
10368
|
+
# formula `a-zA-Z*` with the characters length in range of [3,64]. If the field
|
|
10369
|
+
# is not provide, an Id will be auto-generated. If the field is provided, the
|
|
10370
|
+
# caller is responsible for 1. the uniqueness of the ID, otherwise the request
|
|
10371
|
+
# will be rejected. 2. the consistency for whether to use custom ID or not under
|
|
10372
|
+
# a project to better ensure uniqueness.
|
|
10373
|
+
# @param [String] fields
|
|
10374
|
+
# Selector specifying which fields to include in a partial response.
|
|
10375
|
+
# @param [String] quota_user
|
|
10376
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
10377
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
10378
|
+
# @param [Google::Apis::RequestOptions] options
|
|
10379
|
+
# Request-specific options
|
|
10380
|
+
#
|
|
10381
|
+
# @yield [result, err] Result & error if block supplied
|
|
10382
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool] parsed result object
|
|
10383
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
10384
|
+
#
|
|
10385
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool]
|
|
10386
|
+
#
|
|
10387
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10388
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10389
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10390
|
+
def create_project_location_tool(parent, google_cloud_dialogflow_v2_tool_object = nil, tool_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
10391
|
+
command = make_simple_command(:post, 'v2/{+parent}/tools', options)
|
|
10392
|
+
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool::Representation
|
|
10393
|
+
command.request_object = google_cloud_dialogflow_v2_tool_object
|
|
10394
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool::Representation
|
|
10395
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool
|
|
10396
|
+
command.params['parent'] = parent unless parent.nil?
|
|
10397
|
+
command.query['toolId'] = tool_id unless tool_id.nil?
|
|
10398
|
+
command.query['fields'] = fields unless fields.nil?
|
|
10399
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10400
|
+
execute_or_queue_command(command, &block)
|
|
10401
|
+
end
|
|
10402
|
+
|
|
10403
|
+
# Deletes a tool.
|
|
10404
|
+
# @param [String] name
|
|
10405
|
+
# Required. The tool resource name to delete. Format: `projects//locations//
|
|
10406
|
+
# tools/`
|
|
10407
|
+
# @param [String] fields
|
|
10408
|
+
# Selector specifying which fields to include in a partial response.
|
|
10409
|
+
# @param [String] quota_user
|
|
10410
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
10411
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
10412
|
+
# @param [Google::Apis::RequestOptions] options
|
|
10413
|
+
# Request-specific options
|
|
10414
|
+
#
|
|
10415
|
+
# @yield [result, err] Result & error if block supplied
|
|
10416
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleProtobufEmpty] parsed result object
|
|
10417
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
10418
|
+
#
|
|
10419
|
+
# @return [Google::Apis::DialogflowV2::GoogleProtobufEmpty]
|
|
10420
|
+
#
|
|
10421
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10422
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10423
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10424
|
+
def delete_project_location_tool(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
10425
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
|
10426
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleProtobufEmpty::Representation
|
|
10427
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleProtobufEmpty
|
|
10428
|
+
command.params['name'] = name unless name.nil?
|
|
10429
|
+
command.query['fields'] = fields unless fields.nil?
|
|
10430
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10431
|
+
execute_or_queue_command(command, &block)
|
|
10432
|
+
end
|
|
10433
|
+
|
|
10434
|
+
# Retrieves a tool.
|
|
10435
|
+
# @param [String] name
|
|
10436
|
+
# Required. The tool resource name to retrieve. Format: `projects//locations//
|
|
10437
|
+
# tools/`
|
|
10438
|
+
# @param [String] fields
|
|
10439
|
+
# Selector specifying which fields to include in a partial response.
|
|
10440
|
+
# @param [String] quota_user
|
|
10441
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
10442
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
10443
|
+
# @param [Google::Apis::RequestOptions] options
|
|
10444
|
+
# Request-specific options
|
|
10445
|
+
#
|
|
10446
|
+
# @yield [result, err] Result & error if block supplied
|
|
10447
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool] parsed result object
|
|
10448
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
10449
|
+
#
|
|
10450
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool]
|
|
10451
|
+
#
|
|
10452
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10453
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10454
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10455
|
+
def get_project_location_tool(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
10456
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
|
10457
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool::Representation
|
|
10458
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool
|
|
10459
|
+
command.params['name'] = name unless name.nil?
|
|
10460
|
+
command.query['fields'] = fields unless fields.nil?
|
|
10461
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10462
|
+
execute_or_queue_command(command, &block)
|
|
10463
|
+
end
|
|
10464
|
+
|
|
10465
|
+
# Lists tools.
|
|
10466
|
+
# @param [String] parent
|
|
10467
|
+
# Required. The project/location to list tools for. Format: `projects//locations/
|
|
10468
|
+
# `
|
|
10469
|
+
# @param [Fixnum] page_size
|
|
10470
|
+
# Optional. Maximum number of conversation models to return in a single page.
|
|
10471
|
+
# Default to 10.
|
|
10472
|
+
# @param [String] page_token
|
|
10473
|
+
# Optional. The next_page_token value returned from a previous list request.
|
|
10474
|
+
# @param [String] fields
|
|
10475
|
+
# Selector specifying which fields to include in a partial response.
|
|
10476
|
+
# @param [String] quota_user
|
|
10477
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
10478
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
10479
|
+
# @param [Google::Apis::RequestOptions] options
|
|
10480
|
+
# Request-specific options
|
|
10481
|
+
#
|
|
10482
|
+
# @yield [result, err] Result & error if block supplied
|
|
10483
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListToolsResponse] parsed result object
|
|
10484
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
10485
|
+
#
|
|
10486
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListToolsResponse]
|
|
10487
|
+
#
|
|
10488
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10489
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10490
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10491
|
+
def list_project_location_tools(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
10492
|
+
command = make_simple_command(:get, 'v2/{+parent}/tools', options)
|
|
10493
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListToolsResponse::Representation
|
|
10494
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListToolsResponse
|
|
10495
|
+
command.params['parent'] = parent unless parent.nil?
|
|
10496
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
10497
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
10498
|
+
command.query['fields'] = fields unless fields.nil?
|
|
10499
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10500
|
+
execute_or_queue_command(command, &block)
|
|
10501
|
+
end
|
|
10502
|
+
|
|
10503
|
+
# Updates a tool.
|
|
10504
|
+
# @param [String] name
|
|
10505
|
+
# Output only. Identifier. The resource name of the tool. Format: `projects//
|
|
10506
|
+
# locations//tools/`.
|
|
10507
|
+
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool] google_cloud_dialogflow_v2_tool_object
|
|
10508
|
+
# @param [String] update_mask
|
|
10509
|
+
# Optional. The list of fields to update.
|
|
10510
|
+
# @param [String] fields
|
|
10511
|
+
# Selector specifying which fields to include in a partial response.
|
|
10512
|
+
# @param [String] quota_user
|
|
10513
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
10514
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
10515
|
+
# @param [Google::Apis::RequestOptions] options
|
|
10516
|
+
# Request-specific options
|
|
10517
|
+
#
|
|
10518
|
+
# @yield [result, err] Result & error if block supplied
|
|
10519
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool] parsed result object
|
|
10520
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
10521
|
+
#
|
|
10522
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool]
|
|
10523
|
+
#
|
|
10524
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10525
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10526
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10527
|
+
def patch_project_location_tool(name, google_cloud_dialogflow_v2_tool_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
10528
|
+
command = make_simple_command(:patch, 'v2/{+name}', options)
|
|
10529
|
+
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool::Representation
|
|
10530
|
+
command.request_object = google_cloud_dialogflow_v2_tool_object
|
|
10531
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool::Representation
|
|
10532
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Tool
|
|
10533
|
+
command.params['name'] = name unless name.nil?
|
|
10534
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
10535
|
+
command.query['fields'] = fields unless fields.nil?
|
|
10536
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10537
|
+
execute_or_queue_command(command, &block)
|
|
10538
|
+
end
|
|
10539
|
+
|
|
10360
10540
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
10361
10541
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
10362
10542
|
# 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_v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.115.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_v2/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.115.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|