google-cloud-dialogflow-v2 1.6.0 → 1.8.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 (82) 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_record_pb.rb +1 -1
  8. data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +19 -2
  9. data/lib/google/cloud/dialogflow/v2/answer_records/rest/client.rb +19 -2
  10. data/lib/google/cloud/dialogflow/v2/contexts/client.rb +7 -0
  11. data/lib/google/cloud/dialogflow/v2/contexts/rest/client.rb +7 -0
  12. data/lib/google/cloud/dialogflow/v2/conversation_datasets/client.rb +7 -0
  13. data/lib/google/cloud/dialogflow/v2/conversation_datasets/operations.rb +7 -0
  14. data/lib/google/cloud/dialogflow/v2/conversation_datasets/rest/client.rb +7 -0
  15. data/lib/google/cloud/dialogflow/v2/conversation_datasets/rest/operations.rb +7 -0
  16. data/lib/google/cloud/dialogflow/v2/conversation_models/client.rb +7 -0
  17. data/lib/google/cloud/dialogflow/v2/conversation_models/operations.rb +7 -0
  18. data/lib/google/cloud/dialogflow/v2/conversation_models/rest/client.rb +7 -0
  19. data/lib/google/cloud/dialogflow/v2/conversation_models/rest/operations.rb +7 -0
  20. data/lib/google/cloud/dialogflow/v2/conversation_pb.rb +4 -1
  21. data/lib/google/cloud/dialogflow/v2/conversation_profile_pb.rb +1 -1
  22. data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +7 -0
  23. data/lib/google/cloud/dialogflow/v2/conversation_profiles/operations.rb +7 -0
  24. data/lib/google/cloud/dialogflow/v2/conversation_profiles/rest/client.rb +7 -0
  25. data/lib/google/cloud/dialogflow/v2/conversation_profiles/rest/operations.rb +7 -0
  26. data/lib/google/cloud/dialogflow/v2/conversations/client.rb +11 -0
  27. data/lib/google/cloud/dialogflow/v2/conversations/rest/client.rb +11 -0
  28. data/lib/google/cloud/dialogflow/v2/document_pb.rb +1 -1
  29. data/lib/google/cloud/dialogflow/v2/documents/client.rb +7 -0
  30. data/lib/google/cloud/dialogflow/v2/documents/operations.rb +7 -0
  31. data/lib/google/cloud/dialogflow/v2/documents/rest/client.rb +7 -0
  32. data/lib/google/cloud/dialogflow/v2/documents/rest/operations.rb +7 -0
  33. data/lib/google/cloud/dialogflow/v2/encryption_spec_pb.rb +1 -1
  34. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/client.rb +7 -0
  35. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/operations.rb +7 -0
  36. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/rest/client.rb +7 -0
  37. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/rest/operations.rb +7 -0
  38. data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +11 -0
  39. data/lib/google/cloud/dialogflow/v2/entity_types/operations.rb +7 -0
  40. data/lib/google/cloud/dialogflow/v2/entity_types/rest/client.rb +11 -0
  41. data/lib/google/cloud/dialogflow/v2/entity_types/rest/operations.rb +7 -0
  42. data/lib/google/cloud/dialogflow/v2/environments/client.rb +7 -0
  43. data/lib/google/cloud/dialogflow/v2/environments/rest/client.rb +7 -0
  44. data/lib/google/cloud/dialogflow/v2/fulfillments/client.rb +7 -0
  45. data/lib/google/cloud/dialogflow/v2/fulfillments/rest/client.rb +7 -0
  46. data/lib/google/cloud/dialogflow/v2/generator_pb.rb +1 -1
  47. data/lib/google/cloud/dialogflow/v2/generators/client.rb +7 -0
  48. data/lib/google/cloud/dialogflow/v2/generators/rest/client.rb +7 -0
  49. data/lib/google/cloud/dialogflow/v2/intents/client.rb +11 -0
  50. data/lib/google/cloud/dialogflow/v2/intents/operations.rb +7 -0
  51. data/lib/google/cloud/dialogflow/v2/intents/rest/client.rb +11 -0
  52. data/lib/google/cloud/dialogflow/v2/intents/rest/operations.rb +7 -0
  53. data/lib/google/cloud/dialogflow/v2/knowledge_base_pb.rb +1 -1
  54. data/lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb +7 -0
  55. data/lib/google/cloud/dialogflow/v2/knowledge_bases/rest/client.rb +7 -0
  56. data/lib/google/cloud/dialogflow/v2/participant_pb.rb +2 -1
  57. data/lib/google/cloud/dialogflow/v2/participants/client.rb +19 -2
  58. data/lib/google/cloud/dialogflow/v2/participants/rest/client.rb +19 -2
  59. data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +7 -0
  60. data/lib/google/cloud/dialogflow/v2/session_entity_types/rest/client.rb +7 -0
  61. data/lib/google/cloud/dialogflow/v2/session_pb.rb +1 -1
  62. data/lib/google/cloud/dialogflow/v2/sessions/client.rb +7 -0
  63. data/lib/google/cloud/dialogflow/v2/sessions/rest/client.rb +7 -0
  64. data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
  65. data/lib/google/cloud/dialogflow/v2/versions/client.rb +7 -0
  66. data/lib/google/cloud/dialogflow/v2/versions/rest/client.rb +7 -0
  67. data/proto_docs/google/api/client.rb +14 -0
  68. data/proto_docs/google/cloud/dialogflow/v2/agent.rb +12 -0
  69. data/proto_docs/google/cloud/dialogflow/v2/answer_record.rb +19 -4
  70. data/proto_docs/google/cloud/dialogflow/v2/audio_config.rb +1 -1
  71. data/proto_docs/google/cloud/dialogflow/v2/conversation.rb +77 -2
  72. data/proto_docs/google/cloud/dialogflow/v2/conversation_event.rb +4 -0
  73. data/proto_docs/google/cloud/dialogflow/v2/conversation_model.rb +11 -3
  74. data/proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb +13 -0
  75. data/proto_docs/google/cloud/dialogflow/v2/document.rb +4 -0
  76. data/proto_docs/google/cloud/dialogflow/v2/entity_type.rb +4 -0
  77. data/proto_docs/google/cloud/dialogflow/v2/intent.rb +36 -0
  78. data/proto_docs/google/cloud/dialogflow/v2/participant.rb +64 -6
  79. data/proto_docs/google/cloud/dialogflow/v2/session.rb +6 -0
  80. data/proto_docs/google/longrunning/operations.rb +4 -0
  81. data/proto_docs/google/protobuf/struct.rb +12 -0
  82. metadata +6 -9
@@ -895,6 +895,13 @@ module Google
895
895
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
896
896
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
897
897
  # * (`nil`) indicating no credentials
