google-cloud-dialogflow-v2 0.4.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +6 -6
  3. data/README.md +1 -1
  4. data/lib/google/cloud/dialogflow/v2.rb +2 -1
  5. data/lib/google/cloud/dialogflow/v2/agents.rb +5 -5
  6. data/lib/google/cloud/dialogflow/v2/agents/client.rb +212 -207
  7. data/lib/google/cloud/dialogflow/v2/agents/credentials.rb +1 -1
  8. data/lib/google/cloud/dialogflow/v2/agents/operations.rb +109 -103
  9. data/lib/google/cloud/dialogflow/v2/agents/paths.rb +2 -2
  10. data/lib/google/cloud/dialogflow/v2/contexts.rb +3 -3
  11. data/lib/google/cloud/dialogflow/v2/contexts/client.rb +148 -143
  12. data/lib/google/cloud/dialogflow/v2/contexts/credentials.rb +1 -1
  13. data/lib/google/cloud/dialogflow/v2/contexts/paths.rb +14 -14
  14. data/lib/google/cloud/dialogflow/v2/entity_types.rb +2 -2
  15. data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +238 -233
  16. data/lib/google/cloud/dialogflow/v2/entity_types/credentials.rb +1 -1
  17. data/lib/google/cloud/dialogflow/v2/entity_types/operations.rb +109 -103
  18. data/lib/google/cloud/dialogflow/v2/entity_types/paths.rb +3 -3
  19. data/lib/google/cloud/dialogflow/v2/environment_pb.rb +51 -0
  20. data/lib/google/cloud/dialogflow/v2/environment_services_pb.rb +45 -0
  21. data/lib/google/cloud/dialogflow/v2/environments.rb +49 -0
  22. data/lib/google/cloud/dialogflow/v2/environments/client.rb +384 -0
  23. data/lib/google/cloud/dialogflow/v2/environments/credentials.rb +52 -0
  24. data/lib/google/cloud/dialogflow/v2/environments/paths.rb +47 -0
  25. data/lib/google/cloud/dialogflow/v2/intents.rb +3 -3
  26. data/lib/google/cloud/dialogflow/v2/intents/client.rb +183 -178
  27. data/lib/google/cloud/dialogflow/v2/intents/credentials.rb +1 -1
  28. data/lib/google/cloud/dialogflow/v2/intents/operations.rb +109 -103
  29. data/lib/google/cloud/dialogflow/v2/intents/paths.rb +11 -11
  30. data/lib/google/cloud/dialogflow/v2/session_entity_types.rb +1 -1
  31. data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +130 -125
  32. data/lib/google/cloud/dialogflow/v2/session_entity_types/credentials.rb +1 -1
  33. data/lib/google/cloud/dialogflow/v2/session_entity_types/paths.rb +14 -14
  34. data/lib/google/cloud/dialogflow/v2/sessions.rb +3 -3
  35. data/lib/google/cloud/dialogflow/v2/sessions/client.rb +86 -81
  36. data/lib/google/cloud/dialogflow/v2/sessions/credentials.rb +1 -1
  37. data/lib/google/cloud/dialogflow/v2/sessions/paths.rb +22 -22
  38. data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
  39. data/proto_docs/google/api/resource.rb +12 -12
  40. data/proto_docs/google/cloud/dialogflow/v2/agent.rb +69 -69
  41. data/proto_docs/google/cloud/dialogflow/v2/audio_config.rb +45 -44
  42. data/proto_docs/google/cloud/dialogflow/v2/context.rb +38 -38
  43. data/proto_docs/google/cloud/dialogflow/v2/entity_type.rb +86 -86
  44. data/proto_docs/google/cloud/dialogflow/v2/environment.rb +103 -0
  45. data/proto_docs/google/cloud/dialogflow/v2/intent.rb +251 -250
  46. data/proto_docs/google/cloud/dialogflow/v2/session.rb +114 -106
  47. data/proto_docs/google/cloud/dialogflow/v2/session_entity_type.rb +35 -35
  48. data/proto_docs/google/cloud/dialogflow/v2/validation_result.rb +8 -8
  49. data/proto_docs/google/cloud/dialogflow/v2/webhook.rb +43 -36
  50. data/proto_docs/google/longrunning/operations.rb +30 -30
  51. data/proto_docs/google/protobuf/any.rb +4 -4
  52. data/proto_docs/google/protobuf/duration.rb +4 -4
  53. data/proto_docs/google/protobuf/empty.rb +2 -2
  54. data/proto_docs/google/protobuf/field_mask.rb +3 -3
  55. data/proto_docs/google/protobuf/struct.rb +18 -18
  56. data/proto_docs/google/protobuf/timestamp.rb +120 -0
  57. data/proto_docs/google/rpc/status.rb +6 -6
  58. data/proto_docs/google/type/latlng.rb +4 -4
  59. metadata +41 -6
  60. data/lib/google/cloud/common_resources_pb.rb +0 -15
@@ -0,0 +1,103 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Dialogflow
23
+ module V2
24
+ # Represents an agent environment.
25
+ # @!attribute [r] name
26
+ # @return [::String]
27
+ # Output only. The unique identifier of this agent environment.
28
+ # Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
29
+ # For Environment ID, "-" is reserved for 'draft' environment.
30
+ # @!attribute [rw] description
31
+ # @return [::String]
32
+ # Optional. The developer-provided description for this environment.
33
+ # The maximum length is 500 characters. If exceeded, the request is rejected.
34
+ # @!attribute [rw] agent_version
35
+ # @return [::String]
36
+ # Optional. The agent version loaded into this environment.
37
+ # Format: `projects/<Project ID>/agent/versions/<Version ID>`.
38
+ # @!attribute [r] state
39
+ # @return [::Google::Cloud::Dialogflow::V2::Environment::State]
40
+ # Output only. The state of this environment. This field is read-only, i.e., it cannot be
41
+ # set by create and update methods.
42
+ # @!attribute [r] update_time
43
+ # @return [::Google::Protobuf::Timestamp]
44
+ # Output only. The last update time of this environment. This field is read-only, i.e., it
45
+ # cannot be set by create and update methods.
46
+ class Environment
47
+ include ::Google::Protobuf::MessageExts
48
+ extend ::Google::Protobuf::MessageExts::ClassMethods
49
+
50
+ # Represents an environment state. When an environment is pointed to a new
51
+ # agent version, the environment is temporarily set to the `LOADING` state.
52
+ # During that time, the environment keeps on serving the previous version of
53
+ # the agent. After the new agent version is done loading, the environment is
54
+ # set back to the `RUNNING` state.
55
+ module State
56
+ # Not specified. This value is not used.
57
+ STATE_UNSPECIFIED = 0
58
+
59
+ # Stopped.
60
+ STOPPED = 1
61
+
62
+ # Loading.
63
+ LOADING = 2
64
+
65
+ # Running.
66
+ RUNNING = 3
67
+ end
68
+ end
69
+
70
+ # The request message for {::Google::Cloud::Dialogflow::V2::Environments::Client#list_environments Environments.ListEnvironments}.
71
+ # @!attribute [rw] parent
72
+ # @return [::String]
73
+ # Required. The agent to list all environments from.
74
+ # Format: `projects/<Project ID>/agent`.
75
+ # @!attribute [rw] page_size
76
+ # @return [::Integer]
77
+ # Optional. The maximum number of items to return in a single page. By default 100 and
78
+ # at most 1000.
79
+ # @!attribute [rw] page_token
80
+ # @return [::String]
81
+ # Optional. The next_page_token value returned from a previous list request.
82
+ class ListEnvironmentsRequest
83
+ include ::Google::Protobuf::MessageExts
84
+ extend ::Google::Protobuf::MessageExts::ClassMethods
85
+ end
86
+
87
+ # The response message for {::Google::Cloud::Dialogflow::V2::Environments::Client#list_environments Environments.ListEnvironments}.
88
+ # @!attribute [rw] environments
89
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Environment>]
90
+ # The list of agent environments. There will be a maximum number of items
91
+ # returned based on the page_size field in the request.
92
+ # @!attribute [rw] next_page_token
93
+ # @return [::String]
94
+ # Token to retrieve the next page of results, or empty if there are no
95
+ # more results in the list.
96
+ class ListEnvironmentsResponse
97
+ include ::Google::Protobuf::MessageExts
98
+ extend ::Google::Protobuf::MessageExts::ClassMethods
99
+ end
100
+ end
101
+ end
102
+ end
103
+ end
@@ -25,19 +25,19 @@ module Google
25
25
  # Intents convert a number of user expressions or patterns into an action. An
