google-cloud-dialogflow-cx-v3 1.3.0 → 1.5.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.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +1 -1
  4. data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +13 -0
  5. data/lib/google/cloud/dialogflow/cx/v3/agents/operations.rb +7 -0
  6. data/lib/google/cloud/dialogflow/cx/v3/agents/rest/client.rb +13 -0
  7. data/lib/google/cloud/dialogflow/cx/v3/agents/rest/operations.rb +7 -0
  8. data/lib/google/cloud/dialogflow/cx/v3/audio_config_pb.rb +1 -1
  9. data/lib/google/cloud/dialogflow/cx/v3/changelogs/client.rb +7 -0
  10. data/lib/google/cloud/dialogflow/cx/v3/changelogs/rest/client.rb +7 -0
  11. data/lib/google/cloud/dialogflow/cx/v3/data_store_connection_pb.rb +2 -1
  12. data/lib/google/cloud/dialogflow/cx/v3/deployment_pb.rb +1 -1
  13. data/lib/google/cloud/dialogflow/cx/v3/deployments/client.rb +7 -0
  14. data/lib/google/cloud/dialogflow/cx/v3/deployments/rest/client.rb +7 -0
  15. data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +15 -0
  16. data/lib/google/cloud/dialogflow/cx/v3/entity_types/operations.rb +7 -0
  17. data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/client.rb +15 -0
  18. data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/operations.rb +7 -0
  19. data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +7 -0
  20. data/lib/google/cloud/dialogflow/cx/v3/environments/operations.rb +7 -0
  21. data/lib/google/cloud/dialogflow/cx/v3/environments/rest/client.rb +7 -0
  22. data/lib/google/cloud/dialogflow/cx/v3/environments/rest/operations.rb +7 -0
  23. data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +7 -0
  24. data/lib/google/cloud/dialogflow/cx/v3/experiments/rest/client.rb +7 -0
  25. data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +11 -0
  26. data/lib/google/cloud/dialogflow/cx/v3/flows/operations.rb +7 -0
  27. data/lib/google/cloud/dialogflow/cx/v3/flows/rest/client.rb +11 -0
  28. data/lib/google/cloud/dialogflow/cx/v3/flows/rest/operations.rb +7 -0
  29. data/lib/google/cloud/dialogflow/cx/v3/generator_pb.rb +1 -1
  30. data/lib/google/cloud/dialogflow/cx/v3/generators/client.rb +7 -0
  31. data/lib/google/cloud/dialogflow/cx/v3/generators/rest/client.rb +7 -0
  32. data/lib/google/cloud/dialogflow/cx/v3/inline_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 +15 -0
  35. data/lib/google/cloud/dialogflow/cx/v3/intents/operations.rb +7 -0
  36. data/lib/google/cloud/dialogflow/cx/v3/intents/rest/client.rb +15 -0
  37. data/lib/google/cloud/dialogflow/cx/v3/intents/rest/operations.rb +7 -0
  38. data/lib/google/cloud/dialogflow/cx/v3/pages/client.rb +7 -0
  39. data/lib/google/cloud/dialogflow/cx/v3/pages/rest/client.rb +7 -0
  40. data/lib/google/cloud/dialogflow/cx/v3/response_message_pb.rb +1 -1
  41. data/lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb +1 -1
  42. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +7 -0
  43. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/rest/client.rb +7 -0
  44. data/lib/google/cloud/dialogflow/cx/v3/session_entity_type_pb.rb +1 -1
  45. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +7 -0
  46. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/rest/client.rb +7 -0
  47. data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +1 -1
  48. data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +7 -0
  49. data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/client.rb +7 -0
  50. data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +11 -0
  51. data/lib/google/cloud/dialogflow/cx/v3/test_cases/operations.rb +7 -0
  52. data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/client.rb +11 -0
  53. data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/operations.rb +7 -0
  54. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +7 -0
  55. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest/client.rb +7 -0
  56. data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
  57. data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +7 -0
  58. data/lib/google/cloud/dialogflow/cx/v3/versions/operations.rb +7 -0
  59. data/lib/google/cloud/dialogflow/cx/v3/versions/rest/client.rb +7 -0
  60. data/lib/google/cloud/dialogflow/cx/v3/versions/rest/operations.rb +7 -0
  61. data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +7 -0
  62. data/lib/google/cloud/dialogflow/cx/v3/webhooks/rest/client.rb +7 -0
  63. data/proto_docs/google/api/client.rb +14 -0
  64. data/proto_docs/google/cloud/dialogflow/cx/v3/advanced_settings.rb +1 -1
  65. data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +20 -0
  66. data/proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb +1 -1
  67. data/proto_docs/google/cloud/dialogflow/cx/v3/data_store_connection.rb +19 -0
  68. data/proto_docs/google/cloud/dialogflow/cx/v3/entity_type.rb +12 -0
  69. data/proto_docs/google/cloud/dialogflow/cx/v3/experiment.rb +4 -0
  70. data/proto_docs/google/cloud/dialogflow/cx/v3/flow.rb +9 -1
  71. data/proto_docs/google/cloud/dialogflow/cx/v3/fulfillment.rb +4 -0
  72. data/proto_docs/google/cloud/dialogflow/cx/v3/intent.rb +13 -1
  73. data/proto_docs/google/cloud/dialogflow/cx/v3/page.rb +13 -1
  74. data/proto_docs/google/cloud/dialogflow/cx/v3/response_message.rb +28 -0
  75. data/proto_docs/google/cloud/dialogflow/cx/v3/security_settings.rb +4 -0
  76. data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +52 -17
  77. data/proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb +22 -0
  78. data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +19 -2
  79. data/proto_docs/google/longrunning/operations.rb +4 -0
  80. data/proto_docs/google/protobuf/struct.rb +12 -0
  81. metadata +6 -9
