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
@@ -67,10 +67,57 @@ module Google
67
67
  # {::Google::Cloud::Dialogflow::V2::Conversation::ConversationStage::VIRTUAL_AGENT_STAGE ConversationStage.VIRTUAL_AGENT_STAGE}
68
68
  # stage and directly goes to
69
69
  # {::Google::Cloud::Dialogflow::V2::Conversation::ConversationStage::HUMAN_ASSIST_STAGE ConversationStage.HUMAN_ASSIST_STAGE}.
70
+ # @!attribute [r] telephony_connection_info
71
+ # @return [::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo]
72
+ # Output only. The telephony connection information.
70
73
  class Conversation
71
74
  include ::Google::Protobuf::MessageExts
72
75
  extend ::Google::Protobuf::MessageExts::ClassMethods
73
76
 
77
+ # The information about phone calls connected via phone gateway to the
78
+ # conversation.
79
+ # @!attribute [r] dialed_number
80
+ # @return [::String]
81
+ # Output only. The number dialed to connect this call in E.164 format.
82
+ # @!attribute [rw] sdp
83
+ # @return [::String]
84
+ # Optional. SDP of the call. It's initially the SDP answer to the endpoint,
85
+ # but maybe later updated for the purpose of making the link active, etc.
86
+ # @!attribute [r] sip_headers
87
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo::SipHeader>]
88
+ # Output only. The SIP headers from the initial SIP INVITE.
89
+ # @!attribute [r] extra_mime_contents
90
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo::MimeContent>]
91
+ # Output only. The mime content from the initial SIP INVITE.
92
+ class TelephonyConnectionInfo
93
+ include ::Google::Protobuf::MessageExts
94
+ extend ::Google::Protobuf::MessageExts::ClassMethods
95
+
96
+ # The SIP headers from the initial SIP INVITE.
97
+ # @!attribute [rw] name
98
+ # @return [::String]
99
+ # Optional. The name of the header.
100
+ # @!attribute [rw] value
101
+ # @return [::String]
102
+ # Optional. The value of the header.
103
+ class SipHeader
104
+ include ::Google::Protobuf::MessageExts
105
+ extend ::Google::Protobuf::MessageExts::ClassMethods
106
+ end
107
+
108
+ # The mime content from the initial SIP INVITE.
109
+ # @!attribute [rw] mime_type
110
+ # @return [::String]
111
+ # Optional. The mime type of the content.
112
+ # @!attribute [rw] content
113
+ # @return [::String]
114
+ # Optional. The content payload.
115
+ class MimeContent
116
+ include ::Google::Protobuf::MessageExts
117
+ extend ::Google::Protobuf::MessageExts::ClassMethods
118
+ end
119
+ end
120
+
74
121
  # Enumeration of the completion status of the conversation.
75
122
  module LifecycleState
76
123
  # Unknown.
@@ -85,7 +132,7 @@ module Google
85
132
 
86
133
  # Enumeration of the different conversation stages a conversation can be in.
87
134
  # Reference:
88
- # https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages
135
+ # https://cloud.google.com/agent-assist/docs/basics#conversation_stages
89
136
  module ConversationStage
90
137
  # Unknown. Should never be used after a conversation is successfully
91
138
  # created.
@@ -241,6 +288,9 @@ module Google
241
288
 
242
289
  # Represents a phone number for telephony integration. It allows for connecting
243
290
  # a particular conversation over telephony.
291
+ # @!attribute [r] country_code
292
+ # @return [::Integer]
293
+ # Output only. Desired country code for the phone number.
244
294
  # @!attribute [r] phone_number
245
295
  # @return [::String]
246
296
  # Output only. The phone number to connect to this conversation.
@@ -439,10 +489,14 @@ module Google
439
489
  # @return [::Google::Cloud::Dialogflow::V2::Generator]
440
490
  # Uncreated generator. It should be a complete generator that includes all
441
491
  # information about the generator.
492
+ #
493
+ # 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
494
  # @!attribute [rw] generator_name
443
495
  # @return [::String]
444
496
  # The resource name of the existing created generator. Format:
445
497
  # `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>`
498
+ #
499
+ # 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
500
  # @!attribute [rw] conversation_context
