google-cloud-dialogflow-cx-v3 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +1 -1
  3. data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +2 -1
  4. data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +13 -13
  5. data/lib/google/cloud/dialogflow/cx/v3/agents/paths.rb +19 -0
  6. data/lib/google/cloud/dialogflow/cx/v3/agents/rest/client.rb +13 -13
  7. data/lib/google/cloud/dialogflow/cx/v3/audio_config_pb.rb +1 -1
  8. data/lib/google/cloud/dialogflow/cx/v3/changelog_pb.rb +1 -1
  9. data/lib/google/cloud/dialogflow/cx/v3/changelogs/client.rb +3 -3
  10. data/lib/google/cloud/dialogflow/cx/v3/changelogs/rest/client.rb +3 -3
  11. data/lib/google/cloud/dialogflow/cx/v3/data_store_connection_pb.rb +1 -1
  12. data/lib/google/cloud/dialogflow/cx/v3/deployments/client.rb +3 -5
  13. data/lib/google/cloud/dialogflow/cx/v3/deployments/rest/client.rb +3 -5
  14. data/lib/google/cloud/dialogflow/cx/v3/entity_type_pb.rb +1 -1
  15. data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +12 -13
  16. data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/client.rb +12 -13
  17. data/lib/google/cloud/dialogflow/cx/v3/environment_pb.rb +1 -1
  18. data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +15 -17
  19. data/lib/google/cloud/dialogflow/cx/v3/environments/rest/client.rb +15 -17
  20. data/lib/google/cloud/dialogflow/cx/v3/experiment_pb.rb +1 -1
  21. data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +9 -13
  22. data/lib/google/cloud/dialogflow/cx/v3/experiments/rest/client.rb +9 -13
  23. data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +1 -1
  24. data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +15 -15
  25. data/lib/google/cloud/dialogflow/cx/v3/flows/rest/client.rb +15 -15
  26. data/lib/google/cloud/dialogflow/cx/v3/fulfillment_pb.rb +1 -1
  27. data/lib/google/cloud/dialogflow/cx/v3/gcs_pb.rb +1 -1
  28. data/lib/google/cloud/dialogflow/cx/v3/generative_settings_pb.rb +1 -1
  29. data/lib/google/cloud/dialogflow/cx/v3/generator_pb.rb +2 -1
  30. data/lib/google/cloud/dialogflow/cx/v3/generators/client.rb +6 -6
  31. data/lib/google/cloud/dialogflow/cx/v3/generators/rest/client.rb +6 -6
  32. data/lib/google/cloud/dialogflow/cx/v3/import_strategy_pb.rb +1 -1
  33. data/lib/google/cloud/dialogflow/cx/v3/intent_pb.rb +1 -1
  34. data/lib/google/cloud/dialogflow/cx/v3/intents/client.rb +10 -11
  35. data/lib/google/cloud/dialogflow/cx/v3/intents/rest/client.rb +10 -11
  36. data/lib/google/cloud/dialogflow/cx/v3/page_pb.rb +1 -1
  37. data/lib/google/cloud/dialogflow/cx/v3/pages/client.rb +8 -8
  38. data/lib/google/cloud/dialogflow/cx/v3/pages/rest/client.rb +8 -8
  39. data/lib/google/cloud/dialogflow/cx/v3/safety_settings_pb.rb +1 -1
  40. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +6 -6
  41. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/rest/client.rb +6 -6
  42. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +25 -23
  43. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/rest/client.rb +25 -23
  44. data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +5 -1
  45. data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +12 -9
  46. data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/client.rb +12 -9
  47. data/lib/google/cloud/dialogflow/cx/v3/test_case_pb.rb +1 -1
  48. data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +25 -25
  49. data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/client.rb +25 -25
  50. data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_pb.rb +1 -1
  51. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +14 -15
  52. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest/client.rb +14 -15
  53. data/lib/google/cloud/dialogflow/cx/v3/validation_message_pb.rb +1 -1
  54. data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
  55. data/lib/google/cloud/dialogflow/cx/v3/version_pb.rb +1 -1
  56. data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +13 -14
  57. data/lib/google/cloud/dialogflow/cx/v3/versions/rest/client.rb +13 -14
  58. data/lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb +1 -1
  59. data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +6 -6
  60. data/lib/google/cloud/dialogflow/cx/v3/webhooks/rest/client.rb +6 -6
  61. data/proto_docs/google/api/client.rb +37 -0
  62. data/proto_docs/google/cloud/dialogflow/cx/v3/advanced_settings.rb +1 -1
  63. data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +44 -20
  64. data/proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb +6 -0
  65. data/proto_docs/google/cloud/dialogflow/cx/v3/changelog.rb +5 -5
  66. data/proto_docs/google/cloud/dialogflow/cx/v3/deployment.rb +11 -13
  67. data/proto_docs/google/cloud/dialogflow/cx/v3/entity_type.rb +16 -17
  68. data/proto_docs/google/cloud/dialogflow/cx/v3/environment.rb +26 -28
  69. data/proto_docs/google/cloud/dialogflow/cx/v3/experiment.rb +15 -19
  70. data/proto_docs/google/cloud/dialogflow/cx/v3/flow.rb +28 -27
  71. data/proto_docs/google/cloud/dialogflow/cx/v3/fulfillment.rb +2 -2
  72. data/proto_docs/google/cloud/dialogflow/cx/v3/generative_settings.rb +2 -2
  73. data/proto_docs/google/cloud/dialogflow/cx/v3/generator.rb +41 -8
  74. data/proto_docs/google/cloud/dialogflow/cx/v3/intent.rb +19 -19
  75. data/proto_docs/google/cloud/dialogflow/cx/v3/page.rb +33 -33
  76. data/proto_docs/google/cloud/dialogflow/cx/v3/response_message.rb +2 -1
  77. data/proto_docs/google/cloud/dialogflow/cx/v3/security_settings.rb +14 -14
  78. data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +107 -22
  79. data/proto_docs/google/cloud/dialogflow/cx/v3/session_entity_type.rb +30 -28
  80. data/proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb +41 -43
  81. data/proto_docs/google/cloud/dialogflow/cx/v3/transition_route_group.rb +16 -18
  82. data/proto_docs/google/cloud/dialogflow/cx/v3/version.rb +19 -19
  83. data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +24 -25
  84. metadata +3 -3