@@ -641,6 +641,13 @@ module Google
641
641
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
642
642
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
643
643
  # * (`nil`) indicating no credentials
644
+ #
645
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
646
+ # external source for authentication to Google Cloud, you must validate it before
647
+ # providing it to a Google API client library. Providing an unvalidated credential
648
+ # configuration to Google APIs can compromise the security of your systems and data.
649
+ # For more information, refer to [Validate credential configurations from external
650
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
644
651
  # @return [::Object]
645
652
  # @!attribute [rw] scope
646
653
  # The OAuth scopes
@@ -960,8 +960,12 @@ module Google
960
960
  # have read permissions for the object. For more information, see
961
961
  # [Dialogflow access
962
962
  # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
963
+ #
964
+ # Note: The following fields are mutually exclusive: `gcs_uri`, `content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
963
965
  # @param content [::String]
964
966
  # Uncompressed raw byte content for test cases.
967
+ #
968
+ # Note: The following fields are mutually exclusive: `content`, `gcs_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
965
969
  # @yield [result, operation] Access the result along with the TransportOperation object
966
970
  # @yieldparam result [::Gapic::Operation]
967
971
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1393,6 +1397,13 @@ module Google
1393
1397
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1394
1398
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1395
1399
  # * (`nil`) indicating no credentials
1400
+ #
1401
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1402
+ # external source for authentication to Google Cloud, you must validate it before
1403
+ # providing it to a Google API client library. Providing an unvalidated credential
1404
+ # configuration to Google APIs can compromise the security of your systems and data.
1405
+ # For more information, refer to [Validate credential configurations from external
1406
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1396
1407
  # @return [::Object]
1397
1408
  # @!attribute [rw] scope
1398
1409
  # The OAuth scopes
@@ -503,6 +503,13 @@ module Google
503
503
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
504
504
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
505
505
  # * (`nil`) indicating no credentials
506
+ #
507
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
508
+ # external source for authentication to Google Cloud, you must validate it before
509
+ # providing it to a Google API client library. Providing an unvalidated credential
510
+ # configuration to Google APIs can compromise the security of your systems and data.
511
+ # For more information, refer to [Validate credential configurations from external
512
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
506
513
  # @return [::Object]
507
514
  # @!attribute [rw] scope
508
515
  # The OAuth scopes
@@ -783,6 +783,13 @@ module Google
783
783
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
784
784
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
785
785
  # * (`nil`) indicating no credentials
786
+ #
787
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
788
+ # external source for authentication to Google Cloud, you must validate it before
789
+ # providing it to a Google API client library. Providing an unvalidated credential
790
+ # configuration to Google APIs can compromise the security of your systems and data.
791
+ # For more information, refer to [Validate credential configurations from external
792
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
786
793
  # @return [::Object]
787
794
  # @!attribute [rw] scope
788
795
  # The OAuth scopes
@@ -740,6 +740,13 @@ module Google
740
740
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
741
741
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
742
742
  # * (`nil`) indicating no credentials
