google-cloud-dialogflow-v2 1.6.0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/dialogflow/v2/agents/client.rb +15 -0
  4. data/lib/google/cloud/dialogflow/v2/agents/operations.rb +7 -0
  5. data/lib/google/cloud/dialogflow/v2/agents/rest/client.rb +15 -0
  6. data/lib/google/cloud/dialogflow/v2/agents/rest/operations.rb +7 -0
  7. data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +7 -0
  8. data/lib/google/cloud/dialogflow/v2/answer_records/rest/client.rb +7 -0
  9. data/lib/google/cloud/dialogflow/v2/contexts/client.rb +7 -0
  10. data/lib/google/cloud/dialogflow/v2/contexts/rest/client.rb +7 -0
  11. data/lib/google/cloud/dialogflow/v2/conversation_datasets/client.rb +7 -0
  12. data/lib/google/cloud/dialogflow/v2/conversation_datasets/operations.rb +7 -0
  13. data/lib/google/cloud/dialogflow/v2/conversation_datasets/rest/client.rb +7 -0
  14. data/lib/google/cloud/dialogflow/v2/conversation_datasets/rest/operations.rb +7 -0
  15. data/lib/google/cloud/dialogflow/v2/conversation_models/client.rb +7 -0
  16. data/lib/google/cloud/dialogflow/v2/conversation_models/operations.rb +7 -0
  17. data/lib/google/cloud/dialogflow/v2/conversation_models/rest/client.rb +7 -0
  18. data/lib/google/cloud/dialogflow/v2/conversation_models/rest/operations.rb +7 -0
  19. data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +7 -0
  20. data/lib/google/cloud/dialogflow/v2/conversation_profiles/operations.rb +7 -0
  21. data/lib/google/cloud/dialogflow/v2/conversation_profiles/rest/client.rb +7 -0
  22. data/lib/google/cloud/dialogflow/v2/conversation_profiles/rest/operations.rb +7 -0
  23. data/lib/google/cloud/dialogflow/v2/conversations/client.rb +11 -0
  24. data/lib/google/cloud/dialogflow/v2/conversations/rest/client.rb +11 -0
  25. data/lib/google/cloud/dialogflow/v2/documents/client.rb +7 -0
  26. data/lib/google/cloud/dialogflow/v2/documents/operations.rb +7 -0
  27. data/lib/google/cloud/dialogflow/v2/documents/rest/client.rb +7 -0
  28. data/lib/google/cloud/dialogflow/v2/documents/rest/operations.rb +7 -0
  29. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/client.rb +7 -0
  30. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/operations.rb +7 -0
  31. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/rest/client.rb +7 -0
  32. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/rest/operations.rb +7 -0
  33. data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +11 -0
  34. data/lib/google/cloud/dialogflow/v2/entity_types/operations.rb +7 -0
  35. data/lib/google/cloud/dialogflow/v2/entity_types/rest/client.rb +11 -0
  36. data/lib/google/cloud/dialogflow/v2/entity_types/rest/operations.rb +7 -0
  37. data/lib/google/cloud/dialogflow/v2/environments/client.rb +7 -0
  38. data/lib/google/cloud/dialogflow/v2/environments/rest/client.rb +7 -0
  39. data/lib/google/cloud/dialogflow/v2/fulfillments/client.rb +7 -0
  40. data/lib/google/cloud/dialogflow/v2/fulfillments/rest/client.rb +7 -0
  41. data/lib/google/cloud/dialogflow/v2/generators/client.rb +7 -0
  42. data/lib/google/cloud/dialogflow/v2/generators/rest/client.rb +7 -0
  43. data/lib/google/cloud/dialogflow/v2/intents/client.rb +11 -0
  44. data/lib/google/cloud/dialogflow/v2/intents/operations.rb +7 -0
  45. data/lib/google/cloud/dialogflow/v2/intents/rest/client.rb +11 -0
  46. data/lib/google/cloud/dialogflow/v2/intents/rest/operations.rb +7 -0
  47. data/lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb +7 -0
  48. data/lib/google/cloud/dialogflow/v2/knowledge_bases/rest/client.rb +7 -0
  49. data/lib/google/cloud/dialogflow/v2/participants/client.rb +13 -0
  50. data/lib/google/cloud/dialogflow/v2/participants/rest/client.rb +13 -0
  51. data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +7 -0
  52. data/lib/google/cloud/dialogflow/v2/session_entity_types/rest/client.rb +7 -0
  53. data/lib/google/cloud/dialogflow/v2/sessions/client.rb +7 -0
  54. data/lib/google/cloud/dialogflow/v2/sessions/rest/client.rb +7 -0
  55. data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
  56. data/lib/google/cloud/dialogflow/v2/versions/client.rb +7 -0
  57. data/lib/google/cloud/dialogflow/v2/versions/rest/client.rb +7 -0
  58. data/proto_docs/google/cloud/dialogflow/v2/agent.rb +12 -0
  59. data/proto_docs/google/cloud/dialogflow/v2/answer_record.rb +6 -0
  60. data/proto_docs/google/cloud/dialogflow/v2/conversation.rb +4 -0
  61. data/proto_docs/google/cloud/dialogflow/v2/conversation_event.rb +4 -0
  62. data/proto_docs/google/cloud/dialogflow/v2/conversation_model.rb +8 -0
  63. data/proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb +10 -0
  64. data/proto_docs/google/cloud/dialogflow/v2/document.rb +4 -0
  65. data/proto_docs/google/cloud/dialogflow/v2/entity_type.rb +4 -0
  66. data/proto_docs/google/cloud/dialogflow/v2/intent.rb +36 -0
  67. data/proto_docs/google/cloud/dialogflow/v2/participant.rb +34 -0
  68. data/proto_docs/google/cloud/dialogflow/v2/session.rb +6 -0
  69. data/proto_docs/google/longrunning/operations.rb +4 -0
  70. data/proto_docs/google/protobuf/struct.rb +12 -0
  71. metadata +6 -9