26
26
  # action is an extraction of a user command or sentence semantics.
27
27
  # @!attribute [rw] name
28
- # @return [String]
28
+ # @return [::String]
29
29
  # Optional. The unique identifier of this intent.
30
- # Required for {Google::Cloud::Dialogflow::V2::Intents::Client#update_intent Intents.UpdateIntent} and {Google::Cloud::Dialogflow::V2::Intents::Client#batch_update_intents Intents.BatchUpdateIntents}
30
+ # Required for {::Google::Cloud::Dialogflow::V2::Intents::Client#update_intent Intents.UpdateIntent} and {::Google::Cloud::Dialogflow::V2::Intents::Client#batch_update_intents Intents.BatchUpdateIntents}
31
31
  # methods.
32
32
  # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
33
33
  # @!attribute [rw] display_name
34
- # @return [String]
34
+ # @return [::String]
35
35
  # Required. The name of this intent.
36
36
  # @!attribute [rw] webhook_state
37
- # @return [Google::Cloud::Dialogflow::V2::Intent::WebhookState]
37
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::WebhookState]
38
38
  # Optional. Indicates whether webhooks are enabled for the intent.
39
39
  # @!attribute [rw] priority
40
- # @return [Integer]
40
+ # @return [::Integer]
41
41
  # Optional. The priority of this intent. Higher numbers represent higher
42
42
  # priorities.
43
43
  #
@@ -47,89 +47,89 @@ module Google
47
47
  # - If the supplied value is negative, the intent is ignored
48
48
  # in runtime detect intent requests.
49
49
  # @!attribute [rw] is_fallback
50
- # @return [Boolean]
50
+ # @return [::Boolean]
51
51
  # Optional. Indicates whether this is a fallback intent.
52
52
  # @!attribute [rw] ml_disabled
53
- # @return [Boolean]
53
+ # @return [::Boolean]
54
54
  # Optional. Indicates whether Machine Learning is disabled for the intent.
55
55
  # Note: If `ml_disabled` setting is set to true, then this intent is not
56
56
  # taken into account during inference in `ML ONLY` match mode. Also,
57
57
  # auto-markup in the UI is turned off.
58
58
  # @!attribute [rw] input_context_names
59
- # @return [Array<String>]
59
+ # @return [::Array<::String>]
60
60
  # Optional. The list of context names required for this intent to be
61
61
  # triggered.
62
62
  # Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
63
63
  # @!attribute [rw] events
64
- # @return [Array<String>]
64
+ # @return [::Array<::String>]
65
65
  # Optional. The collection of event names that trigger the intent.
66
66
  # If the collection of input contexts is not empty, all of the contexts must
67
67
  # be present in the active user session for an event to trigger this intent.
68
68
  # Event names are limited to 150 characters.
69
69
  # @!attribute [rw] training_phrases
70
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent::TrainingPhrase>]
70
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::TrainingPhrase>]
71
71
  # Optional. The collection of examples that the agent is
72
72
  # trained on.
73
73
  # @!attribute [rw] action
74
- # @return [String]
74
+ # @return [::String]
75
75
  # Optional. The name of the action associated with the intent.
76
76
  # Note: The action name must not contain whitespaces.
77
77
  # @!attribute [rw] output_contexts
78
- # @return [Array<Google::Cloud::Dialogflow::V2::Context>]
78
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Context>]
79
79
  # Optional. The collection of contexts that are activated when the intent
80
80
  # is matched. Context messages in this collection should not set the
81
81
  # parameters field. Setting the `lifespan_count` to 0 will reset the context
82
82
  # when the intent is matched.
83
83
  # Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
84
84
  # @!attribute [rw] reset_contexts
85
- # @return [Boolean]
85
+ # @return [::Boolean]
86
86
  # Optional. Indicates whether to delete all contexts in the current
87
87
  # session when this intent is matched.
88
88
  # @!attribute [rw] parameters
89
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent::Parameter>]
89
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::Parameter>]
90
90
  # Optional. The collection of parameters associated with the intent.
91
91
  # @!attribute [rw] messages
92
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent::Message>]
92
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::Message>]
93
93
  # Optional. The collection of rich messages corresponding to the
94
94
  # `Response` field in the Dialogflow console.
95
95
  # @!attribute [rw] default_response_platforms
96
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent::Message::Platform>]
96
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::Platform>]
97
97
  # Optional. The list of platforms for which the first responses will be
98
98
  # copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
99
99
  # @!attribute [rw] root_followup_intent_name
100
- # @return [String]
100
+ # @return [::String]
101
101
  # Read-only. The unique identifier of the root intent in the chain of
102
102
  # followup intents. It identifies the correct followup intents chain for
103
103
  # this intent. We populate this field only in the output.
104
104
  #
105
105
  # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
106
106
  # @!attribute [rw] parent_followup_intent_name
107
- # @return [String]
107
+ # @return [::String]
108
108
  # Read-only after creation. The unique identifier of the parent intent in the
109
109
  # chain of followup intents. You can set this field when creating an intent,
110
- # for example with {Google::Cloud::Dialogflow::V2::Intents::Client#create_intent CreateIntent} or
111
- # {Google::Cloud::Dialogflow::V2::Intents::Client#batch_update_intents BatchUpdateIntents}, in order to make this
110
+ # for example with {::Google::Cloud::Dialogflow::V2::Intents::Client#create_intent CreateIntent} or
111
+ # {::Google::Cloud::Dialogflow::V2::Intents::Client#batch_update_intents BatchUpdateIntents}, in order to make this
112
112
  # intent a followup intent.
113
113
  #
114
114
  # It identifies the parent followup intent.
115
115
  # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
116
116
  # @!attribute [rw] followup_intent_info
117
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent::FollowupIntentInfo>]
117
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::FollowupIntentInfo>]
118
118
  # Read-only. Information about all followup intents that have this intent as
119
119
  # a direct or indirect parent. We populate this field only in the output.
120
120
  class Intent
121
- include Google::Protobuf::MessageExts
122
- extend Google::Protobuf::MessageExts::ClassMethods
121
+ include ::Google::Protobuf::MessageExts
122
+ extend ::Google::Protobuf::MessageExts::ClassMethods
123
123
 