447
501
  # @return [::Google::Cloud::Dialogflow::V2::ConversationContext]
448
502
  # Optional. Context of the conversation, including transcripts.
@@ -536,9 +590,18 @@ module Google
536
590
  # @!attribute [rw] boost_specs
537
591
  # @return [::Array<::Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::SearchConfig::BoostSpecs>]
538
592
  # Optional. Boost specifications for data stores.
593
+ #
594
+ # Maps from datastore name to their boost configuration. Do not specify
595
+ # more than one BoostSpecs for each datastore name. If multiple BoostSpecs
596
+ # are provided for the same datastore name, the behavior is undefined.
539
597
  # @!attribute [rw] filter_specs
540
598
  # @return [::Array<::Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::SearchConfig::FilterSpecs>]
541
599
  # Optional. Filter specification for data store queries.
600
+ #
601
+ # TMaps from datastore name to the filter expression for that datastore. Do
602
+ # not specify more than one FilterSpecs for each datastore name. If
603
+ # multiple FilterSpecs are provided for the same datastore name, the
604
+ # behavior is undefined.
542
605
  class SearchConfig
543
606
  include ::Google::Protobuf::MessageExts
544
607
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -564,7 +627,7 @@ module Google
564
627
  # @!attribute [rw] condition_boost_specs
565
628
  # @return [::Array<::Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec>]
566
629
  # Optional. Condition boost specifications. If a document matches
567
- # multiple conditions in the specifictions, boost scores from these
630
+ # multiple conditions in the specifications, boost scores from these
568
631
  # specifications are all applied and combined in a non-linear way.
569
632
  # Maximum number of specifications is 20.
570
633
  class BoostSpec
@@ -642,6 +705,18 @@ module Google
642
705
  # The control points used to define the curve. The curve defined
643
706
  # through these control points can only be monotonically increasing
644
707
  # or decreasing(constant values are acceptable).
708
+ # @!attribute [rw] attribute_value
709
+ # @return [::String]
710
+ # Optional. Can be one of:
711
+ # 1. The numerical field value.
712
+ # 2. The duration spec for freshness:
713
+ # The value must be formatted as an XSD `dayTimeDuration` value
714
+ # (a restricted subset of an ISO 8601 duration value). The
715
+ # pattern for this is: `[nD][T[nH][nM][nS]]`.
716
+ # @!attribute [rw] boost_amount
717
+ # @return [::Float]
718
+ # Optional. The value between -1 to 1 by which to boost the score
719
+ # if the attribute_value evaluates to the value specified above.
645
720
  class ControlPoint
646
721
  include ::Google::Protobuf::MessageExts
647
722
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -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
@@ -130,7 +134,7 @@ module Google
130
134
  # @!attribute [r] raw_human_eval_template_csv
131
135
  # @return [::String]
132
136
  # Output only. Human eval template in csv format.
133
- # It tooks real-world conversations provided through input dataset, generates
137
+ # It takes real-world conversations provided through input dataset, generates
134
138
  # example suggestions for customer to verify quality of the model.
135
139
  # For Smart Reply, the generated csv file contains columns of
136
140
  # Context, (Suggestions,Q1,Q2)*3, Actual reply.
@@ -155,10 +159,14 @@ module Google
155
159
  # Required. Datasets used for evaluation.
156
160
  # @!attribute [rw] smart_reply_config
157
161
  # @return [::Google::Cloud::Dialogflow::V2::EvaluationConfig::SmartReplyConfig]
158
- # Configuration for smart reply model evalution.
162
+ # Configuration for smart reply model evaluation.
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
- # Configuration for smart compose model evalution.
167
+ # Configuration for smart compose model evaluation.
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
@@ -707,6 +717,9 @@ module Google
707
717
  # Run smart reply model for chat.
708
718
  SMART_REPLY = 3
709
719
 
720
+ # Run conversation summarization model for chat.
721
+ CONVERSATION_SUMMARIZATION = 8
722
+
710
723
  # Run knowledge search with text input from agent or text generated query.
711
724
  KNOWLEDGE_SEARCH = 14
712
725
 
@@ -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.
@@ -277,45 +277,73 @@ module Google
277
277
  # @!attribute [rw] text
278
278
  # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Text]
279
279
  # The text response.