@@ -696,8 +696,12 @@ module Google
696
696
  # or create. The file format can either be a serialized proto (of
697
697
  # EntityBatch type) or a JSON object. Note: The URI must start with
698
698
  # "gs://".
699
+ #
700
+ # Note: The following fields are mutually exclusive: `entity_type_batch_uri`, `entity_type_batch_inline`. If a field in that set is populated, all other fields in the set will automatically be cleared.
699
701
  # @param entity_type_batch_inline [::Google::Cloud::Dialogflow::V2::EntityTypeBatch, ::Hash]
700
702
  # The collection of entity types to update or create.
703
+ #
704
+ # Note: The following fields are mutually exclusive: `entity_type_batch_inline`, `entity_type_batch_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
701
705
  # @param language_code [::String]
702
706
  # Optional. The language used to access language-specific data.
703
707
  # If not specified, the agent's default language is used.
@@ -1252,6 +1256,13 @@ module Google
1252
1256
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1253
1257
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1254
1258
  # * (`nil`) indicating no credentials
1259
+ #
1260
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1261
+ # external source for authentication to Google Cloud, you must validate it before
1262
+ # providing it to a Google API client library. Providing an unvalidated credential
1263
+ # configuration to Google APIs can compromise the security of your systems and data.
1264
+ # For more information, refer to [Validate credential configurations from external
1265
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1255
1266
  # @return [::Object]
1256
1267
  # @!attribute [rw] scope
1257
1268
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -831,6 +831,13 @@ module Google
831
831
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
832
832
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
833
833
  # * (`nil`) indicating no credentials
834
+ #
835
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
836
+ # external source for authentication to Google Cloud, you must validate it before
837
+ # providing it to a Google API client library. Providing an unvalidated credential
838
+ # configuration to Google APIs can compromise the security of your systems and data.
839
+ # For more information, refer to [Validate credential configurations from external
840
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
834
841
  # @return [::Object]
835
842
  # @!attribute [rw] scope
836
843
  # The OAuth scopes
@@ -781,6 +781,13 @@ module Google
781
781
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
782
782
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
783
783
  # * (`nil`) indicating no credentials