898
+ #
899
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
900
+ # external source for authentication to Google Cloud, you must validate it before
901
+ # providing it to a Google API client library. Providing an unvalidated credential
902
+ # configuration to Google APIs can compromise the security of your systems and data.
903
+ # For more information, refer to [Validate credential configurations from external
904
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
898
905
  # @return [::Object]
899
906
  # @!attribute [rw] scope
900
907
  # 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
@@ -944,9 +944,13 @@ module Google
944
944
  # @param generator [::Google::Cloud::Dialogflow::V2::Generator, ::Hash]
945
945
  # Uncreated generator. It should be a complete generator that includes all
946
946
  # information about the generator.
947
+ #
948
+ # 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.
947
949
  # @param generator_name [::String]
948
950
  # The resource name of the existing created generator. Format:
949
951
  # `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>`
952
+ #
953
+ # 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.
950
954
  # @param conversation_context [::Google::Cloud::Dialogflow::V2::ConversationContext, ::Hash]
951
955
  # Optional. Context of the conversation, including transcripts.
952
956
  # @param trigger_events [::Array<::Google::Cloud::Dialogflow::V2::TriggerEvent>]
@@ -1195,6 +1199,13 @@ module Google
1195
1199
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1196
1200
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1197
1201
  # * (`nil`) indicating no credentials
1202
+ #
1203
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1204
+ # external source for authentication to Google Cloud, you must validate it before
1205
+ # providing it to a Google API client library. Providing an unvalidated credential
1206
+ # configuration to Google APIs can compromise the security of your systems and data.
1207
+ # For more information, refer to [Validate credential configurations from external
1208
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1198
1209
  # @return [::Object]
1199
1210
  # @!attribute [rw] scope
1200
1211
  # The OAuth scopes
@@ -889,9 +889,13 @@ module Google
889
889
  # @param generator [::Google::Cloud::Dialogflow::V2::Generator, ::Hash]
890
890
  # Uncreated generator. It should be a complete generator that includes all
891
891
  # information about the generator.
892
+ #
893
+ # 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.
892
894
  # @param generator_name [::String]
893
895
  # The resource name of the existing created generator. Format:
894
896
  # `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>`
897
+ #
898
+ # 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.
895
899
  # @param conversation_context [::Google::Cloud::Dialogflow::V2::ConversationContext, ::Hash]
896
900
  # Optional. Context of the conversation, including transcripts.
897
901
  # @param trigger_events [::Array<::Google::Cloud::Dialogflow::V2::TriggerEvent>]
@@ -1124,6 +1128,13 @@ module Google
1124
1128
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1125
1129
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1126
1130
  # * (`nil`) indicating no credentials
1131
+ #
1132
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1133
+ # external source for authentication to Google Cloud, you must validate it before
1134
+ # providing it to a Google API client library. Providing an unvalidated credential
1135
+ # configuration to Google APIs can compromise the security of your systems and data.
1136
+ # For more information, refer to [Validate credential configurations from external
1137
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1127
1138
  # @return [::Object]
1128
1139
  # @!attribute [rw] scope
1129
1140
  # The OAuth scopes
@@ -16,7 +16,7 @@ require 'google/protobuf/timestamp_pb'
16
16
  require 'google/rpc/status_pb'
17
17
 
18
18
 