124
124
  # Represents an example that the agent is trained on.
125
125
  # @!attribute [rw] name
126
- # @return [String]
126
+ # @return [::String]
127
127
  # Output only. The unique identifier of this training phrase.
128
128
  # @!attribute [rw] type
129
- # @return [Google::Cloud::Dialogflow::V2::Intent::TrainingPhrase::Type]
129
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::TrainingPhrase::Type]
130
130
  # Required. The type of the training phrase.
131
131
  # @!attribute [rw] parts
132
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent::TrainingPhrase::Part>]
132
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::TrainingPhrase::Part>]
133
133
  # Required. The ordered list of training phrase parts.
134
134
  # The parts are concatenated in order to form the training phrase.
135
135
  #
@@ -140,7 +140,7 @@ module Google
140
140
  # so the training phrase is well formatted when the parts are concatenated.
141
141
  #
142
142
  # If the training phrase does not need to be annotated with parameters,
143
- # you just need a single part with only the {Google::Cloud::Dialogflow::V2::Intent::TrainingPhrase::Part#text Part.text} field set.
143
+ # you just need a single part with only the {::Google::Cloud::Dialogflow::V2::Intent::TrainingPhrase::Part#text Part.text} field set.
144
144
  #
145
145
  # If you want to annotate the training phrase, you must create multiple
146
146
  # parts, where the fields of each part are populated in one of two ways:
@@ -150,36 +150,36 @@ module Google
150
150
  # and the `entity_type`, `alias`, and `user_defined` fields are all
151
151
  # set.
152
152
  # @!attribute [rw] times_added_count
153
- # @return [Integer]
153
+ # @return [::Integer]
154
154
  # Optional. Indicates how many times this example was added to
155
155
  # the intent. Each time a developer adds an existing sample by editing an
156
156
  # intent or training, this counter is increased.
157
157
  class TrainingPhrase
158
- include Google::Protobuf::MessageExts
159
- extend Google::Protobuf::MessageExts::ClassMethods
158
+ include ::Google::Protobuf::MessageExts
159
+ extend ::Google::Protobuf::MessageExts::ClassMethods
160
160
 
161
161
  # Represents a part of a training phrase.
162
162
  # @!attribute [rw] text
163
- # @return [String]
163
+ # @return [::String]
164
164
  # Required. The text for this part.
165
165
  # @!attribute [rw] entity_type
166
- # @return [String]
166
+ # @return [::String]
167
167
  # Optional. The entity type name prefixed with `@`.
168
168
  # This field is required for annotated parts of the training phrase.
169
169
  # @!attribute [rw] alias
170
- # @return [String]
170
+ # @return [::String]
171
171
  # Optional. The parameter name for the value extracted from the
172
172
  # annotated part of the example.
173
173
  # This field is required for annotated parts of the training phrase.
174
174
  # @!attribute [rw] user_defined
175
- # @return [Boolean]
175
+ # @return [::Boolean]
176
176
  # Optional. Indicates whether the text was manually annotated.
177
177
  # This field is set to true when the Dialogflow Console is used to
178
178
  # manually annotate the part. When creating an annotated part with the
179
179
  # API, you must set this to true.
180
180
  class Part
181
- include Google::Protobuf::MessageExts
182
- extend Google::Protobuf::MessageExts::ClassMethods
181
+ include ::Google::Protobuf::MessageExts
182
+ extend ::Google::Protobuf::MessageExts::ClassMethods
183
183
  end
184
184
 
185
185
  # Represents different types of training phrases.
@@ -203,45 +203,46 @@ module Google
203
203
 
204
204
  # Represents intent parameters.
205
205
  # @!attribute [rw] name
206
- # @return [String]
206
+ # @return [::String]
207
207
  # The unique identifier of this parameter.
208
208
  # @!attribute [rw] display_name
209
- # @return [String]
209
+ # @return [::String]
210
210
  # Required. The name of the parameter.
211
211
  # @!attribute [rw] value
212
- # @return [String]
212
+ # @return [::String]
213
213
  # Optional. The definition of the parameter value. It can be:
214
+ #
214
215
  # - a constant string,
215
216
  # - a parameter value defined as `$parameter_name`,
216
217
  # - an original parameter value defined as `$parameter_name.original`,
217
218
  # - a parameter value from some context defined as
218
219
  # `#context_name.parameter_name`.
219
220
  # @!attribute [rw] default_value
220
- # @return [String]
221
+ # @return [::String]
221
222
  # Optional. The default value to use when the `value` yields an empty
222
223
  # result.
223
224
  # Default values can be extracted from contexts by using the following
224
225
  # syntax: `#context_name.parameter_name`.
225
226
  # @!attribute [rw] entity_type_display_name
226
- # @return [String]
227
+ # @return [::String]
227
228
  # Optional. The name of the entity type, prefixed with `@`, that
228
229
  # describes values of the parameter. If the parameter is
229
230
  # required, this must be provided.
230
231
  # @!attribute [rw] mandatory
231
- # @return [Boolean]
232
+ # @return [::Boolean]
232
233
  # Optional. Indicates whether the parameter is required. That is,
233
234
  # whether the intent cannot be completed without collecting the parameter
234
235
  # value.
235
236
  # @!attribute [rw] prompts
236
- # @return [Array<String>]
237
+ # @return [::Array<::String>]
237
238
  # Optional. The collection of prompts that the agent can present to the
238
239
  # user in order to collect a value for the parameter.
239
240
  # @!attribute [rw] is_list
240
- # @return [Boolean]
241
+ # @return [::Boolean]
241
242
  # Optional. Indicates whether the parameter represents a list of values.
242
243
  class Parameter
243
- include Google::Protobuf::MessageExts
244
- extend Google::Protobuf::MessageExts::ClassMethods
244
+ include ::Google::Protobuf::MessageExts
245
+ extend ::Google::Protobuf::MessageExts::ClassMethods
245
246
  end
246
247
 
247
248
  # A rich response message.
@@ -250,135 +251,135 @@ module Google
250
251
  # [Rich response
251
252
  # messages](https://cloud.google.com/dialogflow/docs/intents-rich-messages).
252
253
  # @!attribute [rw] text
253
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::Text]
254
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Text]
254
255
  # The text response.
255
256
  # @!attribute [rw] image
256
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::Image]
257
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Image]
257
258
  # The image response.
258
259
  # @!attribute [rw] quick_replies
259
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::QuickReplies]
260
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::QuickReplies]
260
261
  # The quick replies response.
261
262
  # @!attribute [rw] card
262
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::Card]
263
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Card]
263
264
  # The card response.
264
265
  # @!attribute [rw] payload
265
- # @return [Google::Protobuf::Struct]
266
+ # @return [::Google::Protobuf::Struct]
266
267
  # A custom platform-specific response.
267
268
  # @!attribute [rw] simple_responses
268
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::SimpleResponses]
269
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::SimpleResponses]
269
270
  # The voice and text-only responses for Actions on Google.
270
271
  # @!attribute [rw] basic_card
271
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard]
272
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard]
272
273
  # The basic card response for Actions on Google.
273
274
  # @!attribute [rw] suggestions
274
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::Suggestions]
275
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Suggestions]
275
276
  # The suggestion chips for Actions on Google.
276
277
  # @!attribute [rw] link_out_suggestion
277
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::LinkOutSuggestion]
278
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::LinkOutSuggestion]
278
279
  # The link out suggestion chip for Actions on Google.