784
+ #
785
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
786
+ # external source for authentication to Google Cloud, you must validate it before
787
+ # providing it to a Google API client library. Providing an unvalidated credential
788
+ # configuration to Google APIs can compromise the security of your systems and data.
789
+ # For more information, refer to [Validate credential configurations from external
790
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
784
791
  # @return [::Object]
785
792
  # @!attribute [rw] scope
786
793
  # The OAuth scopes
@@ -422,6 +422,13 @@ module Google
422
422
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
423
423
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
424
424
  # * (`nil`) indicating no credentials
425
+ #
426
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
427
+ # external source for authentication to Google Cloud, you must validate it before
428
+ # providing it to a Google API client library. Providing an unvalidated credential
429
+ # configuration to Google APIs can compromise the security of your systems and data.
430
+ # For more information, refer to [Validate credential configurations from external
431
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
425
432
  # @return [::Object]
426
433
  # @!attribute [rw] scope
427
434
  # The OAuth scopes
@@ -400,6 +400,13 @@ module Google
400
400
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
401
401
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
402
402
  # * (`nil`) indicating no credentials
403
+ #
404
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
405
+ # external source for authentication to Google Cloud, you must validate it before
406
+ # providing it to a Google API client library. Providing an unvalidated credential
407
+ # configuration to Google APIs can compromise the security of your systems and data.
408
+ # For more information, refer to [Validate credential configurations from external
409
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
403
410
  # @return [::Object]
404
411
  # @!attribute [rw] scope
405
412
  # The OAuth scopes
@@ -708,6 +708,13 @@ module Google
708
708
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
709
709
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
710
710
  # * (`nil`) indicating no credentials
711
+ #
712
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
713
+ # external source for authentication to Google Cloud, you must validate it before
714
+ # providing it to a Google API client library. Providing an unvalidated credential
715
+ # configuration to Google APIs can compromise the security of your systems and data.
716
+ # For more information, refer to [Validate credential configurations from external
717
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
711
718
  # @return [::Object]
712
719
  # @!attribute [rw] scope
713
720
  # The OAuth scopes
@@ -665,6 +665,13 @@ module Google
665
665
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
666
666
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
667
667
  # * (`nil`) indicating no credentials
668
+ #
669
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
670
+ # external source for authentication to Google Cloud, you must validate it before
671
+ # providing it to a Google API client library. Providing an unvalidated credential
672
+ # configuration to Google APIs can compromise the security of your systems and data.
673
+ # For more information, refer to [Validate credential configurations from external
674
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
668
675
  # @return [::Object]
669
676
  # @!attribute [rw] scope
670
677
  # The OAuth scopes
@@ -753,8 +753,12 @@ module Google
753
753
  # The URI to a Google Cloud Storage file containing intents to update or
754
754
  # create. The file format can either be a serialized proto (of IntentBatch
755
755
  # type) or JSON object. Note: The URI must start with "gs://".
756
+ #
757
+ # Note: The following fields are mutually exclusive: `intent_batch_uri`, `intent_batch_inline`. If a field in that set is populated, all other fields in the set will automatically be cleared.
756
758
  # @param intent_batch_inline [::Google::Cloud::Dialogflow::V2::IntentBatch, ::Hash]
757
759
  # The collection of intents to update or create.
760
+ #
761
+ # Note: The following fields are mutually exclusive: `intent_batch_inline`, `intent_batch_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
758
762
  # @param language_code [::String]
759
763
  # Optional. The language used to access language-specific data.
760
764
  # If not specified, the agent's default language is used.
@@ -994,6 +998,13 @@ module Google
994
998
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
995
999
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
996
1000
  # * (`nil`) indicating no credentials
1001
+ #
1002
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1003
+ # external source for authentication to Google Cloud, you must validate it before
1004
+ # providing it to a Google API client library. Providing an unvalidated credential
1005
+ # configuration to Google APIs can compromise the security of your systems and data.
1006
+ # For more information, refer to [Validate credential configurations from external
1007
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
997
1008
  # @return [::Object]