743
+ #
744
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
745
+ # external source for authentication to Google Cloud, you must validate it before
746
+ # providing it to a Google API client library. Providing an unvalidated credential
747
+ # configuration to Google APIs can compromise the security of your systems and data.
748
+ # For more information, refer to [Validate credential configurations from external
749
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
743
750
  # @return [::Object]
744
751
  # @!attribute [rw] scope
745
752
  # The OAuth scopes
@@ -22,7 +22,7 @@ module Google
22
22
  module Dialogflow
23
23
  module CX
24
24
  module V3
25
- VERSION = "1.3.0"
25
+ VERSION = "1.5.0"
26
26
  end
27
27
  end
28
28
  end
@@ -943,6 +943,13 @@ module Google
943
943
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
944
944
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
945
945
  # * (`nil`) indicating no credentials
946
+ #
947
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
948
+ # external source for authentication to Google Cloud, you must validate it before
949
+ # providing it to a Google API client library. Providing an unvalidated credential
950
+ # configuration to Google APIs can compromise the security of your systems and data.
951
+ # For more information, refer to [Validate credential configurations from external
952
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
946
953
  # @return [::Object]
947
954
  # @!attribute [rw] scope
948
955
  # The OAuth scopes
@@ -641,6 +641,13 @@ module Google
641
641
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
642
642
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
643
643
  # * (`nil`) indicating no credentials
644
+ #
645
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
646
+ # external source for authentication to Google Cloud, you must validate it before
647
+ # providing it to a Google API client library. Providing an unvalidated credential
648
+ # configuration to Google APIs can compromise the security of your systems and data.
649
+ # For more information, refer to [Validate credential configurations from external
650
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
644
651
  # @return [::Object]
645
652
  # @!attribute [rw] scope
646
653
  # The OAuth scopes
@@ -886,6 +886,13 @@ module Google
886
886
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
887
887
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
888
888
  # * (`nil`) indicating no credentials
889
+ #
890
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
891
+ # external source for authentication to Google Cloud, you must validate it before
892
+ # providing it to a Google API client library. Providing an unvalidated credential
893
+ # configuration to Google APIs can compromise the security of your systems and data.
894
+ # For more information, refer to [Validate credential configurations from external
895
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
889
896
  # @return [::Object]
890
897
  # @!attribute [rw] scope
891
898
  # The OAuth scopes
@@ -503,6 +503,13 @@ module Google
503
503
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
504
504
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
505
505
  # * (`nil`) indicating no credentials
506
+ #
507
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
508
+ # external source for authentication to Google Cloud, you must validate it before
509
+ # providing it to a Google API client library. Providing an unvalidated credential
510
+ # configuration to Google APIs can compromise the security of your systems and data.
511
+ # For more information, refer to [Validate credential configurations from external
512
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
506
513
  # @return [::Object]
507
514
  # @!attribute [rw] scope
508
515
  # The OAuth scopes
@@ -707,6 +707,13 @@ module Google
707
707
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
708
708
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
709
709
  # * (`nil`) indicating no credentials
710
+ #
711
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
712
+ # external source for authentication to Google Cloud, you must validate it before
713
+ # providing it to a Google API client library. Providing an unvalidated credential
714
+ # configuration to Google APIs can compromise the security of your systems and data.
715
+ # For more information, refer to [Validate credential configurations from external
716
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
710
717
  # @return [::Object]
711
718
  # @!attribute [rw] scope
712
719
  # The OAuth scopes
@@ -664,6 +664,13 @@ module Google
664
664
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
665
665
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
666
666
  # * (`nil`) indicating no credentials
667
+ #
668
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
669
+ # external source for authentication to Google Cloud, you must validate it before
670
+ # providing it to a Google API client library. Providing an unvalidated credential
671
+ # configuration to Google APIs can compromise the security of your systems and data.
672
+ # For more information, refer to [Validate credential configurations from external
673
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
667
674
  # @return [::Object]
668
675
  # @!attribute [rw] scope
669
676
  # The OAuth scopes
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -77,7 +77,7 @@ module Google
77
77
  # Timeout before detecting no speech.
78
78
  # @!attribute [rw] use_timeout_based_endpointing
79
79
  # @return [::Boolean]
80
- # Use timeout based endpointing, interpreting endpointer sensitivy as
80
+ # Use timeout based endpointing, interpreting endpointer sensitivity as
81
81
  # seconds of timeout value.
