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