998
1009
  # @!attribute [rw] scope
999
1010
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -712,8 +712,12 @@ module Google
712
712
  # The URI to a Google Cloud Storage file containing intents to update or
713
713
  # create. The file format can either be a serialized proto (of IntentBatch
714
714
  # type) or JSON object. Note: The URI must start with "gs://".
715
+ #
716
+ # Note: The following fields are mutually exclusive: `intent_batch_uri`, `intent_batch_inline`. If a field in that set is populated, all other fields in the set will automatically be cleared.
715
717
  # @param intent_batch_inline [::Google::Cloud::Dialogflow::V2::IntentBatch, ::Hash]
716
718
  # The collection of intents to update or create.
719
+ #
720
+ # Note: The following fields are mutually exclusive: `intent_batch_inline`, `intent_batch_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
717
721
  # @param language_code [::String]
718
722
  # Optional. The language used to access language-specific data.
719
723
  # If not specified, the agent's default language is used.
@@ -937,6 +941,13 @@ module Google
937
941
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
938
942
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
939
943
  # * (`nil`) indicating no credentials
944
+ #
945
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
946
+ # external source for authentication to Google Cloud, you must validate it before
947
+ # providing it to a Google API client library. Providing an unvalidated credential
948
+ # configuration to Google APIs can compromise the security of your systems and data.
949
+ # For more information, refer to [Validate credential configurations from external
950
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
940
951
  # @return [::Object]
941
952
  # @!attribute [rw] scope
942
953
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -727,6 +727,13 @@ module Google
727
727
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
728
728
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
729
729
  # * (`nil`) indicating no credentials
730
+ #
731
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
732
+ # external source for authentication to Google Cloud, you must validate it before
733
+ # providing it to a Google API client library. Providing an unvalidated credential
734
+ # configuration to Google APIs can compromise the security of your systems and data.
735
+ # For more information, refer to [Validate credential configurations from external
736
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
730
737
  # @return [::Object]
731
738
  # @!attribute [rw] scope
732
739
  # The OAuth scopes
@@ -684,6 +684,13 @@ module Google
684
684
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
685
685
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
686
686
  # * (`nil`) indicating no credentials
687
+ #
688
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
689
+ # external source for authentication to Google Cloud, you must validate it before
690
+ # providing it to a Google API client library. Providing an unvalidated credential
691
+ # configuration to Google APIs can compromise the security of your systems and data.
692
+ # For more information, refer to [Validate credential configurations from external
693
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
687
694
  # @return [::Object]
688
695
  # @!attribute [rw] scope
689
696
  # The OAuth scopes
@@ -601,10 +601,16 @@ module Google
601
601
  # ID>/conversations/<Conversation ID>/participants/<Participant ID>`.
602
602
  # @param text_input [::Google::Cloud::Dialogflow::V2::TextInput, ::Hash]
603
603
  # The natural language text to be processed.
604
+ #
605
+ # Note: The following fields are mutually exclusive: `text_input`, `event_input`, `suggestion_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
604
606
  # @param event_input [::Google::Cloud::Dialogflow::V2::EventInput, ::Hash]
605
607
  # An input event to send to Dialogflow.
608
+ #
609
+ # Note: The following fields are mutually exclusive: `event_input`, `text_input`, `suggestion_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
606
610
  # @param suggestion_input [::Google::Cloud::Dialogflow::V2::SuggestionInput, ::Hash]
607
611
  # An input representing the selection of a suggestion.
612
+ #
613
+ # Note: The following fields are mutually exclusive: `suggestion_input`, `text_input`, `event_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
608
614
  # @param reply_audio_config [::Google::Cloud::Dialogflow::V2::OutputAudioConfig, ::Hash]
609
615
  # Speech synthesis configuration.
610
616
  # The speech synthesis settings for a virtual agent that may be configured
@@ -1232,6 +1238,13 @@ module Google
1232
1238
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1233
1239
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1234
1240
  # * (`nil`) indicating no credentials