82
82
  # @!attribute [rw] models
83
83
  # @return [::Google::Protobuf::Map{::String => ::String}]
@@ -141,6 +141,14 @@ module Google
141
141
  # @!attribute [rw] client_certificate_settings
142
142
  # @return [::Google::Cloud::Dialogflow::CX::V3::Agent::ClientCertificateSettings]
143
143
  # Optional. Settings for custom client certificates.
144
+ # @!attribute [r] satisfies_pzs
145
+ # @return [::Boolean]
146
+ # Optional. Output only. A read only boolean field reflecting Zone Separation
147
+ # status of the agent.
148
+ # @!attribute [r] satisfies_pzi
149
+ # @return [::Boolean]
150
+ # Optional. Output only. A read only boolean field reflecting Zone Isolation
151
+ # status of the agent.
144
152
  class Agent
145
153
  include ::Google::Protobuf::MessageExts
146
154
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -389,16 +397,22 @@ module Google
389
397
  # The URI to a file containing the exported agent. This field is populated
390
398
  # if `agent_uri` is specified in
391
399
  # {::Google::Cloud::Dialogflow::CX::V3::ExportAgentRequest ExportAgentRequest}.
400
+ #
401
+ # Note: The following fields are mutually exclusive: `agent_uri`, `agent_content`, `commit_sha`. If a field in that set is populated, all other fields in the set will automatically be cleared.
392
402
  # @!attribute [rw] agent_content
393
403
  # @return [::String]
394
404
  # Uncompressed raw byte content for agent. This field is populated
395
405
  # if none of `agent_uri` and `git_destination` are specified in
396
406
  # {::Google::Cloud::Dialogflow::CX::V3::ExportAgentRequest ExportAgentRequest}.
407
+ #
408
+ # Note: The following fields are mutually exclusive: `agent_content`, `agent_uri`, `commit_sha`. If a field in that set is populated, all other fields in the set will automatically be cleared.
397
409
  # @!attribute [rw] commit_sha
398
410
  # @return [::String]
399
411
  # Commit SHA of the git push. This field is populated if
400
412
  # `git_destination` is specified in
401
413
  # {::Google::Cloud::Dialogflow::CX::V3::ExportAgentRequest ExportAgentRequest}.
414
+ #
415
+ # Note: The following fields are mutually exclusive: `commit_sha`, `agent_uri`, `agent_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
402
416
  class ExportAgentResponse
403
417
  include ::Google::Protobuf::MessageExts
404
418
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -421,12 +435,18 @@ module Google
421
435
  # have read permissions for the object. For more information, see
422
436
  # [Dialogflow access
423
437
  # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
438
+ #
439
+ # Note: The following fields are mutually exclusive: `agent_uri`, `agent_content`, `git_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
424
440
  # @!attribute [rw] agent_content
425
441
  # @return [::String]
426
442
  # Uncompressed raw byte content for agent.
443
+ #
444
+ # Note: The following fields are mutually exclusive: `agent_content`, `agent_uri`, `git_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
427
445
  # @!attribute [rw] git_source
428
446
  # @return [::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::GitSource]
429
447
  # Setting for restoring from a git branch
448
+ #
449
+ # Note: The following fields are mutually exclusive: `git_source`, `agent_uri`, `agent_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
430
450
  # @!attribute [rw] restore_option
431
451
  # @return [::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::RestoreOption]
432
452
  # Agent restore mode. If not specified, `KEEP` is assumed.
@@ -70,7 +70,7 @@ module Google
70
70
  #
71
71
  # The client provides this configuration in terms of the durations of those
72
72
  # two phases. The durations are measured in terms of the audio length from the
73
- # the start of the input audio.
73
+ # start of the input audio.
74
74
  #
75
75
  # No-speech event is a response with END_OF_UTTERANCE without any transcript
76
76
  # following up.
@@ -33,6 +33,11 @@ module Google
33
33
  # Formats:
34
34
  # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
35
35
  # `projects/{project}/locations/{location}/dataStores/{data_store}`
36
+ # @!attribute [rw] document_processing_mode
37
+ # @return [::Google::Cloud::Dialogflow::CX::V3::DocumentProcessingMode]
38
+ # The document processing mode for the data store connection. Should only be
39
+ # set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is
40
+ # considered as DOCUMENTS, as this is the legacy mode.
36
41
  class DataStoreConnection