279
280
  # @!attribute [rw] list_select
280
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::ListSelect]
281
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::ListSelect]
281
282
  # The list card response for Actions on Google.
282
283
  # @!attribute [rw] carousel_select
283
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::CarouselSelect]
284
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::CarouselSelect]
284
285
  # The carousel card response for Actions on Google.
285
286
  # @!attribute [rw] browse_carousel_card
286
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard]
287
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard]
287
288
  # Browse carousel card for Actions on Google.
288
289
  # @!attribute [rw] table_card
289
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::TableCard]
290
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::TableCard]
290
291
  # Table card for Actions on Google.
291
292
  # @!attribute [rw] media_content
292
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent]
293
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent]
293
294
  # The media content card for Actions on Google.
294
295
  # @!attribute [rw] platform
295
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::Platform]
296
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Platform]
296
297
  # Optional. The platform that this message is intended for.
297
298
  class Message
298
- include Google::Protobuf::MessageExts
299
- extend Google::Protobuf::MessageExts::ClassMethods
299
+ include ::Google::Protobuf::MessageExts
300
+ extend ::Google::Protobuf::MessageExts::ClassMethods
300
301
 
301
302
  # The text response message.
302
303
  # @!attribute [rw] text
303
- # @return [Array<String>]
304
+ # @return [::Array<::String>]
304
305
  # Optional. The collection of the agent's responses.
305
306
  class Text
306
- include Google::Protobuf::MessageExts
307
- extend Google::Protobuf::MessageExts::ClassMethods
307
+ include ::Google::Protobuf::MessageExts
308
+ extend ::Google::Protobuf::MessageExts::ClassMethods
308
309
  end
309
310
 
310
311
  # The image response message.
311
312
  # @!attribute [rw] image_uri
312
- # @return [String]
313
+ # @return [::String]
313
314
  # Optional. The public URI to an image file.
314
315
  # @!attribute [rw] accessibility_text
315
- # @return [String]
316
+ # @return [::String]
316
317
  # Optional. A text description of the image to be used for accessibility,
317
318
  # e.g., screen readers.
318
319
  class Image
319
- include Google::Protobuf::MessageExts
320
- extend Google::Protobuf::MessageExts::ClassMethods
320
+ include ::Google::Protobuf::MessageExts
321
+ extend ::Google::Protobuf::MessageExts::ClassMethods
321
322
  end
322
323
 
323
324
  # The quick replies response message.
324
325
  # @!attribute [rw] title
325
- # @return [String]
326
+ # @return [::String]
326
327
  # Optional. The title of the collection of quick replies.
327
328
  # @!attribute [rw] quick_replies
328
- # @return [Array<String>]
329
+ # @return [::Array<::String>]
329
330
  # Optional. The collection of quick replies.
330
331
  class QuickReplies
331
- include Google::Protobuf::MessageExts
332
- extend Google::Protobuf::MessageExts::ClassMethods
332
+ include ::Google::Protobuf::MessageExts
333
+ extend ::Google::Protobuf::MessageExts::ClassMethods
333
334
  end
334
335
 
335
336
  # The card response message.
336
337
  # @!attribute [rw] title
337
- # @return [String]
338
+ # @return [::String]
338
339
  # Optional. The title of the card.
339
340
  # @!attribute [rw] subtitle
340
- # @return [String]
341
+ # @return [::String]
341
342
  # Optional. The subtitle of the card.
342
343
  # @!attribute [rw] image_uri
343
- # @return [String]
344
+ # @return [::String]
344
345
  # Optional. The public URI to an image file for the card.
345
346
  # @!attribute [rw] buttons
346
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent::Message::Card::Button>]
347
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::Card::Button>]
347
348
  # Optional. The collection of card buttons.
348
349
  class Card
349
- include Google::Protobuf::MessageExts
350
- extend Google::Protobuf::MessageExts::ClassMethods
350
+ include ::Google::Protobuf::MessageExts
351
+ extend ::Google::Protobuf::MessageExts::ClassMethods
351
352
 
352
353
  # Contains information about a button.
353
354
  # @!attribute [rw] text
354
- # @return [String]
355
+ # @return [::String]
355
356
  # Optional. The text to show on the button.
356
357
  # @!attribute [rw] postback
357
- # @return [String]
358
+ # @return [::String]
358
359
  # Optional. The text to send back to the Dialogflow API or a URI to
359
360
  # open.
360
361
  class Button
361
- include Google::Protobuf::MessageExts
362
- extend Google::Protobuf::MessageExts::ClassMethods
362
+ include ::Google::Protobuf::MessageExts
363
+ extend ::Google::Protobuf::MessageExts::ClassMethods
363
364
  end
364
365
  end
365
366
 
366
367
  # The simple response message containing speech or text.
367
368
  # @!attribute [rw] text_to_speech
368
- # @return [String]
369
+ # @return [::String]
369
370
  # One of text_to_speech or ssml must be provided. The plain text of the
370
371
  # speech output. Mutually exclusive with ssml.
371
372
  # @!attribute [rw] ssml
372
- # @return [String]
373
+ # @return [::String]
373
374
  # One of text_to_speech or ssml must be provided. Structured spoken
374
375
  # response to the user in the SSML format. Mutually exclusive with
375
376
  # text_to_speech.
376
377
  # @!attribute [rw] display_text
377
- # @return [String]
378
+ # @return [::String]
378
379
  # Optional. The text to display.
379
380
  class SimpleResponse
380
- include Google::Protobuf::MessageExts
381
- extend Google::Protobuf::MessageExts::ClassMethods
381
+ include ::Google::Protobuf::MessageExts
382
+ extend ::Google::Protobuf::MessageExts::ClassMethods
382
383
  end
383
384
 
384
385
  # The collection of simple response candidates.
@@ -386,51 +387,51 @@ module Google
386
387
  # `WebhookResponse.fulfillment_messages` should contain only one
387
388
  # `SimpleResponse`.
388
389
  # @!attribute [rw] simple_responses
389
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent::Message::SimpleResponse>]
390
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::SimpleResponse>]
390
391
  # Required. The list of simple responses.
391
392
  class SimpleResponses
392
- include Google::Protobuf::MessageExts
393
- extend Google::Protobuf::MessageExts::ClassMethods
393
+ include ::Google::Protobuf::MessageExts
394
+ extend ::Google::Protobuf::MessageExts::ClassMethods
394
395
  end
395
396
 
396
397
  # The basic card message. Useful for displaying information.
397
398
  # @!attribute [rw] title
398
- # @return [String]
399
+ # @return [::String]
399
400
  # Optional. The title of the card.
400
401
  # @!attribute [rw] subtitle
401
- # @return [String]
402
+ # @return [::String]
402
403
  # Optional. The subtitle of the card.
403
404
  # @!attribute [rw] formatted_text
404
- # @return [String]
405
+ # @return [::String]
405
406
  # Required, unless image is present. The body text of the card.
406
407
  # @!attribute [rw] image
407
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::Image]
408
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Image]
408
409
  # Optional. The image for the card.
409
410
  # @!attribute [rw] buttons
410
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard::Button>]
411
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard::Button>]
411
412
  # Optional. The collection of card buttons.
412
413
  class BasicCard