1241
+ #
1242
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1243
+ # external source for authentication to Google Cloud, you must validate it before
1244
+ # providing it to a Google API client library. Providing an unvalidated credential
1245
+ # configuration to Google APIs can compromise the security of your systems and data.
1246
+ # For more information, refer to [Validate credential configurations from external
1247
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1235
1248
  # @return [::Object]
1236
1249
  # @!attribute [rw] scope
1237
1250
  # The OAuth scopes
@@ -565,10 +565,16 @@ module Google
565
565
  # ID>/conversations/<Conversation ID>/participants/<Participant ID>`.
566
566
  # @param text_input [::Google::Cloud::Dialogflow::V2::TextInput, ::Hash]
567
567
  # The natural language text to be processed.
568
+ #
569
+ # Note: The following fields are mutually exclusive: `text_input`, `event_input`, `suggestion_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
568
570
  # @param event_input [::Google::Cloud::Dialogflow::V2::EventInput, ::Hash]
569
571
  # An input event to send to Dialogflow.
572
+ #
573
+ # Note: The following fields are mutually exclusive: `event_input`, `text_input`, `suggestion_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
570
574
  # @param suggestion_input [::Google::Cloud::Dialogflow::V2::SuggestionInput, ::Hash]
571
575
  # An input representing the selection of a suggestion.
576
+ #
577
+ # Note: The following fields are mutually exclusive: `suggestion_input`, `text_input`, `event_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
572
578
  # @param reply_audio_config [::Google::Cloud::Dialogflow::V2::OutputAudioConfig, ::Hash]
573
579
  # Speech synthesis configuration.
574
580
  # The speech synthesis settings for a virtual agent that may be configured
@@ -1067,6 +1073,13 @@ module Google
1067
1073
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1068
1074
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1069
1075
  # * (`nil`) indicating no credentials
1076
+ #
1077
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1078
+ # external source for authentication to Google Cloud, you must validate it before
1079
+ # providing it to a Google API client library. Providing an unvalidated credential
1080
+ # configuration to Google APIs can compromise the security of your systems and data.
1081
+ # For more information, refer to [Validate credential configurations from external
1082
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1070
1083
  # @return [::Object]
1071
1084
  # @!attribute [rw] scope
1072
1085
  # The OAuth scopes
@@ -734,6 +734,13 @@ module Google
734
734
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
735
735
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
736
736
  # * (`nil`) indicating no credentials
737
+ #
738
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
739
+ # external source for authentication to Google Cloud, you must validate it before
740
+ # providing it to a Google API client library. Providing an unvalidated credential
741
+ # configuration to Google APIs can compromise the security of your systems and data.
742
+ # For more information, refer to [Validate credential configurations from external
743
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
737
744
  # @return [::Object]
738
745
  # @!attribute [rw] scope
739
746
  # The OAuth scopes
@@ -691,6 +691,13 @@ module Google
691
691
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
692
692
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
693
693
  # * (`nil`) indicating no credentials
694
+ #
695
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
696
+ # external source for authentication to Google Cloud, you must validate it before
697
+ # providing it to a Google API client library. Providing an unvalidated credential
698
+ # configuration to Google APIs can compromise the security of your systems and data.
699
+ # For more information, refer to [Validate credential configurations from external
700
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
694
701
  # @return [::Object]
695
702
  # @!attribute [rw] scope
696
703
  # The OAuth scopes
@@ -492,6 +492,13 @@ module Google
492
492
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
493
493
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
494
494
  # * (`nil`) indicating no credentials
495
+ #
496
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
497
+ # external source for authentication to Google Cloud, you must validate it before
498
+ # providing it to a Google API client library. Providing an unvalidated credential
499
+ # configuration to Google APIs can compromise the security of your systems and data.
500
+ # For more information, refer to [Validate credential configurations from external
501
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
495
502
  # @return [::Object]
496
503
  # @!attribute [rw] scope
497
504
  # The OAuth scopes
@@ -384,6 +384,13 @@ module Google
384
384
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
385
385
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
386
386
  # * (`nil`) indicating no credentials
