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.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +4 -1
  3. data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +3 -1
  4. data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +25 -11
  5. data/lib/google/cloud/dialogflow/cx/v3/agents/operations.rb +13 -5
  6. data/lib/google/cloud/dialogflow/cx/v3/agents/rest/client.rb +25 -11
  7. data/lib/google/cloud/dialogflow/cx/v3/agents/rest/operations.rb +11 -4
  8. data/lib/google/cloud/dialogflow/cx/v3/changelogs/client.rb +7 -2
  9. data/lib/google/cloud/dialogflow/cx/v3/changelogs/rest/client.rb +7 -2
  10. data/lib/google/cloud/dialogflow/cx/v3/data_store_connection_pb.rb +15 -1
  11. data/lib/google/cloud/dialogflow/cx/v3/deployments/client.rb +7 -2
  12. data/lib/google/cloud/dialogflow/cx/v3/deployments/rest/client.rb +7 -2
  13. data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +17 -7
  14. data/lib/google/cloud/dialogflow/cx/v3/entity_types/operations.rb +13 -5
  15. data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/client.rb +17 -7
  16. data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/operations.rb +11 -4
  17. data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +21 -9
  18. data/lib/google/cloud/dialogflow/cx/v3/environments/operations.rb +13 -5
  19. data/lib/google/cloud/dialogflow/cx/v3/environments/rest/client.rb +21 -9
  20. data/lib/google/cloud/dialogflow/cx/v3/environments/rest/operations.rb +11 -4
  21. data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +17 -7
  22. data/lib/google/cloud/dialogflow/cx/v3/experiments/rest/client.rb +17 -7
  23. data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +2 -1
  24. data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +23 -10
  25. data/lib/google/cloud/dialogflow/cx/v3/flows/operations.rb +13 -5
  26. data/lib/google/cloud/dialogflow/cx/v3/flows/rest/client.rb +23 -10
  27. data/lib/google/cloud/dialogflow/cx/v3/flows/rest/operations.rb +11 -4
  28. data/lib/google/cloud/dialogflow/cx/v3/generators/client.rb +13 -5
  29. data/lib/google/cloud/dialogflow/cx/v3/generators/rest/client.rb +13 -5
  30. data/lib/google/cloud/dialogflow/cx/v3/intents/client.rb +17 -7
  31. data/lib/google/cloud/dialogflow/cx/v3/intents/operations.rb +13 -5
  32. data/lib/google/cloud/dialogflow/cx/v3/intents/rest/client.rb +17 -7
  33. data/lib/google/cloud/dialogflow/cx/v3/intents/rest/operations.rb +11 -4
  34. data/lib/google/cloud/dialogflow/cx/v3/pages/client.rb +13 -5
  35. data/lib/google/cloud/dialogflow/cx/v3/pages/rest/client.rb +13 -5
  36. data/lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb +1 -1
  37. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +13 -5
  38. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/rest/client.rb +13 -5
  39. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +13 -5
  40. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/rest/client.rb +13 -5
  41. data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +3 -1
  42. data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +15 -6
  43. data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/client.rb +13 -5
  44. data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +27 -12
  45. data/lib/google/cloud/dialogflow/cx/v3/test_cases/operations.rb +13 -5
  46. data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/client.rb +27 -12
  47. data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/operations.rb +11 -4
  48. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +13 -5
  49. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest/client.rb +13 -5
  50. data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
  51. data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +17 -7
  52. data/lib/google/cloud/dialogflow/cx/v3/versions/operations.rb +13 -5
  53. data/lib/google/cloud/dialogflow/cx/v3/versions/rest/client.rb +17 -7
  54. data/lib/google/cloud/dialogflow/cx/v3/versions/rest/operations.rb +11 -4
  55. data/lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb +4 -1
  56. data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +13 -5
  57. data/lib/google/cloud/dialogflow/cx/v3/webhooks/rest/client.rb +13 -5
  58. data/proto_docs/google/api/client.rb +18 -10
  59. data/proto_docs/google/api/resource.rb +7 -2
  60. data/proto_docs/google/cloud/dialogflow/cx/v3/advanced_settings.rb +54 -2
  61. data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +24 -2
  62. data/proto_docs/google/cloud/dialogflow/cx/v3/data_store_connection.rb +199 -0
  63. data/proto_docs/google/cloud/dialogflow/cx/v3/flow.rb +28 -0
  64. data/proto_docs/google/cloud/dialogflow/cx/v3/security_settings.rb +9 -0
  65. data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +18 -0
  66. data/proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb +4 -6
  67. data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +75 -0
  68. 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: 0.26.0
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-02-26 00:00:00.000000000 Z
11
+ date: 2024-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common