280
+ #
281
+ # Note: The following fields are mutually exclusive: `text`, `image`, `quick_replies`, `card`, `payload`, `simple_responses`, `basic_card`, `suggestions`, `link_out_suggestion`, `list_select`, `carousel_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
280
282
  # @!attribute [rw] image
281
283
  # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Image]
282
284
  # The image response.
285
+ #
286
+ # Note: The following fields are mutually exclusive: `image`, `text`, `quick_replies`, `card`, `payload`, `simple_responses`, `basic_card`, `suggestions`, `link_out_suggestion`, `list_select`, `carousel_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
283
287
  # @!attribute [rw] quick_replies
284
288
  # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::QuickReplies]
285
289
  # The quick replies response.
290
+ #
291
+ # Note: The following fields are mutually exclusive: `quick_replies`, `text`, `image`, `card`, `payload`, `simple_responses`, `basic_card`, `suggestions`, `link_out_suggestion`, `list_select`, `carousel_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
286
292
  # @!attribute [rw] card
287
293
  # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Card]
288
294
  # The card response.
295
+ #
296
+ # Note: The following fields are mutually exclusive: `card`, `text`, `image`, `quick_replies`, `payload`, `simple_responses`, `basic_card`, `suggestions`, `link_out_suggestion`, `list_select`, `carousel_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
289
297
  # @!attribute [rw] payload
290
298
  # @return [::Google::Protobuf::Struct]
291
299
  # A custom platform-specific response.
300
+ #
301
+ # Note: The following fields are mutually exclusive: `payload`, `text`, `image`, `quick_replies`, `card`, `simple_responses`, `basic_card`, `suggestions`, `link_out_suggestion`, `list_select`, `carousel_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
292
302
  # @!attribute [rw] simple_responses
293
303
  # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::SimpleResponses]
294
304
  # The voice and text-only responses for Actions on Google.
305
+ #
306
+ # Note: The following fields are mutually exclusive: `simple_responses`, `text`, `image`, `quick_replies`, `card`, `payload`, `basic_card`, `suggestions`, `link_out_suggestion`, `list_select`, `carousel_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
295
307
  # @!attribute [rw] basic_card
296
308
  # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard]
297
309
  # The basic card response for Actions on Google.
310
+ #
311
+ # Note: The following fields are mutually exclusive: `basic_card`, `text`, `image`, `quick_replies`, `card`, `payload`, `simple_responses`, `suggestions`, `link_out_suggestion`, `list_select`, `carousel_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
298
312
  # @!attribute [rw] suggestions
299
313
  # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Suggestions]
300
314
  # The suggestion chips for Actions on Google.
315
+ #
316
+ # Note: The following fields are mutually exclusive: `suggestions`, `text`, `image`, `quick_replies`, `card`, `payload`, `simple_responses`, `basic_card`, `link_out_suggestion`, `list_select`, `carousel_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
301
317
  # @!attribute [rw] link_out_suggestion
302
318
  # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::LinkOutSuggestion]
303
319
  # The link out suggestion chip for Actions on Google.
320
+ #
321
+ # Note: The following fields are mutually exclusive: `link_out_suggestion`, `text`, `image`, `quick_replies`, `card`, `payload`, `simple_responses`, `basic_card`, `suggestions`, `list_select`, `carousel_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
304
322
  # @!attribute [rw] list_select
305
323
  # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::ListSelect]
306
324
  # The list card response for Actions on Google.
325
+ #
326
+ # Note: The following fields are mutually exclusive: `list_select`, `text`, `image`, `quick_replies`, `card`, `payload`, `simple_responses`, `basic_card`, `suggestions`, `link_out_suggestion`, `carousel_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
307
327
  # @!attribute [rw] carousel_select
308
328
  # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::CarouselSelect]
309
329
  # The carousel card response for Actions on Google.
330
+ #
331
+ # Note: The following fields are mutually exclusive: `carousel_select`, `text`, `image`, `quick_replies`, `card`, `payload`, `simple_responses`, `basic_card`, `suggestions`, `link_out_suggestion`, `list_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
310
332
  # @!attribute [rw] browse_carousel_card
311
333
  # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard]
312
334
  # Browse carousel card for Actions on Google.