413
- include Google::Protobuf::MessageExts
414
- extend Google::Protobuf::MessageExts::ClassMethods
414
+ include ::Google::Protobuf::MessageExts
415
+ extend ::Google::Protobuf::MessageExts::ClassMethods
415
416
 
416
417
  # The button object that appears at the bottom of a card.
417
418
  # @!attribute [rw] title
418
- # @return [String]
419
+ # @return [::String]
419
420
  # Required. The title of the button.
420
421
  # @!attribute [rw] open_uri_action
421
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard::Button::OpenUriAction]
422
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard::Button::OpenUriAction]
422
423
  # Required. Action to take when a user taps on the button.
423
424
  class Button
424
- include Google::Protobuf::MessageExts
425
- extend Google::Protobuf::MessageExts::ClassMethods
425
+ include ::Google::Protobuf::MessageExts
426
+ extend ::Google::Protobuf::MessageExts::ClassMethods
426
427
 
427
428
  # Opens the given URI.
428
429
  # @!attribute [rw] uri
429
- # @return [String]
430
+ # @return [::String]
430
431
  # Required. The HTTP or HTTPS scheme URI.
431
432
  class OpenUriAction
432
- include Google::Protobuf::MessageExts
433
- extend Google::Protobuf::MessageExts::ClassMethods
433
+ include ::Google::Protobuf::MessageExts
434
+ extend ::Google::Protobuf::MessageExts::ClassMethods
434
435
  end
435
436
  end
436
437
  end
@@ -438,141 +439,141 @@ module Google
438
439
  # The suggestion chip message that the user can tap to quickly post a reply
439
440
  # to the conversation.
440
441
  # @!attribute [rw] title
441
- # @return [String]
442
+ # @return [::String]
442
443
  # Required. The text shown the in the suggestion chip.
443
444
  class Suggestion
444
- include Google::Protobuf::MessageExts
445
- extend Google::Protobuf::MessageExts::ClassMethods
445
+ include ::Google::Protobuf::MessageExts
446
+ extend ::Google::Protobuf::MessageExts::ClassMethods
446
447
  end
447
448
 
448
449
  # The collection of suggestions.
449
450
  # @!attribute [rw] suggestions
450
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent::Message::Suggestion>]
451
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::Suggestion>]
451
452
  # Required. The list of suggested replies.
452
453
  class Suggestions
453
- include Google::Protobuf::MessageExts
454
- extend Google::Protobuf::MessageExts::ClassMethods
454
+ include ::Google::Protobuf::MessageExts
455
+ extend ::Google::Protobuf::MessageExts::ClassMethods
455
456
  end
456
457
 
457
458
  # The suggestion chip message that allows the user to jump out to the app
458
459
  # or website associated with this agent.
459
460
  # @!attribute [rw] destination_name
460
- # @return [String]
461
+ # @return [::String]
461
462
  # Required. The name of the app or site this chip is linking to.
462
463
  # @!attribute [rw] uri
463
- # @return [String]
464
+ # @return [::String]
464
465
  # Required. The URI of the app or site to open when the user taps the
465
466
  # suggestion chip.
466
467
  class LinkOutSuggestion
467
- include Google::Protobuf::MessageExts
468
- extend Google::Protobuf::MessageExts::ClassMethods
468
+ include ::Google::Protobuf::MessageExts
469
+ extend ::Google::Protobuf::MessageExts::ClassMethods
469
470
  end
470
471
 
471
472
  # The card for presenting a list of options to select from.
472
473
  # @!attribute [rw] title
473
- # @return [String]
474
+ # @return [::String]
474
475
  # Optional. The overall title of the list.
475
476
  # @!attribute [rw] items
476
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent::Message::ListSelect::Item>]
477
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::ListSelect::Item>]
477
478
  # Required. List items.
478
479
  # @!attribute [rw] subtitle
479
- # @return [String]
480
+ # @return [::String]
480
481
  # Optional. Subtitle of the list.
481
482
  class ListSelect
482
- include Google::Protobuf::MessageExts
483
- extend Google::Protobuf::MessageExts::ClassMethods
483
+ include ::Google::Protobuf::MessageExts
484
+ extend ::Google::Protobuf::MessageExts::ClassMethods
484
485
 
485
486
  # An item in the list.
486
487
  # @!attribute [rw] info
487
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::SelectItemInfo]
488
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::SelectItemInfo]
488
489
  # Required. Additional information about this option.
489
490
  # @!attribute [rw] title
490
- # @return [String]
491
+ # @return [::String]
491
492
  # Required. The title of the list item.
492
493
  # @!attribute [rw] description
493
- # @return [String]
494
+ # @return [::String]
494
495
  # Optional. The main text describing the item.
495
496
  # @!attribute [rw] image
496
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::Image]
497
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Image]
497
498
  # Optional. The image to display.
498
499
  class Item
499
- include Google::Protobuf::MessageExts
500
- extend Google::Protobuf::MessageExts::ClassMethods
500
+ include ::Google::Protobuf::MessageExts
501
+ extend ::Google::Protobuf::MessageExts::ClassMethods
501
502
  end
502
503
  end
503
504
 
504
505
  # The card for presenting a carousel of options to select from.
505
506
  # @!attribute [rw] items
506
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent::Message::CarouselSelect::Item>]
507
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::CarouselSelect::Item>]
507
508
  # Required. Carousel items.
508
509
  class CarouselSelect
509
- include Google::Protobuf::MessageExts
510
- extend Google::Protobuf::MessageExts::ClassMethods
510
+ include ::Google::Protobuf::MessageExts
511
+ extend ::Google::Protobuf::MessageExts::ClassMethods
511
512
 
512
513
  # An item in the carousel.
513
514
  # @!attribute [rw] info
514
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::SelectItemInfo]
515
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::SelectItemInfo]
515
516
  # Required. Additional info about the option item.
516
517
  # @!attribute [rw] title
517
- # @return [String]
518
+ # @return [::String]
518
519
  # Required. Title of the carousel item.
519
520
  # @!attribute [rw] description
520
- # @return [String]
521
+ # @return [::String]
521
522
  # Optional. The body text of the card.
522
523
  # @!attribute [rw] image
523
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::Image]
524
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Image]
524
525
  # Optional. The image to display.
525
526
  class Item
526
- include Google::Protobuf::MessageExts
527
- extend Google::Protobuf::MessageExts::ClassMethods
527
+ include ::Google::Protobuf::MessageExts
528
+ extend ::Google::Protobuf::MessageExts::ClassMethods
528
529
  end
529
530
  end
530
531
 
531
532
  # Additional info about the select item for when it is triggered in a
532
533
  # dialog.
533
534
  # @!attribute [rw] key
534
- # @return [String]
535
+ # @return [::String]
535
536
  # Required. A unique key that will be sent back to the agent if this
536
537
  # response is given.
537
538
  # @!attribute [rw] synonyms
538
- # @return [Array<String>]
539
+ # @return [::Array<::String>]
539
540
  # Optional. A list of synonyms that can also be used to trigger this
540
541
  # item in dialog.
541
542
  class SelectItemInfo
542
- include Google::Protobuf::MessageExts
543
- extend Google::Protobuf::MessageExts::ClassMethods
543
+ include ::Google::Protobuf::MessageExts
544
+ extend ::Google::Protobuf::MessageExts::ClassMethods
544
545
  end
545
546
 
546
547
  # The media content card for Actions on Google.
547
548
  # @!attribute [rw] media_type