19
- descriptor_data = "\n)google/cloud/dialogflow/v2/document.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a$google/cloud/dialogflow/v2/gcs.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xa6\x08\n\x08\x44ocument\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tmime_type\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12P\n\x0fknowledge_types\x18\x04 \x03(\x0e\x32\x32.google.cloud.dialogflow.v2.Document.KnowledgeTypeB\x03\xe0\x41\x02\x12\x15\n\x0b\x63ontent_uri\x18\x05 \x01(\tH\x00\x12\x15\n\x0braw_content\x18\t \x01(\x0cH\x00\x12\x1f\n\x12\x65nable_auto_reload\x18\x0b \x01(\x08\x42\x03\xe0\x41\x01\x12T\n\x14latest_reload_status\x18\x0c \x01(\x0b\x32\x31.google.cloud.dialogflow.v2.Document.ReloadStatusB\x03\xe0\x41\x03\x12I\n\x08metadata\x18\x07 \x03(\x0b\x32\x32.google.cloud.dialogflow.v2.Document.MetadataEntryB\x03\xe0\x41\x01\x12>\n\x05state\x18\r \x01(\x0e\x32*.google.cloud.dialogflow.v2.Document.StateB\x03\xe0\x41\x03\x1a\\\n\x0cReloadStatus\x12(\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x81\x01\n\rKnowledgeType\x12\x1e\n\x1aKNOWLEDGE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x46\x41Q\x10\x01\x12\x11\n\rEXTRACTIVE_QA\x10\x02\x12\x16\n\x12\x41RTICLE_SUGGESTION\x10\x03\x12\x1c\n\x18\x41GENT_FACING_SMART_REPLY\x10\x04\"c\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\r\n\tRELOADING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05:\xcf\x01\xea\x41\xcb\x01\n\"dialogflow.googleapis.com/Document\x12Gprojects/{project}/knowledgeBases/{knowledge_base}/documents/{document}\x12\\projects/{project}/locations/{location}/knowledgeBases/{knowledge_base}/documents/{document}B\x08\n\x06source\"N\n\x12GetDocumentRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/Document\"\x89\x01\n\x14ListDocumentsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/Document\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"i\n\x15ListDocumentsResponse\x12\x37\n\tdocuments\x18\x01 \x03(\x0b\x32$.google.cloud.dialogflow.v2.Document\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x90\x01\n\x15\x43reateDocumentRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/Document\x12;\n\x08\x64ocument\x18\x02 \x01(\x0b\x32$.google.cloud.dialogflow.v2.DocumentB\x03\xe0\x41\x02\"\x99\x02\n\x16ImportDocumentsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/Document\x12\x41\n\ngcs_source\x18\x02 \x01(\x0b\x32&.google.cloud.dialogflow.v2.GcsSourcesB\x03\xe0\x41\x01H\x00\x12R\n\x11\x64ocument_template\x18\x03 \x01(\x0b\x32\x32.google.cloud.dialogflow.v2.ImportDocumentTemplateB\x03\xe0\x41\x02\x12\"\n\x1aimport_gcs_custom_metadata\x18\x04 \x01(\x08\x42\x08\n\x06source\"\x87\x02\n\x16ImportDocumentTemplate\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12P\n\x0fknowledge_types\x18\x02 \x03(\x0e\x32\x32.google.cloud.dialogflow.v2.Document.KnowledgeTypeB\x03\xe0\x41\x02\x12R\n\x08metadata\x18\x03 \x03(\x0b\x32@.google.cloud.dialogflow.v2.ImportDocumentTemplate.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"?\n\x17ImportDocumentsResponse\x12$\n\x08warnings\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\"Q\n\x15\x44\x65leteDocumentRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/Document\"\x8a\x01\n\x15UpdateDocumentRequest\x12;\n\x08\x64ocument\x18\x01 \x01(\x0b\x32$.google.cloud.dialogflow.v2.DocumentB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\xcd\x01\n\x15ReloadDocumentRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/Document\x12\x1a\n\x0b\x63ontent_uri\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x00\x12\'\n\x1aimport_gcs_custom_metadata\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12+\n\x1esmart_messaging_partial_update\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x42\x08\n\x06source\"\xec\x01\n\x15\x45xportDocumentRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/Document\x12\x45\n\x0fgcs_destination\x18\x02 \x01(\x0b\x32*.google.cloud.dialogflow.v2.GcsDestinationH\x00\x12\x1b\n\x13\x65xport_full_content\x18\x03 \x01(\x08\x12&\n\x1esmart_messaging_partial_update\x18\x05 \x01(\x08\x42\r\n\x0b\x64\x65stination\"g\n\x17\x45xportOperationMetadata\x12L\n\x18\x65xported_gcs_destination\x18\x01 \x01(\x0b\x32*.google.cloud.dialogflow.v2.GcsDestination\"\xba\x02\n\x1aKnowledgeOperationMetadata\x12P\n\x05state\x18\x01 \x01(\x0e\x32<.google.cloud.dialogflow.v2.KnowledgeOperationMetadata.StateB\x03\xe0\x41\x03\x12\x16\n\x0eknowledge_base\x18\x03 \x01(\t\x12X\n\x19\x65xport_operation_metadata\x18\x04 \x01(\x0b\x32\x33.google.cloud.dialogflow.v2.ExportOperationMetadataH\x00\"B\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x08\n\x04\x44ONE\x10\x03\x42\x14\n\x12operation_metadata2\xac\x16\n\tDocuments\x12\xb9\x02\n\rListDocuments\x12\x30.google.cloud.dialogflow.v2.ListDocumentsRequest\x1a\x31.google.cloud.dialogflow.v2.ListDocumentsResponse\"\xc2\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xb2\x01\x12\x32/v2/{parent=projects/*/knowledgeBases/*}/documentsZ@\x12>/v2/{parent=projects/*/locations/*/knowledgeBases/*}/documentsZ:\x12\x38/v2/{parent=projects/*/agent/knowledgeBases/*}/documents\x12\xa6\x02\n\x0bGetDocument\x12..google.cloud.dialogflow.v2.GetDocumentRequest\x1a$.google.cloud.dialogflow.v2.Document\"\xc0\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xb2\x01\x12\x32/v2/{name=projects/*/knowledgeBases/*/documents/*}Z@\x12>/v2/{name=projects/*/locations/*/knowledgeBases/*/documents/*}Z:\x12\x38/v2/{name=projects/*/agent/knowledgeBases/*/documents/*}\x12\xf7\x02\n\x0e\x43reateDocument\x12\x31.google.cloud.dialogflow.v2.CreateDocumentRequest\x1a\x1d.google.longrunning.Operation\"\x92\x02\xca\x41&\n\x08\x44ocument\x12\x1aKnowledgeOperationMetadata\xda\x41\x0fparent,document\x82\xd3\xe4\x93\x02\xd0\x01\"2/v2/{parent=projects/*/knowledgeBases/*}/documents:\x08\x64ocumentZJ\">/v2/{parent=projects/*/locations/*/knowledgeBases/*}/documents:\x08\x64ocumentZD\"8/v2/{parent=projects/*/agent/knowledgeBases/*}/documents:\x08\x64ocument\x12\xb0\x02\n\x0fImportDocuments\x12\x32.google.cloud.dialogflow.v2.ImportDocumentsRequest\x1a\x1d.google.longrunning.Operation\"\xc9\x01\xca\x41\x35\n\x17ImportDocumentsResponse\x12\x1aKnowledgeOperationMetadata\x82\xd3\xe4\x93\x02\x8a\x01\"9/v2/{parent=projects/*/knowledgeBases/*}/documents:import:\x01*ZJ\"E/v2/{parent=projects/*/locations/*/knowledgeBases/*}/documents:import:\x01*\x12\xdb\x02\n\x0e\x44\x65leteDocument\x12\x31.google.cloud.dialogflow.v2.DeleteDocumentRequest\x1a\x1d.google.longrunning.Operation\"\xf6\x01\xca\x41\x33\n\x15google.protobuf.Empty\x12\x1aKnowledgeOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\xb2\x01*2/v2/{name=projects/*/knowledgeBases/*/documents/*}Z@*>/v2/{name=projects/*/locations/*/knowledgeBases/*/documents/*}Z:*8/v2/{name=projects/*/agent/knowledgeBases/*/documents/*}\x12\x97\x03\n\x0eUpdateDocument\x12\x31.google.cloud.dialogflow.v2.UpdateDocumentRequest\x1a\x1d.google.longrunning.Operation\"\xb2\x02\xca\x41&\n\x08\x44ocument\x12\x1aKnowledgeOperationMetadata\xda\x41\x14\x64ocument,update_mask\x82\xd3\xe4\x93\x02\xeb\x01\x32;/v2/{document.name=projects/*/knowledgeBases/*/documents/*}:\x08\x64ocumentZS2G/v2/{document.name=projects/*/locations/*/knowledgeBases/*/documents/*}:\x08\x64ocumentZM2A/v2/{document.name=projects/*/agent/knowledgeBases/*/documents/*}:\x08\x64ocument\x12\xf8\x02\n\x0eReloadDocument\x12\x31.google.cloud.dialogflow.v2.ReloadDocumentRequest\x1a\x1d.google.longrunning.Operation\"\x93\x02\xca\x41&\n\x08\x44ocument\x12\x1aKnowledgeOperationMetadata\xda\x41\x10name,content_uri\x82\xd3\xe4\x93\x02\xd0\x01\"9/v2/{name=projects/*/knowledgeBases/*/documents/*}:reload:\x01*ZJ\"E/v2/{name=projects/*/locations/*/knowledgeBases/*/documents/*}:reload:\x01*ZD\"?/v2/{name=projects/*/agent/knowledgeBases/*/documents/*}:reload:\x01*\x12\x9f\x02\n\x0e\x45xportDocument\x12\x31.google.cloud.dialogflow.v2.ExportDocumentRequest\x1a\x1d.google.longrunning.Operation\"\xba\x01\xca\x41&\n\x08\x44ocument\x12\x1aKnowledgeOperationMetadata\x82\xd3\xe4\x93\x02\x8a\x01\"9/v2/{name=projects/*/knowledgeBases/*/documents/*}:export:\x01*ZJ\"E/v2/{name=projects/*/locations/*/knowledgeBases/*/documents/*}:export:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x96\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\rDocumentProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3"
19
+ descriptor_data = "\n)google/cloud/dialogflow/v2/document.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a$google/cloud/dialogflow/v2/gcs.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xa6\x08\n\x08\x44ocument\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tmime_type\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12P\n\x0fknowledge_types\x18\x04 \x03(\x0e\x32\x32.google.cloud.dialogflow.v2.Document.KnowledgeTypeB\x03\xe0\x41\x02\x12\x15\n\x0b\x63ontent_uri\x18\x05 \x01(\tH\x00\x12\x15\n\x0braw_content\x18\t \x01(\x0cH\x00\x12\x1f\n\x12\x65nable_auto_reload\x18\x0b \x01(\x08\x42\x03\xe0\x41\x01\x12T\n\x14latest_reload_status\x18\x0c \x01(\x0b\x32\x31.google.cloud.dialogflow.v2.Document.ReloadStatusB\x03\xe0\x41\x03\x12I\n\x08metadata\x18\x07 \x03(\x0b\x32\x32.google.cloud.dialogflow.v2.Document.MetadataEntryB\x03\xe0\x41\x01\x12>\n\x05state\x18\r \x01(\x0e\x32*.google.cloud.dialogflow.v2.Document.StateB\x03\xe0\x41\x03\x1a\\\n\x0cReloadStatus\x12(\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x81\x01\n\rKnowledgeType\x12\x1e\n\x1aKNOWLEDGE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x46\x41Q\x10\x01\x12\x11\n\rEXTRACTIVE_QA\x10\x02\x12\x16\n\x12\x41RTICLE_SUGGESTION\x10\x03\x12\x1c\n\x18\x41GENT_FACING_SMART_REPLY\x10\x04\"c\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\r\n\tRELOADING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05:\xcf\x01\xea\x41\xcb\x01\n\"dialogflow.googleapis.com/Document\x12Gprojects/{project}/knowledgeBases/{knowledge_base}/documents/{document}\x12\\projects/{project}/locations/{location}/knowledgeBases/{knowledge_base}/documents/{document}B\x08\n\x06source\"N\n\x12GetDocumentRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/Document\"\x89\x01\n\x14ListDocumentsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/Document\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"i\n\x15ListDocumentsResponse\x12\x37\n\tdocuments\x18\x01 \x03(\x0b\x32$.google.cloud.dialogflow.v2.Document\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x90\x01\n\x15\x43reateDocumentRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/Document\x12;\n\x08\x64ocument\x18\x02 \x01(\x0b\x32$.google.cloud.dialogflow.v2.DocumentB\x03\xe0\x41\x02\"\x99\x02\n\x16ImportDocumentsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/Document\x12\x41\n\ngcs_source\x18\x02 \x01(\x0b\x32&.google.cloud.dialogflow.v2.GcsSourcesB\x03\xe0\x41\x01H\x00\x12R\n\x11\x64ocument_template\x18\x03 \x01(\x0b\x32\x32.google.cloud.dialogflow.v2.ImportDocumentTemplateB\x03\xe0\x41\x02\x12\"\n\x1aimport_gcs_custom_metadata\x18\x04 \x01(\x08\x42\x08\n\x06source\"\x87\x02\n\x16ImportDocumentTemplate\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12P\n\x0fknowledge_types\x18\x02 \x03(\x0e\x32\x32.google.cloud.dialogflow.v2.Document.KnowledgeTypeB\x03\xe0\x41\x02\x12R\n\x08metadata\x18\x03 \x03(\x0b\x32@.google.cloud.dialogflow.v2.ImportDocumentTemplate.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"?\n\x17ImportDocumentsResponse\x12$\n\x08warnings\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\"Q\n\x15\x44\x65leteDocumentRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/Document\"\x8a\x01\n\x15UpdateDocumentRequest\x12;\n\x08\x64ocument\x18\x01 \x01(\x0b\x32$.google.cloud.dialogflow.v2.DocumentB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\xcd\x01\n\x15ReloadDocumentRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/Document\x12\x1a\n\x0b\x63ontent_uri\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x00\x12\'\n\x1aimport_gcs_custom_metadata\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12+\n\x1esmart_messaging_partial_update\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x42\x08\n\x06source\"\xec\x01\n\x15\x45xportDocumentRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/Document\x12\x45\n\x0fgcs_destination\x18\x02 \x01(\x0b\x32*.google.cloud.dialogflow.v2.GcsDestinationH\x00\x12\x1b\n\x13\x65xport_full_content\x18\x03 \x01(\x08\x12&\n\x1esmart_messaging_partial_update\x18\x05 \x01(\x08\x42\r\n\x0b\x64\x65stination\"g\n\x17\x45xportOperationMetadata\x12L\n\x18\x65xported_gcs_destination\x18\x01 \x01(\x0b\x32*.google.cloud.dialogflow.v2.GcsDestination\"\xba\x02\n\x1aKnowledgeOperationMetadata\x12P\n\x05state\x18\x01 \x01(\x0e\x32<.google.cloud.dialogflow.v2.KnowledgeOperationMetadata.StateB\x03\xe0\x41\x03\x12\x16\n\x0eknowledge_base\x18\x03 \x01(\t\x12X\n\x19\x65xport_operation_metadata\x18\x04 \x01(\x0b\x32\x33.google.cloud.dialogflow.v2.ExportOperationMetadataH\x00\"B\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x08\n\x04\x44ONE\x10\x03\x42\x14\n\x12operation_metadata2\xac\x16\n\tDocuments\x12\xb9\x02\n\rListDocuments\x12\x30.google.cloud.dialogflow.v2.ListDocumentsRequest\x1a\x31.google.cloud.dialogflow.v2.ListDocumentsResponse\"\xc2\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xb2\x01\x12\x32/v2/{parent=projects/*/knowledgeBases/*}/documentsZ@\x12>/v2/{parent=projects/*/locations/*/knowledgeBases/*}/documentsZ:\x12\x38/v2/{parent=projects/*/agent/knowledgeBases/*}/documents\x12\xa6\x02\n\x0bGetDocument\x12..google.cloud.dialogflow.v2.GetDocumentRequest\x1a$.google.cloud.dialogflow.v2.Document\"\xc0\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xb2\x01\x12\x32/v2/{name=projects/*/knowledgeBases/*/documents/*}Z@\x12>/v2/{name=projects/*/locations/*/knowledgeBases/*/documents/*}Z:\x12\x38/v2/{name=projects/*/agent/knowledgeBases/*/documents/*}\x12\xf7\x02\n\x0e\x43reateDocument\x12\x31.google.cloud.dialogflow.v2.CreateDocumentRequest\x1a\x1d.google.longrunning.Operation\"\x92\x02\xca\x41&\n\x08\x44ocument\x12\x1aKnowledgeOperationMetadata\xda\x41\x0fparent,document\x82\xd3\xe4\x93\x02\xd0\x01\"2/v2/{parent=projects/*/knowledgeBases/*}/documents:\x08\x64ocumentZJ\">/v2/{parent=projects/*/locations/*/knowledgeBases/*}/documents:\x08\x64ocumentZD\"8/v2/{parent=projects/*/agent/knowledgeBases/*}/documents:\x08\x64ocument\x12\xb0\x02\n\x0fImportDocuments\x12\x32.google.cloud.dialogflow.v2.ImportDocumentsRequest\x1a\x1d.google.longrunning.Operation\"\xc9\x01\xca\x41\x35\n\x17ImportDocumentsResponse\x12\x1aKnowledgeOperationMetadata\x82\xd3\xe4\x93\x02\x8a\x01\"9/v2/{parent=projects/*/knowledgeBases/*}/documents:import:\x01*ZJ\"E/v2/{parent=projects/*/locations/*/knowledgeBases/*}/documents:import:\x01*\x12\xdb\x02\n\x0e\x44\x65leteDocument\x12\x31.google.cloud.dialogflow.v2.DeleteDocumentRequest\x1a\x1d.google.longrunning.Operation\"\xf6\x01\xca\x41\x33\n\x15google.protobuf.Empty\x12\x1aKnowledgeOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\xb2\x01*2/v2/{name=projects/*/knowledgeBases/*/documents/*}Z@*>/v2/{name=projects/*/locations/*/knowledgeBases/*/documents/*}Z:*8/v2/{name=projects/*/agent/knowledgeBases/*/documents/*}\x12\x97\x03\n\x0eUpdateDocument\x12\x31.google.cloud.dialogflow.v2.UpdateDocumentRequest\x1a\x1d.google.longrunning.Operation\"\xb2\x02\xca\x41&\n\x08\x44ocument\x12\x1aKnowledgeOperationMetadata\xda\x41\x14\x64ocument,update_mask\x82\xd3\xe4\x93\x02\xeb\x01\x32;/v2/{document.name=projects/*/knowledgeBases/*/documents/*}:\x08\x64ocumentZS2G/v2/{document.name=projects/*/locations/*/knowledgeBases/*/documents/*}:\x08\x64ocumentZM2A/v2/{document.name=projects/*/agent/knowledgeBases/*/documents/*}:\x08\x64ocument\x12\xf8\x02\n\x0eReloadDocument\x12\x31.google.cloud.dialogflow.v2.ReloadDocumentRequest\x1a\x1d.google.longrunning.Operation\"\x93\x02\xca\x41&\n\x08\x44ocument\x12\x1aKnowledgeOperationMetadata\xda\x41\x10name,content_uri\x82\xd3\xe4\x93\x02\xd0\x01\"9/v2/{name=projects/*/knowledgeBases/*/documents/*}:reload:\x01*ZJ\"E/v2/{name=projects/*/locations/*/knowledgeBases/*/documents/*}:reload:\x01*ZD\"?/v2/{name=projects/*/agent/knowledgeBases/*/documents/*}:reload:\x01*\x12\x9f\x02\n\x0e\x45xportDocument\x12\x31.google.cloud.dialogflow.v2.ExportDocumentRequest\x1a\x1d.google.longrunning.Operation\"\xba\x01\xca\x41&\n\x08\x44ocument\x12\x1aKnowledgeOperationMetadata\x82\xd3\xe4\x93\x02\x8a\x01\"9/v2/{name=projects/*/knowledgeBases/*/documents/*}:export:\x01*ZJ\"E/v2/{name=projects/*/locations/*/knowledgeBases/*/documents/*}:export:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x93\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\rDocumentProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3"
20
20
 
21
21
  pool = Google::Protobuf::DescriptorPool.generated_pool
22
22
 
@@ -1141,6 +1141,13 @@ module Google
1141
1141
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1142
1142
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1143
1143
  # * (`nil`) indicating no credentials
1144
+ #
1145
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1146
+ # external source for authentication to Google Cloud, you must validate it before
1147
+ # providing it to a Google API client library. Providing an unvalidated credential
1148
+ # configuration to Google APIs can compromise the security of your systems and data.
1149
+ # For more information, refer to [Validate credential configurations from external
1150
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1144
1151
  # @return [::Object]
1145
1152
  # @!attribute [rw] scope
1146
1153
  # 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
@@ -1077,6 +1077,13 @@ module Google
1077
1077
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1078
1078
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1079
1079
  # * (`nil`) indicating no credentials
1080
+ #
1081
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1082
+ # external source for authentication to Google Cloud, you must validate it before
1083
+ # providing it to a Google API client library. Providing an unvalidated credential
1084
+ # configuration to Google APIs can compromise the security of your systems and data.
1085
+ # For more information, refer to [Validate credential configurations from external
1086
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1080
1087
  # @return [::Object]
1081
1088
  # @!attribute [rw] scope
1082
1089
  # 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
@@ -11,7 +11,7 @@ require 'google/api/resource_pb'
11
11
  require 'google/longrunning/operations_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n0google/cloud/dialogflow/v2/encryption_spec.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\"Z\n\x18GetEncryptionSpecRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(dialogflow.googleapis.com/EncryptionSpec\"\xc3\x01\n\x0e\x45ncryptionSpec\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x14\n\x07kms_key\x18\x02 \x01(\tB\x03\xe0\x41\x02:\x87\x01\xea\x41\x83\x01\n(dialogflow.googleapis.com/EncryptionSpec\x12\x36projects/{project}/locations/{location}/encryptionSpec*\x0f\x65ncryptionSpecs2\x0e\x65ncryptionSpec\"k\n\x1fInitializeEncryptionSpecRequest\x12H\n\x0f\x65ncryption_spec\x18\x01 \x01(\x0b\x32*.google.cloud.dialogflow.v2.EncryptionSpecB\x03\xe0\x41\x02\"\"\n InitializeEncryptionSpecResponse\"u\n InitializeEncryptionSpecMetadata\x12Q\n\x07request\x18\x04 \x01(\x0b\x32;.google.cloud.dialogflow.v2.InitializeEncryptionSpecRequestB\x03\xe0\x41\x03\x32\xf5\x04\n\x15\x45ncryptionSpecService\x12\xb6\x01\n\x11GetEncryptionSpec\x12\x34.google.cloud.dialogflow.v2.GetEncryptionSpecRequest\x1a*.google.cloud.dialogflow.v2.EncryptionSpec\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v2/{name=projects/*/locations/*/encryptionSpec}\x12\xa8\x02\n\x18InitializeEncryptionSpec\x12;.google.cloud.dialogflow.v2.InitializeEncryptionSpecRequest\x1a\x1d.google.longrunning.Operation\"\xaf\x01\xca\x41\x44\n InitializeEncryptionSpecResponse\x12 InitializeEncryptionSpecMetadata\xda\x41\x0f\x65ncryption_spec\x82\xd3\xe4\x93\x02P\"K/v2/{encryption_spec.name=projects/*/locations/*/encryptionSpec}:initialize:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x9c\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x13\x45ncryptionSpecProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3"
14
+ descriptor_data = "\n0google/cloud/dialogflow/v2/encryption_spec.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\"Z\n\x18GetEncryptionSpecRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(dialogflow.googleapis.com/EncryptionSpec\"\xc3\x01\n\x0e\x45ncryptionSpec\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x14\n\x07kms_key\x18\x02 \x01(\tB\x03\xe0\x41\x02:\x87\x01\xea\x41\x83\x01\n(dialogflow.googleapis.com/EncryptionSpec\x12\x36projects/{project}/locations/{location}/encryptionSpec*\x0f\x65ncryptionSpecs2\x0e\x65ncryptionSpec\"k\n\x1fInitializeEncryptionSpecRequest\x12H\n\x0f\x65ncryption_spec\x18\x01 \x01(\x0b\x32*.google.cloud.dialogflow.v2.EncryptionSpecB\x03\xe0\x41\x02\"\"\n InitializeEncryptionSpecResponse\"u\n InitializeEncryptionSpecMetadata\x12Q\n\x07request\x18\x04 \x01(\x0b\x32;.google.cloud.dialogflow.v2.InitializeEncryptionSpecRequestB\x03\xe0\x41\x03\x32\xf5\x04\n\x15\x45ncryptionSpecService\x12\xb6\x01\n\x11GetEncryptionSpec\x12\x34.google.cloud.dialogflow.v2.GetEncryptionSpecRequest\x1a*.google.cloud.dialogflow.v2.EncryptionSpec\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v2/{name=projects/*/locations/*/encryptionSpec}\x12\xa8\x02\n\x18InitializeEncryptionSpec\x12;.google.cloud.dialogflow.v2.InitializeEncryptionSpecRequest\x1a\x1d.google.longrunning.Operation\"\xaf\x01\xca\x41\x44\n InitializeEncryptionSpecResponse\x12 InitializeEncryptionSpecMetadata\xda\x41\x0f\x65ncryption_spec\x82\xd3\xe4\x93\x02P\"K/v2/{encryption_spec.name=projects/*/locations/*/encryptionSpec}:initialize:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x99\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x13\x45ncryptionSpecProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
@@ -448,6 +448,13 @@ module Google
448
448
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
449
449
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
450
450
  # * (`nil`) indicating no credentials
451
+ #
452
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
453
+ # external source for authentication to Google Cloud, you must validate it before
454
+ # providing it to a Google API client library. Providing an unvalidated credential
455
+ # configuration to Google APIs can compromise the security of your systems and data.
456
+ # For more information, refer to [Validate credential configurations from external
457
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
451
458
  # @return [::Object]
452
459
  # @!attribute [rw] scope
453
460
  # 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
@@ -426,6 +426,13 @@ module Google
426
426
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
427
427
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
428
428
  # * (`nil`) indicating no credentials
429
+ #
430
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
431
+ # external source for authentication to Google Cloud, you must validate it before
432
+ # providing it to a Google API client library. Providing an unvalidated credential
433
+ # configuration to Google APIs can compromise the security of your systems and data.
434
+ # For more information, refer to [Validate credential configurations from external
435
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
429
436
  # @return [::Object]
430
437
  # @!attribute [rw] scope
431
438
  # 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
@@ -737,8 +737,12 @@ module Google
737
737
  # or create. The file format can either be a serialized proto (of
738
738
  # EntityBatch type) or a JSON object. Note: The URI must start with
739
739
  # "gs://".
740
+ #
741
+ # 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.
740
742
  # @param entity_type_batch_inline [::Google::Cloud::Dialogflow::V2::EntityTypeBatch, ::Hash]
741
743
  # The collection of entity types to update or create.
744
+ #
745
+ # 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.
742
746
  # @param language_code [::String]
743
747
  # Optional. The language used to access language-specific data.
744
748
  # If not specified, the agent's default language is used.
@@ -1330,6 +1334,13 @@ module Google
1330
1334
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1331
1335
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1332
1336
  # * (`nil`) indicating no credentials
1337
+ #
1338
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1339
+ # external source for authentication to Google Cloud, you must validate it before
1340
+ # providing it to a Google API client library. Providing an unvalidated credential
1341
+ # configuration to Google APIs can compromise the security of your systems and data.
1342
+ # For more information, refer to [Validate credential configurations from external
1343
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1333
1344
  # @return [::Object]
1334
1345
  # @!attribute [rw] scope
1335
1346
  # 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
@@ -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
@@ -13,7 +13,7 @@ require 'google/protobuf/field_mask_pb'
13
13
  require 'google/protobuf/timestamp_pb'
14
14
 
15
15
 
16
- descriptor_data = "\n*google/cloud/dialogflow/v2/generator.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x01\n\x16\x43reateGeneratorRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12=\n\tgenerator\x18\x02 \x01(\x0b\x32%.google.cloud.dialogflow.v2.GeneratorB\x03\xe0\x41\x02\x12\x19\n\x0cgenerator_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"P\n\x13GetGeneratorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#dialogflow.googleapis.com/Generator\"\x8d\x01\n\x15ListGeneratorsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"l\n\x16ListGeneratorsResponse\x12\x39\n\ngenerators\x18\x01 \x03(\x0b\x32%.google.cloud.dialogflow.v2.Generator\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x16\x44\x65leteGeneratorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#dialogflow.googleapis.com/Generator\"\x8d\x01\n\x16UpdateGeneratorRequest\x12=\n\tgenerator\x18\x01 \x01(\x0b\x32%.google.cloud.dialogflow.v2.GeneratorB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\x87\x02\n\x0cMessageEntry\x12@\n\x04role\x18\x01 \x01(\x0e\x32-.google.cloud.dialogflow.v2.MessageEntry.RoleB\x03\xe0\x41\x01\x12\x11\n\x04text\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"P\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bHUMAN_AGENT\x10\x01\x12\x13\n\x0f\x41UTOMATED_AGENT\x10\x02\x12\x0c\n\x08\x45ND_USER\x10\x03\"]\n\x13\x43onversationContext\x12\x46\n\x0fmessage_entries\x18\x01 \x03(\x0b\x32(.google.cloud.dialogflow.v2.MessageEntryB\x03\xe0\x41\x01\"q\n\x18SummarizationSectionList\x12U\n\x16summarization_sections\x18\x01 \x03(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationSectionB\x03\xe0\x41\x01\"\xa0\x03\n\x0e\x46\x65wShotExample\x12R\n\x14\x63onversation_context\x18\x03 \x01(\x0b\x32/.google.cloud.dialogflow.v2.ConversationContextB\x03\xe0\x41\x01\x12R\n\nextra_info\x18\x04 \x03(\x0b\x32\x39.google.cloud.dialogflow.v2.FewShotExample.ExtraInfoEntryB\x03\xe0\x41\x01\x12Z\n\x1asummarization_section_list\x18\x06 \x01(\x0b\x32\x34.google.cloud.dialogflow.v2.SummarizationSectionListH\x00\x12\x44\n\x06output\x18\x07 \x01(\x0b\x32/.google.cloud.dialogflow.v2.GeneratorSuggestionB\x03\xe0\x41\x02\x1a\x30\n\x0e\x45xtraInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x12\n\x10instruction_list\"\xc4\x01\n\x12InferenceParameter\x12#\n\x11max_output_tokens\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1d\n\x0btemperature\x18\x02 \x01(\x01\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x17\n\x05top_k\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x12\x17\n\x05top_p\x18\x04 \x01(\x01\x42\x03\xe0\x41\x01H\x03\x88\x01\x01\x42\x14\n\x12_max_output_tokensB\x0e\n\x0c_temperatureB\x08\n\x06_top_kB\x08\n\x06_top_p\"\xb1\x02\n\x14SummarizationSection\x12\x10\n\x03key\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ndefinition\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12H\n\x04type\x18\x03 \x01(\x0e\x32\x35.google.cloud.dialogflow.v2.SummarizationSection.TypeB\x03\xe0\x41\x01\"\xa3\x01\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tSITUATION\x10\x01\x12\n\n\x06\x41\x43TION\x10\x02\x12\x0e\n\nRESOLUTION\x10\x03\x12\x1b\n\x17REASON_FOR_CANCELLATION\x10\x04\x12\x19\n\x15\x43USTOMER_SATISFACTION\x10\x05\x12\x0c\n\x08\x45NTITIES\x10\x06\x12\x14\n\x10\x43USTOMER_DEFINED\x10\x07\"\xf2\x01\n\x14SummarizationContext\x12U\n\x16summarization_sections\x18\x01 \x03(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationSectionB\x03\xe0\x41\x01\x12J\n\x11\x66\x65w_shot_examples\x18\x02 \x03(\x0b\x32*.google.cloud.dialogflow.v2.FewShotExampleB\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14output_language_code\x18\x06 \x01(\tB\x03\xe0\x41\x01\"\x9e\x04\n\tGenerator\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x08\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12Q\n\x15summarization_context\x18\r \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationContextH\x00\x12P\n\x13inference_parameter\x18\x04 \x01(\x0b\x32..google.cloud.dialogflow.v2.InferenceParameterB\x03\xe0\x41\x01\x12\x44\n\rtrigger_event\x18\x05 \x01(\x0e\x32(.google.cloud.dialogflow.v2.TriggerEventB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\x7f\xea\x41|\n#dialogflow.googleapis.com/Generator\x12>projects/{project}/locations/{location}/generators/{generator}*\ngenerators2\tgeneratorB\t\n\x07\x63ontext\"\xae\x01\n\x11SummarySuggestion\x12[\n\x10summary_sections\x18\x01 \x03(\x0b\x32<.google.cloud.dialogflow.v2.SummarySuggestion.SummarySectionB\x03\xe0\x41\x02\x1a<\n\x0eSummarySection\x12\x14\n\x07section\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07summary\x18\x02 \x01(\tB\x03\xe0\x41\x02\"u\n\x13GeneratorSuggestion\x12P\n\x12summary_suggestion\x18\x02 \x01(\x0b\x32-.google.cloud.dialogflow.v2.SummarySuggestionB\x03\xe0\x41\x01H\x00\x42\x0c\n\nsuggestion*T\n\x0cTriggerEvent\x12\x1d\n\x19TRIGGER_EVENT_UNSPECIFIED\x10\x00\x12\x14\n\x10\x45ND_OF_UTTERANCE\x10\x01\x12\x0f\n\x0bMANUAL_CALL\x10\x02\x32\x86\t\n\nGenerators\x12\x81\x02\n\x0f\x43reateGenerator\x12\x32.google.cloud.dialogflow.v2.CreateGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"\x92\x01\xda\x41\x1dparent,generator,generator_id\x82\xd3\xe4\x93\x02l\"./v2/{parent=projects/*/locations/*}/generators:\tgeneratorZ/\"\"/v2/{parent=projects/*}/generators:\tgenerator\x12\xa5\x01\n\x0cGetGenerator\x12/.google.cloud.dialogflow.v2.GetGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v2/{name=projects/*/locations/*/generators/*}\x12\xde\x01\n\x0eListGenerators\x12\x31.google.cloud.dialogflow.v2.ListGeneratorsRequest\x1a\x32.google.cloud.dialogflow.v2.ListGeneratorsResponse\"e\xda\x41\x06parent\x82\xd3\xe4\x93\x02V\x12./v2/{parent=projects/*/locations/*}/generatorsZ$\x12\"/v2/{parent=projects/*}/generators\x12\x9c\x01\n\x0f\x44\x65leteGenerator\x12\x32.google.cloud.dialogflow.v2.DeleteGeneratorRequest\x1a\x16.google.protobuf.Empty\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v2/{name=projects/*/locations/*/generators/*}\x12\xd1\x01\n\x0fUpdateGenerator\x12\x32.google.cloud.dialogflow.v2.UpdateGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"c\xda\x41\x15generator,update_mask\x82\xd3\xe4\x93\x02\x45\x32\x38/v2/{generator.name=projects/*/locations/*/generators/*}:\tgenerator\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x97\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x0eGeneratorProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3"
16
+ descriptor_data = "\n*google/cloud/dialogflow/v2/generator.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x01\n\x16\x43reateGeneratorRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12=\n\tgenerator\x18\x02 \x01(\x0b\x32%.google.cloud.dialogflow.v2.GeneratorB\x03\xe0\x41\x02\x12\x19\n\x0cgenerator_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"P\n\x13GetGeneratorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#dialogflow.googleapis.com/Generator\"\x8d\x01\n\x15ListGeneratorsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"l\n\x16ListGeneratorsResponse\x12\x39\n\ngenerators\x18\x01 \x03(\x0b\x32%.google.cloud.dialogflow.v2.Generator\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x16\x44\x65leteGeneratorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#dialogflow.googleapis.com/Generator\"\x8d\x01\n\x16UpdateGeneratorRequest\x12=\n\tgenerator\x18\x01 \x01(\x0b\x32%.google.cloud.dialogflow.v2.GeneratorB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\x87\x02\n\x0cMessageEntry\x12@\n\x04role\x18\x01 \x01(\x0e\x32-.google.cloud.dialogflow.v2.MessageEntry.RoleB\x03\xe0\x41\x01\x12\x11\n\x04text\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"P\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bHUMAN_AGENT\x10\x01\x12\x13\n\x0f\x41UTOMATED_AGENT\x10\x02\x12\x0c\n\x08\x45ND_USER\x10\x03\"]\n\x13\x43onversationContext\x12\x46\n\x0fmessage_entries\x18\x01 \x03(\x0b\x32(.google.cloud.dialogflow.v2.MessageEntryB\x03\xe0\x41\x01\"q\n\x18SummarizationSectionList\x12U\n\x16summarization_sections\x18\x01 \x03(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationSectionB\x03\xe0\x41\x01\"\xa0\x03\n\x0e\x46\x65wShotExample\x12R\n\x14\x63onversation_context\x18\x03 \x01(\x0b\x32/.google.cloud.dialogflow.v2.ConversationContextB\x03\xe0\x41\x01\x12R\n\nextra_info\x18\x04 \x03(\x0b\x32\x39.google.cloud.dialogflow.v2.FewShotExample.ExtraInfoEntryB\x03\xe0\x41\x01\x12Z\n\x1asummarization_section_list\x18\x06 \x01(\x0b\x32\x34.google.cloud.dialogflow.v2.SummarizationSectionListH\x00\x12\x44\n\x06output\x18\x07 \x01(\x0b\x32/.google.cloud.dialogflow.v2.GeneratorSuggestionB\x03\xe0\x41\x02\x1a\x30\n\x0e\x45xtraInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x12\n\x10instruction_list\"\xc4\x01\n\x12InferenceParameter\x12#\n\x11max_output_tokens\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1d\n\x0btemperature\x18\x02 \x01(\x01\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x17\n\x05top_k\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x12\x17\n\x05top_p\x18\x04 \x01(\x01\x42\x03\xe0\x41\x01H\x03\x88\x01\x01\x42\x14\n\x12_max_output_tokensB\x0e\n\x0c_temperatureB\x08\n\x06_top_kB\x08\n\x06_top_p\"\xb1\x02\n\x14SummarizationSection\x12\x10\n\x03key\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ndefinition\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12H\n\x04type\x18\x03 \x01(\x0e\x32\x35.google.cloud.dialogflow.v2.SummarizationSection.TypeB\x03\xe0\x41\x01\"\xa3\x01\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tSITUATION\x10\x01\x12\n\n\x06\x41\x43TION\x10\x02\x12\x0e\n\nRESOLUTION\x10\x03\x12\x1b\n\x17REASON_FOR_CANCELLATION\x10\x04\x12\x19\n\x15\x43USTOMER_SATISFACTION\x10\x05\x12\x0c\n\x08\x45NTITIES\x10\x06\x12\x14\n\x10\x43USTOMER_DEFINED\x10\x07\"\xf2\x01\n\x14SummarizationContext\x12U\n\x16summarization_sections\x18\x01 \x03(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationSectionB\x03\xe0\x41\x01\x12J\n\x11\x66\x65w_shot_examples\x18\x02 \x03(\x0b\x32*.google.cloud.dialogflow.v2.FewShotExampleB\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14output_language_code\x18\x06 \x01(\tB\x03\xe0\x41\x01\"\x9e\x04\n\tGenerator\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x08\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12Q\n\x15summarization_context\x18\r \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationContextH\x00\x12P\n\x13inference_parameter\x18\x04 \x01(\x0b\x32..google.cloud.dialogflow.v2.InferenceParameterB\x03\xe0\x41\x01\x12\x44\n\rtrigger_event\x18\x05 \x01(\x0e\x32(.google.cloud.dialogflow.v2.TriggerEventB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\x7f\xea\x41|\n#dialogflow.googleapis.com/Generator\x12>projects/{project}/locations/{location}/generators/{generator}*\ngenerators2\tgeneratorB\t\n\x07\x63ontext\"\xae\x01\n\x11SummarySuggestion\x12[\n\x10summary_sections\x18\x01 \x03(\x0b\x32<.google.cloud.dialogflow.v2.SummarySuggestion.SummarySectionB\x03\xe0\x41\x02\x1a<\n\x0eSummarySection\x12\x14\n\x07section\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07summary\x18\x02 \x01(\tB\x03\xe0\x41\x02\"u\n\x13GeneratorSuggestion\x12P\n\x12summary_suggestion\x18\x02 \x01(\x0b\x32-.google.cloud.dialogflow.v2.SummarySuggestionB\x03\xe0\x41\x01H\x00\x42\x0c\n\nsuggestion*T\n\x0cTriggerEvent\x12\x1d\n\x19TRIGGER_EVENT_UNSPECIFIED\x10\x00\x12\x14\n\x10\x45ND_OF_UTTERANCE\x10\x01\x12\x0f\n\x0bMANUAL_CALL\x10\x02\x32\x86\t\n\nGenerators\x12\x81\x02\n\x0f\x43reateGenerator\x12\x32.google.cloud.dialogflow.v2.CreateGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"\x92\x01\xda\x41\x1dparent,generator,generator_id\x82\xd3\xe4\x93\x02l\"./v2/{parent=projects/*/locations/*}/generators:\tgeneratorZ/\"\"/v2/{parent=projects/*}/generators:\tgenerator\x12\xa5\x01\n\x0cGetGenerator\x12/.google.cloud.dialogflow.v2.GetGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v2/{name=projects/*/locations/*/generators/*}\x12\xde\x01\n\x0eListGenerators\x12\x31.google.cloud.dialogflow.v2.ListGeneratorsRequest\x1a\x32.google.cloud.dialogflow.v2.ListGeneratorsResponse\"e\xda\x41\x06parent\x82\xd3\xe4\x93\x02V\x12./v2/{parent=projects/*/locations/*}/generatorsZ$\x12\"/v2/{parent=projects/*}/generators\x12\x9c\x01\n\x0f\x44\x65leteGenerator\x12\x32.google.cloud.dialogflow.v2.DeleteGeneratorRequest\x1a\x16.google.protobuf.Empty\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v2/{name=projects/*/locations/*/generators/*}\x12\xd1\x01\n\x0fUpdateGenerator\x12\x32.google.cloud.dialogflow.v2.UpdateGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"c\xda\x41\x15generator,update_mask\x82\xd3\xe4\x93\x02\x45\x32\x38/v2/{generator.name=projects/*/locations/*/generators/*}:\tgenerator\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x94\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x0eGeneratorProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3"
17
17
 
18
18
  pool = Google::Protobuf::DescriptorPool.generated_pool
19
19
 
@@ -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