google-cloud-dialogflow-v2 0.20.0 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/dialogflow/v2/agent_services_pb.rb +12 -8
- data/lib/google/cloud/dialogflow/v2/agents/client.rb +16 -12
- data/lib/google/cloud/dialogflow/v2/agents.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/answer_record_pb.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/answer_record_services_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/answer_records.rb +3 -2
- data/lib/google/cloud/dialogflow/v2/contexts.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversation_dataset_services_pb.rb +10 -5
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/client.rb +12 -7
- data/lib/google/cloud/dialogflow/v2/conversation_datasets.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversation_model_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/conversation_model_services_pb.rb +10 -5
- data/lib/google/cloud/dialogflow/v2/conversation_models/client.rb +10 -5
- data/lib/google/cloud/dialogflow/v2/conversation_models.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversation_pb.rb +18 -0
- data/lib/google/cloud/dialogflow/v2/conversation_profile_services_pb.rb +14 -7
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +14 -7
- data/lib/google/cloud/dialogflow/v2/conversation_profiles.rb +3 -2
- data/lib/google/cloud/dialogflow/v2/conversation_services_pb.rb +14 -6
- data/lib/google/cloud/dialogflow/v2/conversations/client.rb +119 -8
- data/lib/google/cloud/dialogflow/v2/conversations/paths.rb +45 -0
- data/lib/google/cloud/dialogflow/v2/conversations.rb +3 -2
- data/lib/google/cloud/dialogflow/v2/document_services_pb.rb +16 -8
- data/lib/google/cloud/dialogflow/v2/documents/client.rb +20 -12
- data/lib/google/cloud/dialogflow/v2/documents.rb +3 -2
- data/lib/google/cloud/dialogflow/v2/entity_type_services_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/entity_types.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/environments/client.rb +4 -4
- data/lib/google/cloud/dialogflow/v2/environments.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/fulfillments.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/intent_services_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/intents/client.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/intents.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/knowledge_base_services_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/knowledge_bases.rb +3 -2
- data/lib/google/cloud/dialogflow/v2/participants/client.rb +3 -2
- data/lib/google/cloud/dialogflow/v2/participants.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/session_entity_type_services_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/session_entity_types.rb +3 -2
- data/lib/google/cloud/dialogflow/v2/sessions/client.rb +8 -6
- data/lib/google/cloud/dialogflow/v2/sessions.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/versions/client.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/versions.rb +1 -1
- data/lib/google/cloud/dialogflow/v2.rb +2 -2
- data/proto_docs/google/cloud/dialogflow/v2/agent.rb +26 -15
- data/proto_docs/google/cloud/dialogflow/v2/answer_record.rb +34 -9
- data/proto_docs/google/cloud/dialogflow/v2/audio_config.rb +28 -18
- data/proto_docs/google/cloud/dialogflow/v2/context.rb +14 -7
- data/proto_docs/google/cloud/dialogflow/v2/conversation.rb +99 -14
- data/proto_docs/google/cloud/dialogflow/v2/conversation_dataset.rb +15 -10
- data/proto_docs/google/cloud/dialogflow/v2/conversation_model.rb +41 -14
- data/proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb +28 -15
- data/proto_docs/google/cloud/dialogflow/v2/document.rb +26 -15
- data/proto_docs/google/cloud/dialogflow/v2/entity_type.rb +30 -15
- data/proto_docs/google/cloud/dialogflow/v2/environment.rb +37 -29
- data/proto_docs/google/cloud/dialogflow/v2/fulfillment.rb +12 -7
- data/proto_docs/google/cloud/dialogflow/v2/intent.rb +33 -17
- data/proto_docs/google/cloud/dialogflow/v2/knowledge_base.rb +12 -6
- data/proto_docs/google/cloud/dialogflow/v2/participant.rb +105 -59
- data/proto_docs/google/cloud/dialogflow/v2/session.rb +60 -45
- data/proto_docs/google/cloud/dialogflow/v2/session_entity_type.rb +15 -8
- data/proto_docs/google/cloud/dialogflow/v2/version.rb +20 -14
- data/proto_docs/google/cloud/dialogflow/v2/webhook.rb +20 -13
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +5 -5
@@ -52,16 +52,16 @@ module Google
|
|
52
52
|
# Optional. The developer-provided description of this version.
|
53
53
|
# @!attribute [r] version_number
|
54
54
|
# @return [::Integer]
|
55
|
-
# Output only. The sequential number of this version. This field is read-only
|
56
|
-
# it cannot be set by create and update methods.
|
55
|
+
# Output only. The sequential number of this version. This field is read-only
|
56
|
+
# which means it cannot be set by create and update methods.
|
57
57
|
# @!attribute [r] create_time
|
58
58
|
# @return [::Google::Protobuf::Timestamp]
|
59
|
-
# Output only. The creation time of this version. This field is read-only,
|
60
|
-
# be set by create and update methods.
|
59
|
+
# Output only. The creation time of this version. This field is read-only,
|
60
|
+
# i.e., it cannot be set by create and update methods.
|
61
61
|
# @!attribute [r] status
|
62
62
|
# @return [::Google::Cloud::Dialogflow::V2::Version::VersionStatus]
|
63
|
-
# Output only. The status of this version. This field is read-only and cannot
|
64
|
-
# create and update methods.
|
63
|
+
# Output only. The status of this version. This field is read-only and cannot
|
64
|
+
# be set by create and update methods.
|
65
65
|
class Version
|
66
66
|
include ::Google::Protobuf::MessageExts
|
67
67
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -82,7 +82,8 @@ module Google
|
|
82
82
|
end
|
83
83
|
end
|
84
84
|
|
85
|
-
# The request message for
|
85
|
+
# The request message for
|
86
|
+
# {::Google::Cloud::Dialogflow::V2::Versions::Client#list_versions Versions.ListVersions}.
|
86
87
|
# @!attribute [rw] parent
|
87
88
|
# @return [::String]
|
88
89
|
# Required. The agent to list all versions from.
|
@@ -92,8 +93,8 @@ module Google
|
|
92
93
|
# - `projects/<Project ID>/locations/<Location ID>/agent`
|
93
94
|
# @!attribute [rw] page_size
|
94
95
|
# @return [::Integer]
|
95
|
-
# Optional. The maximum number of items to return in a single page. By
|
96
|
-
# at most 1000.
|
96
|
+
# Optional. The maximum number of items to return in a single page. By
|
97
|
+
# default 100 and at most 1000.
|
97
98
|
# @!attribute [rw] page_token
|
98
99
|
# @return [::String]
|
99
100
|
# Optional. The next_page_token value returned from a previous list request.
|
@@ -102,7 +103,8 @@ module Google
|
|
102
103
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
103
104
|
end
|
104
105
|
|
105
|
-
# The response message for
|
106
|
+
# The response message for
|
107
|
+
# {::Google::Cloud::Dialogflow::V2::Versions::Client#list_versions Versions.ListVersions}.
|
106
108
|
# @!attribute [rw] versions
|
107
109
|
# @return [::Array<::Google::Cloud::Dialogflow::V2::Version>]
|
108
110
|
# The list of agent versions. There will be a maximum number of items
|
@@ -116,7 +118,8 @@ module Google
|
|
116
118
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
117
119
|
end
|
118
120
|
|
119
|
-
# The request message for
|
121
|
+
# The request message for
|
122
|
+
# {::Google::Cloud::Dialogflow::V2::Versions::Client#get_version Versions.GetVersion}.
|
120
123
|
# @!attribute [rw] name
|
121
124
|
# @return [::String]
|
122
125
|
# Required. The name of the version.
|
@@ -130,7 +133,8 @@ module Google
|
|
130
133
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
131
134
|
end
|
132
135
|
|
133
|
-
# The request message for
|
136
|
+
# The request message for
|
137
|
+
# {::Google::Cloud::Dialogflow::V2::Versions::Client#create_version Versions.CreateVersion}.
|
134
138
|
# @!attribute [rw] parent
|
135
139
|
# @return [::String]
|
136
140
|
# Required. The agent to create a version for.
|
@@ -146,7 +150,8 @@ module Google
|
|
146
150
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
147
151
|
end
|
148
152
|
|
149
|
-
# The request message for
|
153
|
+
# The request message for
|
154
|
+
# {::Google::Cloud::Dialogflow::V2::Versions::Client#update_version Versions.UpdateVersion}.
|
150
155
|
# @!attribute [rw] version
|
151
156
|
# @return [::Google::Cloud::Dialogflow::V2::Version]
|
152
157
|
# Required. The version to update.
|
@@ -163,7 +168,8 @@ module Google
|
|
163
168
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
164
169
|
end
|
165
170
|
|
166
|
-
# The request message for
|
171
|
+
# The request message for
|
172
|
+
# {::Google::Cloud::Dialogflow::V2::Versions::Client#delete_version Versions.DeleteVersion}.
|
167
173
|
# @!attribute [rw] name
|
168
174
|
# @return [::String]
|
169
175
|
# Required. The name of the version to delete.
|
@@ -49,9 +49,10 @@ module Google
|
|
49
49
|
# The response message for a webhook call.
|
50
50
|
#
|
51
51
|
# This response is validated by the Dialogflow server. If validation fails,
|
52
|
-
# an error will be returned in the
|
53
|
-
#
|
54
|
-
#
|
52
|
+
# an error will be returned in the
|
53
|
+
# {::Google::Cloud::Dialogflow::V2::QueryResult#diagnostic_info QueryResult.diagnostic_info}
|
54
|
+
# field. Setting JSON fields to an empty value with the wrong type is a common
|
55
|
+
# error. To avoid this error:
|
55
56
|
#
|
56
57
|
# - Use `""` for empty strings
|
57
58
|
# - Use `{}` or `null` for empty objects
|
@@ -65,25 +66,28 @@ module Google
|
|
65
66
|
# Optional. The text response message intended for the end-user.
|
66
67
|
# It is recommended to use `fulfillment_messages.text.text[0]` instead.
|
67
68
|
# When provided, Dialogflow uses this field to populate
|
68
|
-
# {::Google::Cloud::Dialogflow::V2::QueryResult#fulfillment_text QueryResult.fulfillment_text}
|
69
|
+
# {::Google::Cloud::Dialogflow::V2::QueryResult#fulfillment_text QueryResult.fulfillment_text}
|
70
|
+
# sent to the integration or API caller.
|
69
71
|
# @!attribute [rw] fulfillment_messages
|
70
72
|
# @return [::Array<::Google::Cloud::Dialogflow::V2::Intent::Message>]
|
71
73
|
# Optional. The rich response messages intended for the end-user.
|
72
74
|
# When provided, Dialogflow uses this field to populate
|
73
|
-
# {::Google::Cloud::Dialogflow::V2::QueryResult#fulfillment_messages QueryResult.fulfillment_messages}
|
75
|
+
# {::Google::Cloud::Dialogflow::V2::QueryResult#fulfillment_messages QueryResult.fulfillment_messages}
|
76
|
+
# sent to the integration or API caller.
|
74
77
|
# @!attribute [rw] source
|
75
78
|
# @return [::String]
|
76
79
|
# Optional. A custom field used to identify the webhook source.
|
77
80
|
# Arbitrary strings are supported.
|
78
81
|
# When provided, Dialogflow uses this field to populate
|
79
|
-
# {::Google::Cloud::Dialogflow::V2::QueryResult#webhook_source QueryResult.webhook_source}
|
82
|
+
# {::Google::Cloud::Dialogflow::V2::QueryResult#webhook_source QueryResult.webhook_source}
|
83
|
+
# sent to the integration or API caller.
|
80
84
|
# @!attribute [rw] payload
|
81
85
|
# @return [::Google::Protobuf::Struct]
|
82
|
-
# Optional. This field can be used to pass custom data from your webhook to
|
83
|
-
# integration or API caller. Arbitrary JSON objects are supported.
|
84
|
-
#
|
85
|
-
# {::Google::Cloud::Dialogflow::V2::QueryResult#webhook_payload QueryResult.webhook_payload}
|
86
|
-
# This field is also used by the
|
86
|
+
# Optional. This field can be used to pass custom data from your webhook to
|
87
|
+
# the integration or API caller. Arbitrary JSON objects are supported. When
|
88
|
+
# provided, Dialogflow uses this field to populate
|
89
|
+
# {::Google::Cloud::Dialogflow::V2::QueryResult#webhook_payload QueryResult.webhook_payload}
|
90
|
+
# sent to the integration or API caller. This field is also used by the
|
87
91
|
# [Google Assistant
|
88
92
|
# integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
|
89
93
|
# for rich response messages.
|
@@ -94,7 +98,8 @@ module Google
|
|
94
98
|
# Optional. The collection of output contexts that will overwrite currently
|
95
99
|
# active contexts for the session and reset their lifespans.
|
96
100
|
# When provided, Dialogflow uses this field to populate
|
97
|
-
# {::Google::Cloud::Dialogflow::V2::QueryResult#output_contexts QueryResult.output_contexts}
|
101
|
+
# {::Google::Cloud::Dialogflow::V2::QueryResult#output_contexts QueryResult.output_contexts}
|
102
|
+
# sent to the integration or API caller.
|
98
103
|
# @!attribute [rw] followup_event_input
|
99
104
|
# @return [::Google::Cloud::Dialogflow::V2::EventInput]
|
100
105
|
# Optional. Invokes the supplied events.
|
@@ -106,7 +111,9 @@ module Google
|
|
106
111
|
# entity types with. The entity synonyms apply to all languages and persist
|
107
112
|
# for the session. Setting this data from a webhook overwrites
|
108
113
|
# the session entity types that have been set using `detectIntent`,
|
109
|
-
# `streamingDetectIntent` or
|
114
|
+
# `streamingDetectIntent` or
|
115
|
+
# {::Google::Cloud::Dialogflow::V2::SessionEntityType SessionEntityType}
|
116
|
+
# management methods.
|
110
117
|
class WebhookResponse
|
111
118
|
include ::Google::Protobuf::MessageExts
|
112
119
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -28,12 +28,14 @@ module Google
|
|
28
28
|
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
29
29
|
# @!attribute [rw] code
|
30
30
|
# @return [::Integer]
|
31
|
-
# The status code, which should be an enum value of
|
31
|
+
# The status code, which should be an enum value of
|
32
|
+
# [google.rpc.Code][google.rpc.Code].
|
32
33
|
# @!attribute [rw] message
|
33
34
|
# @return [::String]
|
34
35
|
# A developer-facing error message, which should be in English. Any
|
35
36
|
# user-facing error message should be localized and sent in the
|
36
|
-
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
37
|
+
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
38
|
+
# by the client.
|
37
39
|
# @!attribute [rw] details
|
38
40
|
# @return [::Array<::Google::Protobuf::Any>]
|
39
41
|
# A list of messages that carry the error details. There is a common set of
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dialogflow-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.21.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.16.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.16.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -367,7 +367,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
367
367
|
- !ruby/object:Gem::Version
|
368
368
|
version: '0'
|
369
369
|
requirements: []
|
370
|
-
rubygems_version: 3.
|
370
|
+
rubygems_version: 3.4.2
|
371
371
|
signing_key:
|
372
372
|
specification_version: 4
|
373
373
|
summary: API Client library for the Dialogflow V2 API
|