548
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent::ResponseMediaType]
549
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent::ResponseMediaType]
549
550
  # Optional. What type of media is the content (ie "audio").
550
551
  # @!attribute [rw] media_objects
551
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent::ResponseMediaObject>]
552
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent::ResponseMediaObject>]
552
553
  # Required. List of media objects.
553
554
  class MediaContent
554
- include Google::Protobuf::MessageExts
555
- extend Google::Protobuf::MessageExts::ClassMethods
555
+ include ::Google::Protobuf::MessageExts
556
+ extend ::Google::Protobuf::MessageExts::ClassMethods
556
557
 
557
558
  # Response media object for media content card.
558
559
  # @!attribute [rw] name
559
- # @return [String]
560
+ # @return [::String]
560
561
  # Required. Name of media card.
561
562
  # @!attribute [rw] description
562
- # @return [String]
563
+ # @return [::String]
563
564
  # Optional. Description of media card.
564
565
  # @!attribute [rw] large_image
565
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::Image]
566
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Image]
566
567
  # Optional. Image to display above media content.
567
568
  # @!attribute [rw] icon
568
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::Image]
569
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Image]
569
570
  # Optional. Icon to display above media content.
570
571
  # @!attribute [rw] content_url
571
- # @return [String]
572
+ # @return [::String]
572
573
  # Required. Url where the media is stored.
573
574
  class ResponseMediaObject
574
- include Google::Protobuf::MessageExts
575
- extend Google::Protobuf::MessageExts::ClassMethods
575
+ include ::Google::Protobuf::MessageExts
576
+ extend ::Google::Protobuf::MessageExts::ClassMethods
576
577
  end
577
578
 
578
579
  # Format of response media type.
@@ -588,50 +589,50 @@ module Google
588
589
  # Browse Carousel Card for Actions on Google.
589
590
  # https://developers.google.com/actions/assistant/responses#browsing_carousel
590
591
  # @!attribute [rw] items
591
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem>]
592
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem>]
592
593
  # Required. List of items in the Browse Carousel Card. Minimum of two
593
594
  # items, maximum of ten.
594
595
  # @!attribute [rw] image_display_options
595
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::ImageDisplayOptions]
596
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::ImageDisplayOptions]
596
597
  # Optional. Settings for displaying the image. Applies to every image in
597
- # {Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard#items items}.
598
+ # {::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard#items items}.
598
599
  class BrowseCarouselCard
599
- include Google::Protobuf::MessageExts
600
- extend Google::Protobuf::MessageExts::ClassMethods
600
+ include ::Google::Protobuf::MessageExts
601
+ extend ::Google::Protobuf::MessageExts::ClassMethods
601
602
 
602
603
  # Browsing carousel tile
603
604
  # @!attribute [rw] open_uri_action
604
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction]
605
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction]
605
606
  # Required. Action to present to the user.
606
607
  # @!attribute [rw] title
607
- # @return [String]
608
+ # @return [::String]
608
609
  # Required. Title of the carousel item. Maximum of two lines of text.
609
610
  # @!attribute [rw] description
610
- # @return [String]
611
+ # @return [::String]
611
612
  # Optional. Description of the carousel item. Maximum of four lines of
612
613
  # text.
613
614
  # @!attribute [rw] image
614
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::Image]
615
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Image]
615
616
  # Optional. Hero image for the carousel item.
616
617
  # @!attribute [rw] footer
617
- # @return [String]
618
+ # @return [::String]
618
619
  # Optional. Text that appears at the bottom of the Browse Carousel
619
620
  # Card. Maximum of one line of text.
620
621
  class BrowseCarouselCardItem
621
- include Google::Protobuf::MessageExts
622
- extend Google::Protobuf::MessageExts::ClassMethods
622
+ include ::Google::Protobuf::MessageExts
623
+ extend ::Google::Protobuf::MessageExts::ClassMethods
623
624
 
624
625
  # Actions on Google action to open a given url.
625
626
  # @!attribute [rw] url
626
- # @return [String]
627
+ # @return [::String]
627
628
  # Required. URL
628
629
  # @!attribute [rw] url_type_hint
629
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction::UrlTypeHint]
630
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction::UrlTypeHint]
630
631
  # Optional. Specifies the type of viewer that is used when opening
631
632
  # the URL. Defaults to opening via web browser.
632
633
  class OpenUrlAction
633
- include Google::Protobuf::MessageExts
634
- extend Google::Protobuf::MessageExts::ClassMethods
634
+ include ::Google::Protobuf::MessageExts
635
+ extend ::Google::Protobuf::MessageExts::ClassMethods
635
636
 
636
637
  # Type of the URI.
637
638
  module UrlTypeHint
@@ -680,38 +681,38 @@ module Google
680
681
 
681
682
  # Table card for Actions on Google.
682
683
  # @!attribute [rw] title
683
- # @return [String]
684
+ # @return [::String]
684
685
  # Required. Title of the card.
685
686
  # @!attribute [rw] subtitle
686
- # @return [String]
687
+ # @return [::String]
687
688
  # Optional. Subtitle to the title.
688
689
  # @!attribute [rw] image
689
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::Image]
690
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Image]
690
691
  # Optional. Image which should be displayed on the card.
691
692
  # @!attribute [rw] column_properties
692
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent::Message::ColumnProperties>]
693
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::ColumnProperties>]
693
694
  # Optional. Display properties for the columns in this table.
694
695
  # @!attribute [rw] rows
695
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent::Message::TableCardRow>]
696
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::TableCardRow>]
696
697
  # Optional. Rows in this table of data.
697
698
  # @!attribute [rw] buttons
698
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard::Button>]
699
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard::Button>]
699
700
  # Optional. List of buttons for the card.
700
701
  class TableCard
701
- include Google::Protobuf::MessageExts
702
- extend Google::Protobuf::MessageExts::ClassMethods
702
+ include ::Google::Protobuf::MessageExts
703
+ extend ::Google::Protobuf::MessageExts::ClassMethods
703
704
  end
704
705
 
705
- # Column properties for {Google::Cloud::Dialogflow::V2::Intent::Message::TableCard TableCard}.
706
+ # Column properties for {::Google::Cloud::Dialogflow::V2::Intent::Message::TableCard TableCard}.
706
707
  # @!attribute [rw] header
707
- # @return [String]
708
+ # @return [::String]
708
709
  # Required. Column heading.
709
710
  # @!attribute [rw] horizontal_alignment
710
- # @return [Google::Cloud::Dialogflow::V2::Intent::Message::ColumnProperties::HorizontalAlignment]
711
+ # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::ColumnProperties::HorizontalAlignment]
711
712
  # Optional. Defines text alignment for all cells in this column.
712
713
  class ColumnProperties
713
- include Google::Protobuf::MessageExts
714
- extend Google::Protobuf::MessageExts::ClassMethods
714
+ include ::Google::Protobuf::MessageExts
715
+ extend ::Google::Protobuf::MessageExts::ClassMethods
715
716
 
716
717
  # Text alignments within a cell.
717
718
  module HorizontalAlignment
@@ -729,25 +730,25 @@ module Google
729
730
  end
730
731
  end
731
732
 
732
- # Row of {Google::Cloud::Dialogflow::V2::Intent::Message::TableCard TableCard}.
733
+ # Row of {::Google::Cloud::Dialogflow::V2::Intent::Message::TableCard TableCard}.
733
734
  # @!attribute [rw] cells