@@ -27,8 +27,8 @@ module Google
27
27
  # @!attribute [rw] version
28
28
  # @return [::String]
29
29
  # Name of the created version.
30
- # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
31
- # ID>/flows/<Flow ID>/versions/<Version ID>`.
30
+ # Format:
31
+ # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
32
32
  class CreateVersionOperationMetadata
33
33
  include ::Google::Protobuf::MessageExts
34
34
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -37,9 +37,10 @@ module Google
37
37
  # Represents a version of a flow.
38
38
  # @!attribute [rw] name
39
39
  # @return [::String]
40
- # Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
41
- # ID>/flows/<Flow ID>/versions/<Version ID>. Version ID is a self-increasing
42
- # number generated by Dialogflow upon version creation.
40
+ # Format:
41
+ # projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.
42
+ # Version ID is a self-increasing number generated by Dialogflow upon version
43
+ # creation.
43
44
  # @!attribute [rw] display_name
44
45
  # @return [::String]
45
46
  # Required. The human-readable name of the version. Limit of 64 characters.
@@ -82,8 +83,8 @@ module Google
82
83
  # @!attribute [rw] parent
83
84
  # @return [::String]
84
85
  # Required. The {::Google::Cloud::Dialogflow::CX::V3::Flow Flow} to list all
85
- # versions for. Format: `projects/<Project ID>/locations/<Location
86
- # ID>/agents/<Agent ID>/flows/<Flow ID>`.
86
+ # versions for. Format:
87
+ # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
87
88
  # @!attribute [rw] page_size
88
89
  # @return [::Integer]
89
90
  # The maximum number of items to return in a single page. By default 20 and
@@ -117,8 +118,8 @@ module Google
117
118
  # @!attribute [rw] name
118
119
  # @return [::String]
119
120
  # Required. The name of the {::Google::Cloud::Dialogflow::CX::V3::Version Version}.
120
- # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
121
- # ID>/flows/<Flow ID>/versions/<Version ID>`.
121
+ # Format:
122
+ # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
122
123
  class GetVersionRequest
123
124
  include ::Google::Protobuf::MessageExts
124
125
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -130,8 +131,7 @@ module Google
130
131
  # @return [::String]