335
+ #
336
+ # Note: The following fields are mutually exclusive: `browse_carousel_card`, `text`, `image`, `quick_replies`, `card`, `payload`, `simple_responses`, `basic_card`, `suggestions`, `link_out_suggestion`, `list_select`, `carousel_select`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
313
337
  # @!attribute [rw] table_card
314
338
  # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::TableCard]
315
339
  # Table card for Actions on Google.
340
+ #
341
+ # Note: The following fields are mutually exclusive: `table_card`, `text`, `image`, `quick_replies`, `card`, `payload`, `simple_responses`, `basic_card`, `suggestions`, `link_out_suggestion`, `list_select`, `carousel_select`, `browse_carousel_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
316
342
  # @!attribute [rw] media_content
317
343
  # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent]
318
344
  # The media content card for Actions on Google.
345
+ #
346
+ # Note: The following fields are mutually exclusive: `media_content`, `text`, `image`, `quick_replies`, `card`, `payload`, `simple_responses`, `basic_card`, `suggestions`, `link_out_suggestion`, `list_select`, `carousel_select`, `browse_carousel_card`, `table_card`. If a field in that set is populated, all other fields in the set will automatically be cleared.
319
347
  # @!attribute [rw] platform
320
348
  # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Platform]
321
349
  # Optional. The platform that this message is intended for.
@@ -589,9 +617,13 @@ module Google
589
617
  # @!attribute [rw] large_image
590
618
  # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Image]
591
619
  # Optional. Image to display above media content.
620
+ #
621
+ # Note: The following fields are mutually exclusive: `large_image`, `icon`. If a field in that set is populated, all other fields in the set will automatically be cleared.
592
622
  # @!attribute [rw] icon
593
623
  # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Image]
594
624
  # Optional. Icon to display above media content.
625
+ #
626
+ # Note: The following fields are mutually exclusive: `icon`, `large_image`. If a field in that set is populated, all other fields in the set will automatically be cleared.
595
627
  # @!attribute [rw] content_url
596
628
  # @return [::String]
597
629
  # Required. Url where the media is stored.
@@ -982,9 +1014,13 @@ module Google
982
1014
  # The URI to a Google Cloud Storage file containing intents to update or
983
1015
  # create. The file format can either be a serialized proto (of IntentBatch
984
1016
  # type) or JSON object. Note: The URI must start with "gs://".
1017
+ #
1018
+ # 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.
985
1019
  # @!attribute [rw] intent_batch_inline
986
1020
  # @return [::Google::Cloud::Dialogflow::V2::IntentBatch]
987
1021
  # The collection of intents to update or create.
1022
+ #
1023
+ # 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.
988
1024
  # @!attribute [rw] language_code
989
1025
  # @return [::String]
990
1026
  # Optional. The language used to access language-specific data.
@@ -145,7 +145,8 @@ module Google
145
145
  # Output only. The time when the message was created in Contact Center AI.
146
146
  # @!attribute [rw] send_time
147
147
  # @return [::Google::Protobuf::Timestamp]
148
- # Optional. The time when the message was sent.
148
+ # Optional. The time when the message was sent. For voice messages, this is
149
+ # the time when an utterance started.
149
150
  # @!attribute [r] message_annotation
150
151
  # @return [::Google::Cloud::Dialogflow::V2::MessageAnnotation]
151
152
  # Output only. The annotation for the message.
@@ -241,12 +242,23 @@ module Google
241
242
  # @!attribute [rw] text_input
242
243
  # @return [::Google::Cloud::Dialogflow::V2::TextInput]
243
244
  # The natural language text to be processed.
245
+ #
246
+ # Note: The following fields are mutually exclusive: `text_input`, `audio_input`, `event_input`, `suggestion_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
247
+ # @!attribute [rw] audio_input
248
+ # @return [::Google::Cloud::Dialogflow::V2::AudioInput]
249
+ # The natural language speech audio to be processed.
250
+ #
251
+ # Note: The following fields are mutually exclusive: `audio_input`, `text_input`, `event_input`, `suggestion_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
244
252
  # @!attribute [rw] event_input
245
253
  # @return [::Google::Cloud::Dialogflow::V2::EventInput]
246
254
  # An input event to send to Dialogflow.