37
42
  include ::Google::Protobuf::MessageExts
38
43
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -253,6 +258,20 @@ module Google
253
258
  # A data store that contains structured data (for example FAQ).
254
259
  STRUCTURED = 3
255
260
  end
261
+
262
+ # The document processing mode of the data store.
263
+ module DocumentProcessingMode
264
+ # Not specified. This should be set for STRUCTURED type data stores. Due to
265
+ # legacy reasons this is considered as DOCUMENTS for STRUCTURED and
266
+ # PUBLIC_WEB data stores.
267
+ DOCUMENT_PROCESSING_MODE_UNSPECIFIED = 0
268
+
269
+ # Documents are processed as documents.
270
+ DOCUMENTS = 1
271
+
272
+ # Documents are converted to chunks.
273
+ CHUNKS = 2
274
+ end
256
275
  end
257
276
  end
258
277
  end
@@ -183,9 +183,13 @@ module Google
183
183
  # have write permissions for the object. For more information, see
184
184
  # [Dialogflow access
185
185
  # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
186
+ #
187
+ # Note: The following fields are mutually exclusive: `entity_types_uri`, `entity_types_content_inline`. If a field in that set is populated, all other fields in the set will automatically be cleared.
186
188
  # @!attribute [rw] entity_types_content_inline
187
189
  # @return [::Boolean]
188
190
  # Optional. The option to return the serialized entity types inline.
191
+ #
192
+ # Note: The following fields are mutually exclusive: `entity_types_content_inline`, `entity_types_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
189
193
  # @!attribute [rw] data_format
190
194
  # @return [::Google::Cloud::Dialogflow::CX::V3::ExportEntityTypesRequest::DataFormat]
191
195
  # Optional. The data format of the exported entity types. If not specified,
@@ -228,11 +232,15 @@ module Google
228
232
  # The URI to a file containing the exported entity types. This field is
229
233
  # populated only if `entity_types_uri` is specified in
230
234
  # {::Google::Cloud::Dialogflow::CX::V3::ExportEntityTypesRequest ExportEntityTypesRequest}.
235
+ #
236
+ # Note: The following fields are mutually exclusive: `entity_types_uri`, `entity_types_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
231
237
  # @!attribute [rw] entity_types_content
232
238
  # @return [::Google::Cloud::Dialogflow::CX::V3::InlineDestination]
233
239
  # Uncompressed byte content for entity types. This field is populated only
234
240
  # if `entity_types_content_inline` is set to true in
235
241
  # {::Google::Cloud::Dialogflow::CX::V3::ExportEntityTypesRequest ExportEntityTypesRequest}.
242
+ #
243
+ # Note: The following fields are mutually exclusive: `entity_types_content`, `entity_types_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
236
244
  class ExportEntityTypesResponse
237
245
  include ::Google::Protobuf::MessageExts
238
246
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -263,9 +271,13 @@ module Google
263
271
  # have read permissions for the object. For more information, see
264
272
  # [Dialogflow access
265
273
  # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
274
+ #
275
+ # Note: The following fields are mutually exclusive: `entity_types_uri`, `entity_types_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
266
276
  # @!attribute [rw] entity_types_content
267
277
  # @return [::Google::Cloud::Dialogflow::CX::V3::InlineSource]
268
278
  # Uncompressed byte content of entity types.
279
+ #
280
+ # Note: The following fields are mutually exclusive: `entity_types_content`, `entity_types_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
269
281
  # @!attribute [rw] merge_option
270
282
  # @return [::Google::Cloud::Dialogflow::CX::V3::ImportEntityTypesRequest::MergeOption]
271
283
  # Required. Merge option for importing entity types.
@@ -146,9 +146,13 @@ module Google
146
146
  # @!attribute [rw] ratio
147
147
  # @return [::Float]
148
148
  # Ratio value of a metric.
149
+ #
150
+ # Note: The following fields are mutually exclusive: `ratio`, `count`. If a field in that set is populated, all other fields in the set will automatically be cleared.
149
151
  # @!attribute [rw] count
150
152
  # @return [::Float]
151
153
  # Count value of a metric.
154
+ #
155
+ # Note: The following fields are mutually exclusive: `count`, `ratio`. If a field in that set is populated, all other fields in the set will automatically be cleared.
152
156
  # @!attribute [rw] confidence_interval