734
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent::Message::TableCardCell>]
735
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::TableCardCell>]
735
736
  # Optional. List of cells that make up this row.
736
737
  # @!attribute [rw] divider_after
737
- # @return [Boolean]
738
+ # @return [::Boolean]
738
739
  # Optional. Whether to add a visual divider after this row.
739
740
  class TableCardRow
740
- include Google::Protobuf::MessageExts
741
- extend Google::Protobuf::MessageExts::ClassMethods
741
+ include ::Google::Protobuf::MessageExts
742
+ extend ::Google::Protobuf::MessageExts::ClassMethods
742
743
  end
743
744
 
744
- # Cell of {Google::Cloud::Dialogflow::V2::Intent::Message::TableCardRow TableCardRow}.
745
+ # Cell of {::Google::Cloud::Dialogflow::V2::Intent::Message::TableCardRow TableCardRow}.
745
746
  # @!attribute [rw] text
746
- # @return [String]
747
+ # @return [::String]
747
748
  # Required. Text in this cell.
748
749
  class TableCardCell
749
- include Google::Protobuf::MessageExts
750
- extend Google::Protobuf::MessageExts::ClassMethods
750
+ include ::Google::Protobuf::MessageExts
751
+ extend ::Google::Protobuf::MessageExts::ClassMethods
751
752
  end
752
753
 
753
754
  # The rich response message integration platform. See
@@ -789,16 +790,16 @@ module Google
789
790
 
790
791
  # Represents a single followup intent in the chain.
791
792
  # @!attribute [rw] followup_intent_name
792
- # @return [String]
793
+ # @return [::String]
793
794
  # The unique identifier of the followup intent.
794
795
  # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
795
796
  # @!attribute [rw] parent_followup_intent_name
796
- # @return [String]
797
+ # @return [::String]
797
798
  # The unique identifier of the followup intent's parent.
798
799
  # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
799
800
  class FollowupIntentInfo
800
- include Google::Protobuf::MessageExts
801
- extend Google::Protobuf::MessageExts::ClassMethods
801
+ include ::Google::Protobuf::MessageExts
802
+ extend ::Google::Protobuf::MessageExts::ClassMethods
802
803
  end
803
804
 
804
805
  # Represents the different states that webhooks can be in.
@@ -815,183 +816,183 @@ module Google
815
816
  end
816
817
  end
817
818
 
818
- # The request message for {Google::Cloud::Dialogflow::V2::Intents::Client#list_intents Intents.ListIntents}.
819
+ # The request message for {::Google::Cloud::Dialogflow::V2::Intents::Client#list_intents Intents.ListIntents}.
819
820
  # @!attribute [rw] parent
820
- # @return [String]
821
+ # @return [::String]
821
822
  # Required. The agent to list all intents from.
822
823
  # Format: `projects/<Project ID>/agent`.
823
824
  # @!attribute [rw] language_code
824
- # @return [String]
825
+ # @return [::String]
825
826
  # Optional. The language used to access language-specific data.
826
827
  # If not specified, the agent's default language is used.
827
828
  # For more information, see
828
829
  # [Multilingual intent and entity
829
830
  # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
830
831
  # @!attribute [rw] intent_view
831
- # @return [Google::Cloud::Dialogflow::V2::IntentView]
832
+ # @return [::Google::Cloud::Dialogflow::V2::IntentView]
832
833
  # Optional. The resource view to apply to the returned intent.
833
834
  # @!attribute [rw] page_size
834
- # @return [Integer]
835
+ # @return [::Integer]
835
836
  # Optional. The maximum number of items to return in a single page. By
836
837
  # default 100 and at most 1000.
837
838
  # @!attribute [rw] page_token
838
- # @return [String]
839
+ # @return [::String]
839
840
  # Optional. The next_page_token value returned from a previous list request.
840
841
  class ListIntentsRequest
841
- include Google::Protobuf::MessageExts
842
- extend Google::Protobuf::MessageExts::ClassMethods
842
+ include ::Google::Protobuf::MessageExts
843
+ extend ::Google::Protobuf::MessageExts::ClassMethods
843
844
  end
844
845
 
845
- # The response message for {Google::Cloud::Dialogflow::V2::Intents::Client#list_intents Intents.ListIntents}.
846
+ # The response message for {::Google::Cloud::Dialogflow::V2::Intents::Client#list_intents Intents.ListIntents}.
846
847
  # @!attribute [rw] intents
847
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent>]
848
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent>]
848
849
  # The list of agent intents. There will be a maximum number of items
849
850
  # returned based on the page_size field in the request.
850
851
  # @!attribute [rw] next_page_token
851
- # @return [String]
852
+ # @return [::String]
852
853
  # Token to retrieve the next page of results, or empty if there are no
853
854
  # more results in the list.
854
855
  class ListIntentsResponse
855
- include Google::Protobuf::MessageExts
856
- extend Google::Protobuf::MessageExts::ClassMethods
856
+ include ::Google::Protobuf::MessageExts
857
+ extend ::Google::Protobuf::MessageExts::ClassMethods
857
858
  end
858
859
 
859
- # The request message for {Google::Cloud::Dialogflow::V2::Intents::Client#get_intent Intents.GetIntent}.
860
+ # The request message for {::Google::Cloud::Dialogflow::V2::Intents::Client#get_intent Intents.GetIntent}.
860
861
  # @!attribute [rw] name
861
- # @return [String]
862
+ # @return [::String]
862
863
  # Required. The name of the intent.
863
864
  # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
864
865
  # @!attribute [rw] language_code
865
- # @return [String]
866
+ # @return [::String]
866
867
  # Optional. The language used to access language-specific data.
867
868
  # If not specified, the agent's default language is used.
868
869
  # For more information, see
869
870
  # [Multilingual intent and entity
870
871
  # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
871
872
  # @!attribute [rw] intent_view
872
- # @return [Google::Cloud::Dialogflow::V2::IntentView]
873
+ # @return [::Google::Cloud::Dialogflow::V2::IntentView]
873
874
  # Optional. The resource view to apply to the returned intent.
874
875
  class GetIntentRequest
875
- include Google::Protobuf::MessageExts
876
- extend Google::Protobuf::MessageExts::ClassMethods
876
+ include ::Google::Protobuf::MessageExts
877
+ extend ::Google::Protobuf::MessageExts::ClassMethods
877
878
  end
878
879
 
879
- # The request message for {Google::Cloud::Dialogflow::V2::Intents::Client#create_intent Intents.CreateIntent}.
880
+ # The request message for {::Google::Cloud::Dialogflow::V2::Intents::Client#create_intent Intents.CreateIntent}.
880
881
  # @!attribute [rw] parent
881
- # @return [String]
882
+ # @return [::String]
882
883
  # Required. The agent to create a intent for.
883
884
  # Format: `projects/<Project ID>/agent`.
884
885
  # @!attribute [rw] intent
885
- # @return [Google::Cloud::Dialogflow::V2::Intent]
886
+ # @return [::Google::Cloud::Dialogflow::V2::Intent]
886
887
  # Required. The intent to create.
887
888
  # @!attribute [rw] language_code
888
- # @return [String]
889
+ # @return [::String]
889
890
  # Optional. The language used to access language-specific data.
890
891
  # If not specified, the agent's default language is used.
891
892
  # For more information, see
892
893
  # [Multilingual intent and entity
893
894
  # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