255
+ #
256
+ # Note: The following fields are mutually exclusive: `event_input`, `text_input`, `audio_input`, `suggestion_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
247
257
  # @!attribute [rw] suggestion_input
248
258
  # @return [::Google::Cloud::Dialogflow::V2::SuggestionInput]
249
259
  # An input representing the selection of a suggestion.
260
+ #
261
+ # Note: The following fields are mutually exclusive: `suggestion_input`, `text_input`, `audio_input`, `event_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
250
262
  # @!attribute [rw] reply_audio_config
251
263
  # @return [::Google::Cloud::Dialogflow::V2::OutputAudioConfig]
252
264
  # Speech synthesis configuration.
@@ -396,9 +408,13 @@ module Google
396
408
  # @!attribute [rw] audio_config
397
409
  # @return [::Google::Cloud::Dialogflow::V2::InputAudioConfig]
398
410
  # Instructs the speech recognizer how to process the speech audio.
411
+ #
412
+ # Note: The following fields are mutually exclusive: `audio_config`, `text_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
399
413
  # @!attribute [rw] text_config
400
414
  # @return [::Google::Cloud::Dialogflow::V2::InputTextConfig]
401
415
  # The natural language text to be processed.
416
+ #
417
+ # Note: The following fields are mutually exclusive: `text_config`, `audio_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
402
418
  # @!attribute [rw] reply_audio_config
403
419
  # @return [::Google::Cloud::Dialogflow::V2::OutputAudioConfig]
404
420
  # Speech synthesis configuration.
@@ -411,18 +427,24 @@ module Google
411
427
  # The input audio content to be recognized. Must be sent if `audio_config`
412
428
  # is set in the first message. The complete audio over all streaming
413
429
  # messages must not exceed 1 minute.
430
+ #
431
+ # Note: The following fields are mutually exclusive: `input_audio`, `input_text`, `input_dtmf`. If a field in that set is populated, all other fields in the set will automatically be cleared.
414
432
  # @!attribute [rw] input_text
415
433
  # @return [::String]
416
434
  # The UTF-8 encoded natural language text to be processed. Must be sent if
417
435
  # `text_config` is set in the first message. Text length must not exceed
418
436
  # 256 bytes for virtual agent interactions. The `input_text` field can be
419
437
  # only sent once, and would cancel the speech recognition if any ongoing.
438
+ #
439
+ # Note: The following fields are mutually exclusive: `input_text`, `input_audio`, `input_dtmf`. If a field in that set is populated, all other fields in the set will automatically be cleared.
420
440
  # @!attribute [rw] input_dtmf
421
441
  # @return [::Google::Cloud::Dialogflow::V2::TelephonyDtmfEvents]
422
442
  # The DTMF digits used to invoke intent and fill in parameter value.
423
443
  #
424
444
  # This input is ignored if the previous response indicated that DTMF input
425
445
  # is not accepted.
446
+ #
447
+ # Note: The following fields are mutually exclusive: `input_dtmf`, `input_audio`, `input_text`. If a field in that set is populated, all other fields in the set will automatically be cleared.
426
448
  # @!attribute [rw] query_params
427
449
  # @return [::Google::Cloud::Dialogflow::V2::QueryParameters]
428
450
  # Parameters for a Dialogflow virtual-agent query.
@@ -461,10 +483,10 @@ module Google
461
483
  # https://cloud.google.com/agent-assist/docs/extended-streaming
462
484
  # @!attribute [rw] enable_partial_automated_agent_reply
463
485
  # @return [::Boolean]
464
- # Enable partial virtual agent responses. If this flag is not enabled,
465
- # response stream still contains only one final response even if some
466
- # `Fulfillment`s in Dialogflow virtual agent have been configured to return
467
- # partial responses.
486
+ # Optional. Enable partial responses from Dialogflow CX agent. If this flag
487
+ # is not enabled, response stream still contains only one final response even
488
+ # if some `Fulfillment`s in Dialogflow CX agent have been configured to
489
+ # return partial responses.
468
490
  # @!attribute [rw] enable_debugging_info
469
491
  # @return [::Boolean]
470
492
  # If true, `StreamingAnalyzeContentResponse.debugging_info` will get
@@ -546,6 +568,9 @@ module Google
546
568
  # @return [::Google::Cloud::Dialogflow::V2::CloudConversationDebuggingInfo]