153
157
  # @return [::Google::Cloud::Dialogflow::CX::V3::Experiment::Result::ConfidenceInterval]
154
158
  # The probability that the treatment is better than all other treatments
@@ -107,7 +107,7 @@ module Google
107
107
  # way regardless of the current page. Transition routes defined in the page
108
108
  # have higher priority than those defined in the flow.
109
109
  #
110
- # TransitionRoutes are evalauted in the following order:
110
+ # TransitionRoutes are evaluated in the following order:
111
111
  #
112
112
  # * TransitionRoutes with intent specified.
113
113
  # * TransitionRoutes with only condition specified.
@@ -418,9 +418,13 @@ module Google
418
418
  # have read permissions for the object. For more information, see
419
419
  # [Dialogflow access
420
420
  # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
421
+ #
422
+ # Note: The following fields are mutually exclusive: `flow_uri`, `flow_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
421
423
  # @!attribute [rw] flow_content
422
424
  # @return [::String]
423
425
  # Uncompressed raw byte content for flow.
426
+ #
427
+ # Note: The following fields are mutually exclusive: `flow_content`, `flow_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
424
428
  # @!attribute [rw] import_option
425
429
  # @return [::Google::Cloud::Dialogflow::CX::V3::ImportFlowRequest::ImportOption]
426
430
  # Flow import mode. If not specified, `KEEP` is assumed.
@@ -508,9 +512,13 @@ module Google
508
512
  # The URI to a file containing the exported flow. This field is populated
509
513
  # only if `flow_uri` is specified in
510
514
  # {::Google::Cloud::Dialogflow::CX::V3::ExportFlowRequest ExportFlowRequest}.
515
+ #
516
+ # Note: The following fields are mutually exclusive: `flow_uri`, `flow_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
511
517
  # @!attribute [rw] flow_content
512
518
  # @return [::String]
513
519
  # Uncompressed raw byte content for flow.
520
+ #
521
+ # Note: The following fields are mutually exclusive: `flow_content`, `flow_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
514
522
  class ExportFlowResponse
515
523
  include ::Google::Protobuf::MessageExts
516
524
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -129,9 +129,13 @@ module Google
129
129
  # @!attribute [rw] message
130
130
  # @return [::Google::Cloud::Dialogflow::CX::V3::ResponseMessage]
131
131
  # Returned message.
132
+ #
133
+ # Note: The following fields are mutually exclusive: `message`, `additional_cases`. If a field in that set is populated, all other fields in the set will automatically be cleared.
132
134
  # @!attribute [rw] additional_cases
133
135
  # @return [::Google::Cloud::Dialogflow::CX::V3::Fulfillment::ConditionalCases]
134
136
  # Additional cases to be evaluated.
137
+ #
138
+ # Note: The following fields are mutually exclusive: `additional_cases`, `message`. If a field in that set is populated, all other fields in the set will automatically be cleared.
135
139
  class CaseContent
136
140
  include ::Google::Protobuf::MessageExts
137
141
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -88,7 +88,7 @@ module Google
88
88
  extend ::Google::Protobuf::MessageExts::ClassMethods
89
89
 
90
90
  # Represents an example that the agent is trained on to identify the intent.
91
- # @!attribute [rw] id
91
+ # @!attribute [r] id
92
92
  # @return [::String]
93
93
  # Output only. The unique identifier of the training phrase.
94
94
  # @!attribute [rw] parts
@@ -328,9 +328,13 @@ module Google
328
328
  # have read permissions for the object. For more information, see
329
329
  # [Dialogflow access
330
330
  # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
331
+ #
332
+ # Note: The following fields are mutually exclusive: `intents_uri`, `intents_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
331
333
  # @!attribute [rw] intents_content
332
334
  # @return [::Google::Cloud::Dialogflow::CX::V3::InlineSource]
333
335
  # Uncompressed byte content of intents.
336
+ #
337
+ # Note: The following fields are mutually exclusive: `intents_content`, `intents_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
334
338
  # @!attribute [rw] merge_option
335
339
  # @return [::Google::Cloud::Dialogflow::CX::V3::ImportIntentsRequest::MergeOption]
336
340
  # Merge option for importing intents. If not specified, `REJECT` is assumed.
@@ -433,9 +437,13 @@ module Google
433
437
  # have write permissions for the object. For more information, see
434
438
  # [Dialogflow access
435
439
  # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