131
132
  # Required. The {::Google::Cloud::Dialogflow::CX::V3::Flow Flow} to create an
132
133
  # {::Google::Cloud::Dialogflow::CX::V3::Version Version} for. Format:
133
- # `projects/<Project ID>/locations/<Location ID>/agents/<Agent
134
- # ID>/flows/<Flow ID>`.
134
+ # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
135
135
  # @!attribute [rw] version
136
136
  # @return [::Google::Cloud::Dialogflow::CX::V3::Version]
137
137
  # Required. The version to create.
@@ -159,8 +159,8 @@ module Google
159
159
  # @!attribute [rw] name
160
160
  # @return [::String]
161
161
  # Required. The name of the {::Google::Cloud::Dialogflow::CX::V3::Version Version}
162
- # to delete. Format: `projects/<Project ID>/locations/<Location
163
- # ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
162
+ # to delete. Format:
163
+ # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
164
164
  class DeleteVersionRequest
165
165
  include ::Google::Protobuf::MessageExts
166
166
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -171,8 +171,8 @@ module Google
171
171
  # @!attribute [rw] name
172
172
  # @return [::String]
173
173
  # Required. The {::Google::Cloud::Dialogflow::CX::V3::Version Version} to be loaded
174
- # to draft flow. Format: `projects/<Project ID>/locations/<Location
175
- # ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
174
+ # to draft flow. Format:
175
+ # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
176
176
  # @!attribute [rw] allow_override_agent_resources
177
177
  # @return [::Boolean]
178
178
  # This field is used to prevent accidental overwrite of other agent
@@ -191,14 +191,14 @@ module Google
191
191
  # Required. Name of the base flow version to compare with the target version.
192
192
  # Use version ID `0` to indicate the draft version of the specified flow.
193
193
  #
194
- # Format: `projects/<Project ID>/locations/<Location ID>/agents/
195
- # <Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
194
+ # Format:
195
+ # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
196
196
  # @!attribute [rw] target_version
197
197
  # @return [::String]
198
198
  # Required. Name of the target flow version to compare with the
199
199
  # base version. Use version ID `0` to indicate the draft version of the
200
- # specified flow. Format: `projects/<Project ID>/locations/<Location
201
- # ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
200
+ # specified flow. Format:
201
+ # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
202
202
  # @!attribute [rw] language_code
203
203
  # @return [::String]
204
204
  # The language to compare the flow versions for.
@@ -33,8 +33,8 @@ module Google
33
33
  # {::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client#update_webhook Webhooks.UpdateWebhook}
34
34
  # method.
35
35
  # {::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client#create_webhook Webhooks.CreateWebhook}
36
- # populates the name automatically. Format: `projects/<Project
37
- # ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>`.
36
+ # populates the name automatically. Format:
37
+ # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/webhooks/<WebhookID>`.
38
38
  # @!attribute [rw] display_name
39
39
  # @return [::String]
40
40
  # Required. The human-readable name of the webhook, unique within the agent.
@@ -228,8 +228,8 @@ module Google
228
228
  # @return [::String]
229
229
  # Required. The name of [Service
230
230
  # Directory](https://cloud.google.com/service-directory) service.
231
- # Format: `projects/<Project ID>/locations/<Location
232
- # ID>/namespaces/<Namespace ID>/services/<Service ID>`.
231
+ # Format:
232
+ # `projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>`.
233
233
  # `Location ID` of the service directory must be the same as the location
234
234
  # of the agent.
235
235
  # @!attribute [rw] generic_web_service
@@ -246,7 +246,7 @@ module Google
246
246
  # @!attribute [rw] parent
247
247
  # @return [::String]
248
248
  # Required. The agent to list all webhooks for.
249
- # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
249
+ # Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
250
250
  # @!attribute [rw] page_size
251
251
  # @return [::Integer]
252
252
  # The maximum number of items to return in a single page. By default 100 and
@@ -279,8 +279,8 @@ module Google
279
279
  # @!attribute [rw] name
280
280
  # @return [::String]
281
281
  # Required. The name of the webhook.
282
- # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
283
- # ID>/webhooks/<Webhook ID>`.
282
+ # Format:
283
+ # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/webhooks/<WebhookID>`.
284
284
  class GetWebhookRequest
285
285
  include ::Google::Protobuf::MessageExts
286
286
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -291,7 +291,7 @@ module Google
291
291
  # @!attribute [rw] parent