894
895
  # @!attribute [rw] intent_view
895
- # @return [Google::Cloud::Dialogflow::V2::IntentView]
896
+ # @return [::Google::Cloud::Dialogflow::V2::IntentView]
896
897
  # Optional. The resource view to apply to the returned intent.
897
898
  class CreateIntentRequest
898
- include Google::Protobuf::MessageExts
899
- extend Google::Protobuf::MessageExts::ClassMethods
899
+ include ::Google::Protobuf::MessageExts
900
+ extend ::Google::Protobuf::MessageExts::ClassMethods
900
901
  end
901
902
 
902
- # The request message for {Google::Cloud::Dialogflow::V2::Intents::Client#update_intent Intents.UpdateIntent}.
903
+ # The request message for {::Google::Cloud::Dialogflow::V2::Intents::Client#update_intent Intents.UpdateIntent}.
903
904
  # @!attribute [rw] intent
904
- # @return [Google::Cloud::Dialogflow::V2::Intent]
905
+ # @return [::Google::Cloud::Dialogflow::V2::Intent]
905
906
  # Required. The intent to update.
906
907
  # @!attribute [rw] language_code
907
- # @return [String]
908
+ # @return [::String]
908
909
  # Optional. The language used to access language-specific data.
909
910
  # If not specified, the agent's default language is used.
910
911
  # For more information, see
911
912
  # [Multilingual intent and entity
912
913
  # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
913
914
  # @!attribute [rw] update_mask
914
- # @return [Google::Protobuf::FieldMask]
915
+ # @return [::Google::Protobuf::FieldMask]
915
916
  # Optional. The mask to control which fields get updated.
916
917
  # @!attribute [rw] intent_view
917
- # @return [Google::Cloud::Dialogflow::V2::IntentView]
918
+ # @return [::Google::Cloud::Dialogflow::V2::IntentView]
918
919
  # Optional. The resource view to apply to the returned intent.
919
920
  class UpdateIntentRequest
920
- include Google::Protobuf::MessageExts
921
- extend Google::Protobuf::MessageExts::ClassMethods
921
+ include ::Google::Protobuf::MessageExts
922
+ extend ::Google::Protobuf::MessageExts::ClassMethods
922
923
  end
923
924
 
924
- # The request message for {Google::Cloud::Dialogflow::V2::Intents::Client#delete_intent Intents.DeleteIntent}.
925
+ # The request message for {::Google::Cloud::Dialogflow::V2::Intents::Client#delete_intent Intents.DeleteIntent}.
925
926
  # @!attribute [rw] name
926
- # @return [String]
927
+ # @return [::String]
927
928
  # Required. The name of the intent to delete. If this intent has direct or
928
929
  # indirect followup intents, we also delete them.
929
930
  # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
930
931
  class DeleteIntentRequest
931
- include Google::Protobuf::MessageExts
932
- extend Google::Protobuf::MessageExts::ClassMethods
932
+ include ::Google::Protobuf::MessageExts
933
+ extend ::Google::Protobuf::MessageExts::ClassMethods
933
934
  end
934
935
 
935
936
  # @!attribute [rw] parent
936
- # @return [String]
937
+ # @return [::String]
937
938
  # Required. The name of the agent to update or create intents in.
938
939
  # Format: `projects/<Project ID>/agent`.
939
940
  # @!attribute [rw] intent_batch_uri
940
- # @return [String]
941
+ # @return [::String]
941
942
  # The URI to a Google Cloud Storage file containing intents to update or
942
943
  # create. The file format can either be a serialized proto (of IntentBatch
943
944
  # type) or JSON object. Note: The URI must start with "gs://".
944
945
  # @!attribute [rw] intent_batch_inline
945
- # @return [Google::Cloud::Dialogflow::V2::IntentBatch]
946
+ # @return [::Google::Cloud::Dialogflow::V2::IntentBatch]
946
947
  # The collection of intents to update or create.
947
948
  # @!attribute [rw] language_code
948
- # @return [String]
949
+ # @return [::String]
949
950
  # Optional. The language used to access language-specific data.
950
951
  # If not specified, the agent's default language is used.
951
952
  # For more information, see
952
953
  # [Multilingual intent and entity
953
954
  # data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
954
955
  # @!attribute [rw] update_mask
955
- # @return [Google::Protobuf::FieldMask]
956
+ # @return [::Google::Protobuf::FieldMask]
956
957
  # Optional. The mask to control which fields get updated.
957
958
  # @!attribute [rw] intent_view
958
- # @return [Google::Cloud::Dialogflow::V2::IntentView]
959
+ # @return [::Google::Cloud::Dialogflow::V2::IntentView]
959
960
  # Optional. The resource view to apply to the returned intent.
960
961
  class BatchUpdateIntentsRequest
961
- include Google::Protobuf::MessageExts
962
- extend Google::Protobuf::MessageExts::ClassMethods
962
+ include ::Google::Protobuf::MessageExts
963
+ extend ::Google::Protobuf::MessageExts::ClassMethods
963
964
  end
964
965
 
965
- # The response message for {Google::Cloud::Dialogflow::V2::Intents::Client#batch_update_intents Intents.BatchUpdateIntents}.
966
+ # The response message for {::Google::Cloud::Dialogflow::V2::Intents::Client#batch_update_intents Intents.BatchUpdateIntents}.
966
967
  # @!attribute [rw] intents
967
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent>]
968
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent>]
968
969
  # The collection of updated or created intents.
969
970
  class BatchUpdateIntentsResponse
970
- include Google::Protobuf::MessageExts
971
- extend Google::Protobuf::MessageExts::ClassMethods
971
+ include ::Google::Protobuf::MessageExts
972
+ extend ::Google::Protobuf::MessageExts::ClassMethods
972
973
  end
973
974
 
974
- # The request message for {Google::Cloud::Dialogflow::V2::Intents::Client#batch_delete_intents Intents.BatchDeleteIntents}.
975
+ # The request message for {::Google::Cloud::Dialogflow::V2::Intents::Client#batch_delete_intents Intents.BatchDeleteIntents}.
975
976
  # @!attribute [rw] parent
976
- # @return [String]
977
+ # @return [::String]
977
978
  # Required. The name of the agent to delete all entities types for. Format:
978
979
  # `projects/<Project ID>/agent`.
979
980
  # @!attribute [rw] intents
980
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent>]
981
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent>]
981
982
  # Required. The collection of intents to delete. Only intent `name` must be
982
983
  # filled in.
983
984
  class BatchDeleteIntentsRequest
984
- include Google::Protobuf::MessageExts
985
- extend Google::Protobuf::MessageExts::ClassMethods
985
+ include ::Google::Protobuf::MessageExts
986
+ extend ::Google::Protobuf::MessageExts::ClassMethods
986
987
  end
987
988
 
988
989
  # This message is a wrapper around a collection of intents.
989
990
  # @!attribute [rw] intents
990
- # @return [Array<Google::Cloud::Dialogflow::V2::Intent>]
991
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::Intent>]
991
992
  # A collection of intents.
992
993
  class IntentBatch
993
- include Google::Protobuf::MessageExts
994
- extend Google::Protobuf::MessageExts::ClassMethods
994
+ include ::Google::Protobuf::MessageExts
995
+ extend ::Google::Protobuf::MessageExts::ClassMethods
995
996
  end
996
997
 
997
998
  # Represents the options for views of an intent.