387
+ #
388
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
389
+ # external source for authentication to Google Cloud, you must validate it before
390
+ # providing it to a Google API client library. Providing an unvalidated credential
391
+ # configuration to Google APIs can compromise the security of your systems and data.
392
+ # For more information, refer to [Validate credential configurations from external
393
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
387
394
  # @return [::Object]
388
395
  # @!attribute [rw] scope
389
396
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dialogflow
23
23
  module V2
24
- VERSION = "1.6.0"
24
+ VERSION = "1.7.0"
25
25
  end
26
26
  end
27
27
  end
@@ -717,6 +717,13 @@ module Google
717
717
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
718
718
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
719
719
  # * (`nil`) indicating no credentials
720
+ #
721
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
722
+ # external source for authentication to Google Cloud, you must validate it before
723
+ # providing it to a Google API client library. Providing an unvalidated credential
724
+ # configuration to Google APIs can compromise the security of your systems and data.
725
+ # For more information, refer to [Validate credential configurations from external
726
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
720
727
  # @return [::Object]
721
728
  # @!attribute [rw] scope
722
729
  # The OAuth scopes
@@ -674,6 +674,13 @@ module Google
674
674
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
675
675
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
676
676
  # * (`nil`) indicating no credentials
677
+ #
678
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
679
+ # external source for authentication to Google Cloud, you must validate it before
680
+ # providing it to a Google API client library. Providing an unvalidated credential
681
+ # configuration to Google APIs can compromise the security of your systems and data.
682
+ # For more information, refer to [Validate credential configurations from external
683
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
677
684
  # @return [::Object]
678
685
  # @!attribute [rw] scope
679
686
  # The OAuth scopes
@@ -247,9 +247,13 @@ module Google
247
247
  # @return [::String]
248
248
  # The URI to a file containing the exported agent. This field is populated
249
249
  # only if `agent_uri` is specified in `ExportAgentRequest`.
250
+ #
251
+ # Note: The following fields are mutually exclusive: `agent_uri`, `agent_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
250
252
  # @!attribute [rw] agent_content
251
253
  # @return [::String]
252
254
  # Zip compressed raw byte content for agent.
255
+ #
256
+ # Note: The following fields are mutually exclusive: `agent_content`, `agent_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
253
257
  class ExportAgentResponse
254
258
  include ::Google::Protobuf::MessageExts
255
259
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -271,9 +275,13 @@ module Google
271
275
  # have read permissions for the object. For more information, see
272
276
  # [Dialogflow access
273
277
  # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
278
+ #
279
+ # Note: The following fields are mutually exclusive: `agent_uri`, `agent_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
274
280
  # @!attribute [rw] agent_content
275
281
  # @return [::String]
276
282
  # Zip compressed raw byte content for agent.
283
+ #
284
+ # Note: The following fields are mutually exclusive: `agent_content`, `agent_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
277
285
  class ImportAgentRequest
278
286
  include ::Google::Protobuf::MessageExts
279
287
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -295,9 +303,13 @@ module Google
295
303
  # have read permissions for the object. For more information, see
296
304
  # [Dialogflow access
297
305
  # control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
306
+ #
307
+ # Note: The following fields are mutually exclusive: `agent_uri`, `agent_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
298
308
  # @!attribute [rw] agent_content
299
309
  # @return [::String]
300
310
  # Zip compressed raw byte content for agent.
311
+ #
312
+ # Note: The following fields are mutually exclusive: `agent_content`, `agent_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
301
313
  class RestoreAgentRequest
302
314
  include ::Google::Protobuf::MessageExts
303
315
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -324,12 +324,18 @@ module Google
324
324
  # @!attribute [r] article_suggestion_answer
325
325
  # @return [::Google::Cloud::Dialogflow::V2::ArticleAnswer]
326
326
  # Output only. The article suggestion answer.
327
+ #
328
+ # Note: The following fields are mutually exclusive: `article_suggestion_answer`, `faq_answer`, `dialogflow_assist_answer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
327
329
  # @!attribute [r] faq_answer
328
330
  # @return [::Google::Cloud::Dialogflow::V2::FaqAnswer]
329
331
  # Output only. The FAQ answer.