292
292
  # @return [::String]
293
293
  # Required. The agent to create a webhook for.
294
- # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
294
+ # Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
295
295
  # @!attribute [rw] webhook
296
296
  # @return [::Google::Cloud::Dialogflow::CX::V3::Webhook]
297
297
  # Required. The webhook to create.
@@ -319,8 +319,8 @@ module Google
319
319
  # @!attribute [rw] name
320
320
  # @return [::String]
321
321
  # Required. The name of the webhook to delete.
322
- # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
323
- # ID>/webhooks/<Webhook ID>`.
322
+ # Format:
323
+ # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/webhooks/<WebhookID>`.
324
324
  # @!attribute [rw] force
325
325
  # @return [::Boolean]
326
326
  # This field has no effect for webhook not being used.
@@ -356,8 +356,7 @@ module Google
356
356
  # @return [::String]
357
357
  # If an {::Google::Cloud::Dialogflow::CX::V3::IntentInput intent} was provided as
358
358
  # input, this field will contain a copy of the intent identifier. Format:
359
- # `projects/<Project ID>/locations/<Location ID>/agents/<Agent
360
- # ID>/intents/<Intent ID>`.
359
+ # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
361
360
  # @!attribute [rw] transcript
362
361
  # @return [::String]
363
362
  # If [natural language speech
@@ -428,8 +427,8 @@ module Google
428
427
  # @return [::String]
429
428
  # Always present. The unique identifier of the last matched
430
429
  # {::Google::Cloud::Dialogflow::CX::V3::Intent intent}.
431
- # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
432
- # ID>/intents/<Intent ID>`.
430
+ # Format:
431
+ # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
433
432
  # @!attribute [rw] display_name
434
433
  # @return [::String]
435
434
  # Always present. The display name of the last matched
@@ -475,7 +474,7 @@ module Google
475
474
  # @!attribute [rw] score
476
475
  # @return [::Float]
477
476
  # Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
478
- # sentiment).
477
+ # sentiment).
479
478
  # @!attribute [rw] magnitude
480
479
  # @return [::Float]
481
480
  # A non-negative number in the [0, +inf) range, which represents the
@@ -507,13 +506,13 @@ module Google
507
506
  # @!attribute [rw] target_page
508
507
  # @return [::String]
509
508
  # The target page to transition to.
510
- # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
511
- # ID>/flows/<Flow ID>/pages/<Page ID>`.
509
+ # Format:
510
+ # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
512
511
  # @!attribute [rw] target_flow
513
512
  # @return [::String]
514
513
  # The target flow to transition to.
515
- # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
516
- # ID>/flows/<Flow ID>`.
514
+ # Format:
515
+ # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
517
516
  class WebhookResponse
518
517
  include ::Google::Protobuf::MessageExts
519
518
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -551,9 +550,8 @@ module Google
551
550
  # Always present for
552
551
  # {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest}. Ignored for
553
552
  # {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}. The
554
- # unique identifier of the current page. Format: `projects/<Project
555
- # ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page
556
- # ID>`.
553
+ # unique identifier of the current page. Format:
554
+ # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
557
555
  # @!attribute [rw] display_name
558
556
  # @return [::String]
559
557
  # Always present for
@@ -656,9 +654,10 @@ module Google
656
654
  # unique identifier of the
657
655
  # {::Google::Cloud::Dialogflow::CX::V3::DetectIntentRequest#session session}. This
658
656
  # field can be used by the webhook to identify a session.
659
- # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
660
- # ID>/sessions/<Session ID>` or `projects/<Project ID>/locations/<Location
661
- # ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>`
657
+ # Format:
658
+ # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>`
659
+ # or
660
+ # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>`
662
661
  # if environment is specified.
663
662
  # @!attribute [rw] parameters
664
663
  # @return [::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}]
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: 1.1.0
4
+ version: 1.2.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-07-25 00:00:00.000000000 Z
11
+ date: 2024-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -326,7 +326,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
326
326
  - !ruby/object:Gem::Version
327
327
  version: '0'
328
328
  requirements: []
329
- rubygems_version: 3.5.6
329
+ rubygems_version: 3.5.22
330
330
  signing_key:
331
331
  specification_version: 4
332
332
  summary: Builds conversational interfaces (for example, chatbots, and voice-powered