547
569
  # Debugging info that would get populated when
548
570
  # `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
571
+ # @!attribute [rw] speech_model
572
+ # @return [::String]
573
+ # The name of the actual Cloud speech model used for speech recognition.
549
574
  class StreamingAnalyzeContentResponse
550
575
  include ::Google::Protobuf::MessageExts
551
576
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -712,6 +737,21 @@ module Google
712
737
  extend ::Google::Protobuf::MessageExts::ClassMethods
713
738
  end
714
739
 
740
+ # Represents the natural language speech audio to be processed.
741
+ # @!attribute [rw] config
742
+ # @return [::Google::Cloud::Dialogflow::V2::InputAudioConfig]
743
+ # Required. Instructs the speech recognizer how to process the speech audio.
744
+ # @!attribute [rw] audio
745
+ # @return [::String]
746
+ # Required. The natural language speech audio to be processed.
747
+ # A single request can contain up to 2 minutes of speech audio data.
748
+ # The transcribed text cannot contain more than 256 bytes for virtual agent
749
+ # interactions.
750
+ class AudioInput
751
+ include ::Google::Protobuf::MessageExts
752
+ extend ::Google::Protobuf::MessageExts::ClassMethods
753
+ end
754
+
715
755
  # Represents the natural language speech audio to be played to the end user.
716
756
  # @!attribute [rw] config
717
757
  # @return [::Google::Cloud::Dialogflow::V2::OutputAudioConfig]
@@ -885,9 +925,13 @@ module Google
885
925
  # @!attribute [rw] query_result
886
926
  # @return [::Google::Cloud::Dialogflow::V2::QueryResult]
887
927
  # Result from v2 agent.
928
+ #
929
+ # Note: The following fields are mutually exclusive: `query_result`, `intent_suggestion`. If a field in that set is populated, all other fields in the set will automatically be cleared.
888
930
  # @!attribute [rw] intent_suggestion
889
931
  # @return [::Google::Cloud::Dialogflow::V2::IntentSuggestion]
890
932
  # An intent suggestion generated from conversation.
933
+ #
934
+ # Note: The following fields are mutually exclusive: `intent_suggestion`, `query_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
891
935
  # @!attribute [rw] answer_record
892
936
  # @return [::String]
893
937
  # The name of answer record, in the format of
@@ -908,18 +952,28 @@ module Google
908
952
  # @!attribute [rw] error
909
953
  # @return [::Google::Rpc::Status]
910
954
  # Error status if the request failed.
955
+ #
956
+ # Note: The following fields are mutually exclusive: `error`, `suggest_articles_response`, `suggest_knowledge_assist_response`, `suggest_faq_answers_response`, `suggest_smart_replies_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
911
957
  # @!attribute [rw] suggest_articles_response
912
958
  # @return [::Google::Cloud::Dialogflow::V2::SuggestArticlesResponse]
913
959
  # SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.
960
+ #
961
+ # Note: The following fields are mutually exclusive: `suggest_articles_response`, `error`, `suggest_knowledge_assist_response`, `suggest_faq_answers_response`, `suggest_smart_replies_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
914
962
  # @!attribute [rw] suggest_knowledge_assist_response
915
963
  # @return [::Google::Cloud::Dialogflow::V2::SuggestKnowledgeAssistResponse]
916
964
  # SuggestKnowledgeAssistResponse if request is for KNOWLEDGE_ASSIST.
965
+ #
966
+ # Note: The following fields are mutually exclusive: `suggest_knowledge_assist_response`, `error`, `suggest_articles_response`, `suggest_faq_answers_response`, `suggest_smart_replies_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
917
967
  # @!attribute [rw] suggest_faq_answers_response
918
968
  # @return [::Google::Cloud::Dialogflow::V2::SuggestFaqAnswersResponse]
919
969
  # SuggestFaqAnswersResponse if request is for FAQ_ANSWER.
970
+ #
971
+ # Note: The following fields are mutually exclusive: `suggest_faq_answers_response`, `error`, `suggest_articles_response`, `suggest_knowledge_assist_response`, `suggest_smart_replies_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
920
972
  # @!attribute [rw] suggest_smart_replies_response
921
973
  # @return [::Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse]