440
+ #
441
+ # Note: The following fields are mutually exclusive: `intents_uri`, `intents_content_inline`. If a field in that set is populated, all other fields in the set will automatically be cleared.
436
442
  # @!attribute [rw] intents_content_inline
437
443
  # @return [::Boolean]
438
444
  # Optional. The option to return the serialized intents inline.
445
+ #
446
+ # Note: The following fields are mutually exclusive: `intents_content_inline`, `intents_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
439
447
  # @!attribute [rw] data_format
440
448
  # @return [::Google::Cloud::Dialogflow::CX::V3::ExportIntentsRequest::DataFormat]
441
449
  # Optional. The data format of the exported intents. If not specified, `BLOB`
@@ -467,11 +475,15 @@ module Google
467
475
  # The URI to a file containing the exported intents. This field is
468
476
  # populated only if `intents_uri` is specified in
469
477
  # {::Google::Cloud::Dialogflow::CX::V3::ExportIntentsRequest ExportIntentsRequest}.
478
+ #
479
+ # Note: The following fields are mutually exclusive: `intents_uri`, `intents_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
470
480
  # @!attribute [rw] intents_content
471
481
  # @return [::Google::Cloud::Dialogflow::CX::V3::InlineDestination]
472
482
  # Uncompressed byte content for intents. This field is populated only if
473
483
  # `intents_content_inline` is set to true in
474
484
  # {::Google::Cloud::Dialogflow::CX::V3::ExportIntentsRequest ExportIntentsRequest}.
485
+ #
486
+ # Note: The following fields are mutually exclusive: `intents_content`, `intents_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
475
487
  class ExportIntentsResponse
476
488
  include ::Google::Protobuf::MessageExts
477
489
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -86,7 +86,7 @@ module Google
86
86
  # They route the conversation to another page in the same flow, or another
87
87
  # flow.
88
88
  #
89
- # When we are in a certain page, the TransitionRoutes are evalauted in the
89
+ # When we are in a certain page, the TransitionRoutes are evaluated in the
90
90
  # following order:
91
91
  #
92
92
  # * TransitionRoutes defined in the page with intent specified.
@@ -257,11 +257,15 @@ module Google
257
257
  # The target page to transition to.
258
258
  # Format:
259
259
  # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
260
+ #
261
+ # Note: The following fields are mutually exclusive: `target_page`, `target_flow`. If a field in that set is populated, all other fields in the set will automatically be cleared.
260
262
  # @!attribute [rw] target_flow
261
263
  # @return [::String]
262
264
  # The target flow to transition to.
263
265
  # Format:
264
266
  # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
267
+ #
268
+ # Note: The following fields are mutually exclusive: `target_flow`, `target_page`. If a field in that set is populated, all other fields in the set will automatically be cleared.
265
269
  class EventHandler
266
270
  include ::Google::Protobuf::MessageExts
267
271
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -321,11 +325,15 @@ module Google
321
325
  # The target page to transition to.
322
326
  # Format:
323
327
  # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
328
+ #
329
+ # Note: The following fields are mutually exclusive: `target_page`, `target_flow`. If a field in that set is populated, all other fields in the set will automatically be cleared.
324
330
  # @!attribute [rw] target_flow
325
331
  # @return [::String]
326
332
  # The target flow to transition to.
327
333
  # Format:
328
334
  # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
335
+ #
336
+ # Note: The following fields are mutually exclusive: `target_flow`, `target_page`. If a field in that set is populated, all other fields in the set will automatically be cleared.
329
337
  class TransitionRoute
330
338
  include ::Google::Protobuf::MessageExts
331
339
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -540,11 +548,15 @@ module Google
540
548
  # The target page to transition to.
541
549
  # Format:
542
550
  # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
551
+ #
552
+ # Note: The following fields are mutually exclusive: `target_page`, `target_flow`. If a field in that set is populated, all other fields in the set will automatically be cleared.
543
553
  # @!attribute [rw] target_flow
544
554
  # @return [::String]
545
555
  # The target flow to transition to.
546
556
  # Format:
547
557
  # `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
558
+ #
559
+ # Note: The following fields are mutually exclusive: `target_flow`, `target_page`. If a field in that set is populated, all other fields in the set will automatically be cleared.
548
560
  # @!attribute [rw] data_store_connections
549
561
  # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::DataStoreConnection>]
550
562
  # Optional. List of related data store connections.