332
+ #
333
+ # Note: The following fields are mutually exclusive: `faq_answer`, `article_suggestion_answer`, `dialogflow_assist_answer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
330
334
  # @!attribute [r] dialogflow_assist_answer
331
335
  # @return [::Google::Cloud::Dialogflow::V2::DialogflowAssistAnswer]
332
336
  # Output only. Dialogflow assist answer.
337
+ #
338
+ # Note: The following fields are mutually exclusive: `dialogflow_assist_answer`, `article_suggestion_answer`, `faq_answer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
333
339
  class AgentAssistantRecord
334
340
  include ::Google::Protobuf::MessageExts
335
341
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -439,10 +439,14 @@ module Google
439
439
  # @return [::Google::Cloud::Dialogflow::V2::Generator]
440
440
  # Uncreated generator. It should be a complete generator that includes all
441
441
  # information about the generator.
442
+ #
443
+ # Note: The following fields are mutually exclusive: `generator`, `generator_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
442
444
  # @!attribute [rw] generator_name
443
445
  # @return [::String]
444
446
  # The resource name of the existing created generator. Format:
445
447
  # `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>`
448
+ #
449
+ # Note: The following fields are mutually exclusive: `generator_name`, `generator`. If a field in that set is populated, all other fields in the set will automatically be cleared.
446
450
  # @!attribute [rw] conversation_context
447
451
  # @return [::Google::Cloud::Dialogflow::V2::ConversationContext]
448
452
  # Optional. Context of the conversation, including transcripts.
@@ -38,9 +38,13 @@ module Google
38
38
  # @!attribute [rw] new_message_payload
39
39
  # @return [::Google::Cloud::Dialogflow::V2::Message]
40
40
  # Payload of NEW_MESSAGE event.
41
+ #
42
+ # Note: The following fields are mutually exclusive: `new_message_payload`, `new_recognition_result_payload`. If a field in that set is populated, all other fields in the set will automatically be cleared.
41
43
  # @!attribute [rw] new_recognition_result_payload
42
44
  # @return [::Google::Cloud::Dialogflow::V2::StreamingRecognitionResult]
43
45
  # Payload of NEW_RECOGNITION_RESULT event.
46
+ #
47
+ # Note: The following fields are mutually exclusive: `new_recognition_result_payload`, `new_message_payload`. If a field in that set is populated, all other fields in the set will automatically be cleared.
44
48
  class ConversationEvent
45
49
  include ::Google::Protobuf::MessageExts
46
50
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -49,9 +49,13 @@ module Google
49
49
  # @!attribute [rw] article_suggestion_model_metadata
50
50
  # @return [::Google::Cloud::Dialogflow::V2::ArticleSuggestionModelMetadata]
51
51
  # Metadata for article suggestion models.
52
+ #
53
+ # Note: The following fields are mutually exclusive: `article_suggestion_model_metadata`, `smart_reply_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
52
54
  # @!attribute [rw] smart_reply_model_metadata
53
55
  # @return [::Google::Cloud::Dialogflow::V2::SmartReplyModelMetadata]
54
56
  # Metadata for smart reply models.
57
+ #
58
+ # Note: The following fields are mutually exclusive: `smart_reply_model_metadata`, `article_suggestion_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
55
59
  # @!attribute [r] satisfies_pzs
56
60
  # @return [::Boolean]
57
61
  # Output only. A read only boolean field reflecting Zone Separation
@@ -156,9 +160,13 @@ module Google
156
160
  # @!attribute [rw] smart_reply_config
157
161
  # @return [::Google::Cloud::Dialogflow::V2::EvaluationConfig::SmartReplyConfig]
158
162
  # Configuration for smart reply model evalution.
163
+ #
164
+ # Note: The following fields are mutually exclusive: `smart_reply_config`, `smart_compose_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
159
165
  # @!attribute [rw] smart_compose_config
160
166
  # @return [::Google::Cloud::Dialogflow::V2::EvaluationConfig::SmartComposeConfig]
161
167
  # Configuration for smart compose model evalution.