922
974
  # SuggestSmartRepliesResponse if request is for SMART_REPLY.
975
+ #
976
+ # Note: The following fields are mutually exclusive: `suggest_smart_replies_response`, `error`, `suggest_articles_response`, `suggest_knowledge_assist_response`, `suggest_faq_answers_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
923
977
  class SuggestionResult
924
978
  include ::Google::Protobuf::MessageExts
925
979
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1049,7 +1103,7 @@ module Google
1049
1103
  # @!attribute [rw] previous_suggested_query
1050
1104
  # @return [::String]
1051
1105
  # Optional. The previously suggested query for the given conversation. This
1052
- # helps identify whether the next suggestion we generate is resonably
1106
+ # helps identify whether the next suggestion we generate is reasonably
1053
1107
  # different from the previous one. This is useful to avoid similar
1054
1108
  # suggestions within the conversation.
1055
1109
  class SuggestKnowledgeAssistRequest
@@ -1114,9 +1168,13 @@ module Google
1114
1168
  # @!attribute [rw] faq_source
1115
1169
  # @return [::Google::Cloud::Dialogflow::V2::KnowledgeAssistAnswer::KnowledgeAnswer::FaqSource]
1116
1170
  # Populated if the prediction came from FAQ.
1171
+ #
1172
+ # Note: The following fields are mutually exclusive: `faq_source`, `generative_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1117
1173
  # @!attribute [rw] generative_source
1118
1174
  # @return [::Google::Cloud::Dialogflow::V2::KnowledgeAssistAnswer::KnowledgeAnswer::GenerativeSource]
1119
1175
  # Populated if the prediction was Generative.
1176
+ #
1177
+ # Note: The following fields are mutually exclusive: `generative_source`, `faq_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1120
1178
  class KnowledgeAnswer
1121
1179
  include ::Google::Protobuf::MessageExts
1122
1180
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -188,13 +188,19 @@ module Google
188
188
  # @!attribute [rw] audio_config
189
189
  # @return [::Google::Cloud::Dialogflow::V2::InputAudioConfig]
190
190
  # Instructs the speech recognizer how to process the speech audio.
191
+ #
192
+ # Note: The following fields are mutually exclusive: `audio_config`, `text`, `event`. If a field in that set is populated, all other fields in the set will automatically be cleared.
191
193
  # @!attribute [rw] text
192
194
  # @return [::Google::Cloud::Dialogflow::V2::TextInput]
193
195
  # The natural language text to be processed. Text length must not exceed
194
196
  # 256 character for virtual agent interactions.
197
+ #
198
+ # Note: The following fields are mutually exclusive: `text`, `audio_config`, `event`. If a field in that set is populated, all other fields in the set will automatically be cleared.
195
199
  # @!attribute [rw] event
196
200
  # @return [::Google::Cloud::Dialogflow::V2::EventInput]
197
201
  # The event to be processed.
202
+ #
203
+ # Note: The following fields are mutually exclusive: `event`, `audio_config`, `text`. If a field in that set is populated, all other fields in the set will automatically be cleared.
198
204
  class QueryInput
199
205
  include ::Google::Protobuf::MessageExts
200
206
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -53,21 +53,33 @@ module Google
53
53
  # @!attribute [rw] null_value
54
54
  # @return [::Google::Protobuf::NullValue]
55
55
  # Represents a null value.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
56
58
  # @!attribute [rw] number_value
57
59
  # @return [::Float]
58
60
  # Represents a double value.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
63
  # @!attribute [rw] string_value
60
64
  # @return [::String]
61
65
  # Represents a string value.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
62
68
  # @!attribute [rw] bool_value
63
69
  # @return [::Boolean]
64
70
  # Represents a boolean value.
71
+ #
72
+ # Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
65
73
  # @!attribute [rw] struct_value
66
74
  # @return [::Google::Protobuf::Struct]
67
75
  # Represents a structured value.
76
+ #
77
+ # Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
78
  # @!attribute [rw] list_value
69
79
  # @return [::Google::Protobuf::ListValue]
70
80
  # Represents a repeated `Value`.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
71
83
  class Value
72
84
  include ::Google::Protobuf::MessageExts
73
85
  extend ::Google::Protobuf::MessageExts::ClassMethods