google-cloud-dialogflow-cx-v3 0.26.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +4 -1
- data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +3 -1
- data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +25 -11
- data/lib/google/cloud/dialogflow/cx/v3/agents/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/agents/rest/client.rb +25 -11
- data/lib/google/cloud/dialogflow/cx/v3/agents/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/changelogs/client.rb +7 -2
- data/lib/google/cloud/dialogflow/cx/v3/changelogs/rest/client.rb +7 -2
- data/lib/google/cloud/dialogflow/cx/v3/data_store_connection_pb.rb +15 -1
- data/lib/google/cloud/dialogflow/cx/v3/deployments/client.rb +7 -2
- data/lib/google/cloud/dialogflow/cx/v3/deployments/rest/client.rb +7 -2
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +21 -9
- data/lib/google/cloud/dialogflow/cx/v3/environments/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/environments/rest/client.rb +21 -9
- data/lib/google/cloud/dialogflow/cx/v3/environments/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/experiments/rest/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +23 -10
- data/lib/google/cloud/dialogflow/cx/v3/flows/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/flows/rest/client.rb +23 -10
- data/lib/google/cloud/dialogflow/cx/v3/flows/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/generators/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/generators/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/intents/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/intents/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/intents/rest/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/intents/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/pages/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/pages/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +3 -1
- data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +15 -6
- data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +27 -12
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/client.rb +27 -12
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/versions/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/versions/rest/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/versions/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb +4 -1
- data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/webhooks/rest/client.rb +13 -5
- data/proto_docs/google/api/client.rb +18 -10
- data/proto_docs/google/api/resource.rb +7 -2
- data/proto_docs/google/cloud/dialogflow/cx/v3/advanced_settings.rb +54 -2
- data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +24 -2
- data/proto_docs/google/cloud/dialogflow/cx/v3/data_store_connection.rb +199 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/flow.rb +28 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/security_settings.rb +9 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +18 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb +4 -6
- data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +75 -0
- metadata +2 -2
@@ -88,6 +88,17 @@ module Google
|
|
88
88
|
# -out example.com.crt \
|
89
89
|
# -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
|
90
90
|
# ```
|
91
|
+
# @!attribute [rw] oauth_config
|
92
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::Webhook::GenericWebService::OAuthConfig]
|
93
|
+
# Optional. The OAuth configuration of the webhook. If specified,
|
94
|
+
# Dialogflow will initiate the OAuth client credential flow to exchange an
|
95
|
+
# access token from the 3rd party platform and put it in the auth header.
|
96
|
+
# @!attribute [rw] service_agent_auth
|
97
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::Webhook::GenericWebService::ServiceAgentAuth]
|
98
|
+
# Optional. Indicate the auth token type generated from the [Diglogflow
|
99
|
+
# service
|
100
|
+
# agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).
|
101
|
+
# The generated token is sent in the Authorization header.
|
91
102
|
# @!attribute [rw] webhook_type
|
92
103
|
# @return [::Google::Cloud::Dialogflow::CX::V3::Webhook::GenericWebService::WebhookType]
|
93
104
|
# Optional. Type of the webhook.
|
@@ -109,6 +120,26 @@ module Google
|
|
109
120
|
include ::Google::Protobuf::MessageExts
|
110
121
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
111
122
|
|
123
|
+
# Represents configuration of OAuth client credential flow for 3rd party
|
124
|
+
# API authentication.
|
125
|
+
# @!attribute [rw] client_id
|
126
|
+
# @return [::String]
|
127
|
+
# Required. The client ID provided by the 3rd party platform.
|
128
|
+
# @!attribute [rw] client_secret
|
129
|
+
# @return [::String]
|
130
|
+
# Required. The client secret provided by the 3rd party platform.
|
131
|
+
# @!attribute [rw] token_endpoint
|
132
|
+
# @return [::String]
|
133
|
+
# Required. The token endpoint provided by the 3rd party platform to
|
134
|
+
# exchange an access token.
|
135
|
+
# @!attribute [rw] scopes
|
136
|
+
# @return [::Array<::String>]
|
137
|
+
# Optional. The OAuth scopes to grant.
|
138
|
+
class OAuthConfig
|
139
|
+
include ::Google::Protobuf::MessageExts
|
140
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
141
|
+
end
|
142
|
+
|
112
143
|
# @!attribute [rw] key
|
113
144
|
# @return [::String]
|
114
145
|
# @!attribute [rw] value
|
@@ -127,6 +158,30 @@ module Google
|
|
127
158
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
128
159
|
end
|
129
160
|
|
161
|
+
# Indicate the auth token type generated from the [Diglogflow service
|
162
|
+
# agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).
|
163
|
+
module ServiceAgentAuth
|
164
|
+
# Service agent auth type unspecified. Default to ID_TOKEN.
|
165
|
+
SERVICE_AGENT_AUTH_UNSPECIFIED = 0
|
166
|
+
|
167
|
+
# No token used.
|
168
|
+
NONE = 1
|
169
|
+
|
170
|
+
# Use [ID
|
171
|
+
# token](https://cloud.google.com/docs/authentication/token-types#id)
|
172
|
+
# generated from service agent. This can be used to access Cloud Function
|
173
|
+
# and Cloud Run after you grant Invoker role to
|
174
|
+
# `service-<PROJECT-NUMBER>@gcp-sa-dialogflow.iam.gserviceaccount.com`.
|
175
|
+
ID_TOKEN = 2
|
176
|
+
|
177
|
+
# Use [access
|
178
|
+
# token](https://cloud.google.com/docs/authentication/token-types#access)
|
179
|
+
# generated from service agent. This can be used to access other Google
|
180
|
+
# Cloud APIs after you grant required roles to
|
181
|
+
# `service-<PROJECT-NUMBER>@gcp-sa-dialogflow.iam.gserviceaccount.com`.
|
182
|
+
ACCESS_TOKEN = 3
|
183
|
+
end
|
184
|
+
|
130
185
|
# Represents the type of webhook configuration.
|
131
186
|
module WebhookType
|
132
187
|
# Default value. This value is unused.
|
@@ -346,6 +401,9 @@ module Google
|
|
346
401
|
# @return [::Google::Cloud::Dialogflow::CX::V3::WebhookRequest::SentimentAnalysisResult]
|
347
402
|
# The sentiment analysis result of the current user request. The field is
|
348
403
|
# filled when sentiment analysis is configured to be enabled for the request.
|
404
|
+
# @!attribute [rw] language_info
|
405
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::LanguageInfo]
|
406
|
+
# Information about the language of the request.
|
349
407
|
class WebhookRequest
|
350
408
|
include ::Google::Protobuf::MessageExts
|
351
409
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -625,6 +683,23 @@ module Google
|
|
625
683
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
626
684
|
end
|
627
685
|
end
|
686
|
+
|
687
|
+
# Represents the language information of the request.
|
688
|
+
# @!attribute [rw] input_language_code
|
689
|
+
# @return [::String]
|
690
|
+
# The language code specified in the original
|
691
|
+
# {::Google::Cloud::Dialogflow::CX::V3::QueryInput#language_code request}.
|
692
|
+
# @!attribute [rw] resolved_language_code
|
693
|
+
# @return [::String]
|
694
|
+
# The language code detected for this request based on the user
|
695
|
+
# conversation.
|
696
|
+
# @!attribute [rw] confidence_score
|
697
|
+
# @return [::Float]
|
698
|
+
# The confidence score of the detected language between 0 and 1.
|
699
|
+
class LanguageInfo
|
700
|
+
include ::Google::Protobuf::MessageExts
|
701
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
702
|
+
end
|
628
703
|
end
|
629
704
|
end
|
630
705
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dialogflow-cx-v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|