168
+ #
169
+ # Note: The following fields are mutually exclusive: `smart_compose_config`, `smart_reply_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
162
170
  class EvaluationConfig
163
171
  include ::Google::Protobuf::MessageExts
164
172
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -340,13 +340,19 @@ module Google
340
340
  # @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig::KnowledgeBaseQuerySource]
341
341
  # Query from knowledgebase. It is used by:
342
342
  # ARTICLE_SUGGESTION, FAQ.
343
+ #
344
+ # Note: The following fields are mutually exclusive: `knowledge_base_query_source`, `document_query_source`, `dialogflow_query_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
343
345
  # @!attribute [rw] document_query_source
344
346
  # @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig::DocumentQuerySource]
345
347
  # Query from knowledge base document. It is used by:
346
348
  # SMART_REPLY, SMART_COMPOSE.
349
+ #
350
+ # Note: The following fields are mutually exclusive: `document_query_source`, `knowledge_base_query_source`, `dialogflow_query_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
347
351
  # @!attribute [rw] dialogflow_query_source
348
352
  # @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig::DialogflowQuerySource]
349
353
  # Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
354
+ #
355
+ # Note: The following fields are mutually exclusive: `dialogflow_query_source`, `knowledge_base_query_source`, `document_query_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
350
356
  # @!attribute [rw] max_results
351
357
  # @return [::Integer]
352
358
  # Maximum number of results to return. Currently, if unset, defaults to 10.
@@ -593,9 +599,13 @@ module Google
593
599
  # @!attribute [rw] live_person_config
594
600
  # @return [::Google::Cloud::Dialogflow::V2::HumanAgentHandoffConfig::LivePersonConfig]
595
601
  # Uses [LivePerson](https://www.liveperson.com).
602
+ #
603
+ # Note: The following fields are mutually exclusive: `live_person_config`, `salesforce_live_agent_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
596
604
  # @!attribute [rw] salesforce_live_agent_config
597
605
  # @return [::Google::Cloud::Dialogflow::V2::HumanAgentHandoffConfig::SalesforceLiveAgentConfig]
598
606
  # Uses Salesforce Live Agent.
607
+ #
608
+ # Note: The following fields are mutually exclusive: `salesforce_live_agent_config`, `live_person_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
599
609
  class HumanAgentHandoffConfig
600
610
  include ::Google::Protobuf::MessageExts
601
611
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -56,10 +56,14 @@ module Google
56
56
  # be indexed by Google Search. In particular, URLs for showing documents in
57
57
  # Google Cloud Storage (i.e. the URL in your browser) are not supported.
58
58
  # Instead use the `gs://` format URI described above.
59
+ #
60
+ # Note: The following fields are mutually exclusive: `content_uri`, `raw_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
61
  # @!attribute [rw] raw_content
60
62
  # @return [::String]
61
63
  # The raw content of the document. This field is only permitted for
62
64
  # EXTRACTIVE_QA and FAQ knowledge types.
65
+ #
66
+ # Note: The following fields are mutually exclusive: `raw_content`, `content_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
63
67
  # @!attribute [rw] enable_auto_reload
64
68
  # @return [::Boolean]
65
69
  # Optional. If true, we try to automatically reload the document every day
@@ -245,9 +245,13 @@ module Google
245
245
  # or create. The file format can either be a serialized proto (of
246
246
  # EntityBatch type) or a JSON object. Note: The URI must start with
247
247
  # "gs://".
248
+ #
249
+ # Note: The following fields are mutually exclusive: `entity_type_batch_uri`, `entity_type_batch_inline`. If a field in that set is populated, all other fields in the set will automatically be cleared.
248
250
  # @!attribute [rw] entity_type_batch_inline
249
251
  # @return [::Google::Cloud::Dialogflow::V2::EntityTypeBatch]
250
252
  # The collection of entity types to update or create.
253
+ #
254
+ # Note: The following fields are mutually exclusive: `entity_type_batch_inline`, `entity_type_batch_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
251
255
  # @!attribute [rw] language_code
252
256
  # @return [::String]
253
257
  # Optional. The language used to access language-specific data.