google-cloud-dialogflow-v2 0.7.0 → 0.10.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 +8 -8
- data/README.md +1 -1
- data/lib/google/cloud/dialogflow/v2.rb +2 -0
- data/lib/google/cloud/dialogflow/v2/agent_services_pb.rb +16 -5
- data/lib/google/cloud/dialogflow/v2/agents/client.rb +18 -10
- data/lib/google/cloud/dialogflow/v2/agents/operations.rb +4 -4
- data/lib/google/cloud/dialogflow/v2/agents/paths.rb +42 -3
- data/lib/google/cloud/dialogflow/v2/answer_record_services_pb.rb +1 -2
- data/lib/google/cloud/dialogflow/v2/answer_records.rb +1 -2
- data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +3 -7
- data/lib/google/cloud/dialogflow/v2/contexts/client.rb +2 -5
- data/lib/google/cloud/dialogflow/v2/contexts/paths.rb +72 -0
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +2 -5
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/paths.rb +44 -3
- data/lib/google/cloud/dialogflow/v2/conversations/client.rb +2 -5
- data/lib/google/cloud/dialogflow/v2/documents/client.rb +2 -5
- data/lib/google/cloud/dialogflow/v2/documents/operations.rb +4 -4
- data/lib/google/cloud/dialogflow/v2/entity_type_services_pb.rb +28 -7
- data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +30 -12
- data/lib/google/cloud/dialogflow/v2/entity_types/operations.rb +4 -4
- data/lib/google/cloud/dialogflow/v2/entity_types/paths.rb +58 -12
- data/lib/google/cloud/dialogflow/v2/environment_pb.rb +50 -1
- data/lib/google/cloud/dialogflow/v2/environment_services_pb.rb +21 -0
- data/lib/google/cloud/dialogflow/v2/environments/client.rb +413 -6
- data/lib/google/cloud/dialogflow/v2/environments/paths.rb +145 -5
- data/lib/google/cloud/dialogflow/v2/fulfillment_pb.rb +59 -0
- data/lib/google/cloud/dialogflow/v2/fulfillment_services_pb.rb +47 -0
- data/lib/google/cloud/dialogflow/v2/fulfillments.rb +49 -0
- data/lib/google/cloud/dialogflow/v2/fulfillments/client.rb +457 -0
- data/lib/google/cloud/dialogflow/v2/fulfillments/credentials.rb +52 -0
- data/lib/google/cloud/dialogflow/v2/fulfillments/paths.rb +69 -0
- data/lib/google/cloud/dialogflow/v2/intent_services_pb.rb +20 -2
- data/lib/google/cloud/dialogflow/v2/intents/client.rb +31 -8
- data/lib/google/cloud/dialogflow/v2/intents/operations.rb +4 -4
- data/lib/google/cloud/dialogflow/v2/intents/paths.rb +96 -12
- data/lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb +2 -5
- data/lib/google/cloud/dialogflow/v2/participant_pb.rb +9 -0
- data/lib/google/cloud/dialogflow/v2/participants/client.rb +3 -9
- data/lib/google/cloud/dialogflow/v2/participants/paths.rb +76 -0
- data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +2 -5
- data/lib/google/cloud/dialogflow/v2/session_entity_types/paths.rb +72 -0
- data/lib/google/cloud/dialogflow/v2/session_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/sessions/client.rb +3 -9
- data/lib/google/cloud/dialogflow/v2/sessions/paths.rb +110 -0
- data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/version_pb.rb +69 -0
- data/lib/google/cloud/dialogflow/v2/version_services_pb.rb +59 -0
- data/lib/google/cloud/dialogflow/v2/versions.rb +49 -0
- data/lib/google/cloud/dialogflow/v2/versions/client.rb +706 -0
- data/lib/google/cloud/dialogflow/v2/versions/credentials.rb +52 -0
- data/lib/google/cloud/dialogflow/v2/versions/paths.rb +110 -0
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/cloud/dialogflow/v2/answer_record.rb +9 -16
- data/proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb +14 -2
- data/proto_docs/google/cloud/dialogflow/v2/environment.rb +170 -5
- data/proto_docs/google/cloud/dialogflow/v2/fulfillment.rb +144 -0
- data/proto_docs/google/cloud/dialogflow/v2/intent.rb +9 -1
- data/proto_docs/google/cloud/dialogflow/v2/participant.rb +22 -0
- data/proto_docs/google/cloud/dialogflow/v2/session.rb +4 -0
- data/proto_docs/google/cloud/dialogflow/v2/version.rb +176 -0
- metadata +27 -7
@@ -0,0 +1,144 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 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
|
+
# By default, your agent responds to a matched intent with a static response.
|
25
|
+
# As an alternative, you can provide a more dynamic response by using
|
26
|
+
# fulfillment. When you enable fulfillment for an intent, Dialogflow responds
|
27
|
+
# to that intent by calling a service that you define. For example, if an
|
28
|
+
# end-user wants to schedule a haircut on Friday, your service can check your
|
29
|
+
# database and respond to the end-user with availability information for
|
30
|
+
# Friday.
|
31
|
+
#
|
32
|
+
# For more information, see the [fulfillment
|
33
|
+
# guide](https://cloud.google.com/dialogflow/docs/fulfillment-overview).
|
34
|
+
# @!attribute [rw] name
|
35
|
+
# @return [::String]
|
36
|
+
# Required. The unique identifier of the fulfillment.
|
37
|
+
# Supported formats:
|
38
|
+
# - `projects/<Project ID>/agent/fulfillment`
|
39
|
+
# - `projects/<Project ID>/locations/<Location ID>/agent/fulfillment`
|
40
|
+
#
|
41
|
+
# This field is not used for Fulfillment in an Environment.
|
42
|
+
# @!attribute [rw] display_name
|
43
|
+
# @return [::String]
|
44
|
+
# Optional. The human-readable name of the fulfillment, unique within the agent.
|
45
|
+
#
|
46
|
+
# This field is not used for Fulfillment in an Environment.
|
47
|
+
# @!attribute [rw] generic_web_service
|
48
|
+
# @return [::Google::Cloud::Dialogflow::V2::Fulfillment::GenericWebService]
|
49
|
+
# Configuration for a generic web service.
|
50
|
+
# @!attribute [rw] enabled
|
51
|
+
# @return [::Boolean]
|
52
|
+
# Optional. Whether fulfillment is enabled.
|
53
|
+
# @!attribute [rw] features
|
54
|
+
# @return [::Array<::Google::Cloud::Dialogflow::V2::Fulfillment::Feature>]
|
55
|
+
# Optional. The field defines whether the fulfillment is enabled for certain features.
|
56
|
+
class Fulfillment
|
57
|
+
include ::Google::Protobuf::MessageExts
|
58
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
59
|
+
|
60
|
+
# Represents configuration for a generic web service.
|
61
|
+
# Dialogflow supports two mechanisms for authentications:
|
62
|
+
# - Basic authentication with username and password.
|
63
|
+
# - Authentication with additional authentication headers.
|
64
|
+
# More information could be found at:
|
65
|
+
# https://cloud.google.com/dialogflow/docs/fulfillment-configure.
|
66
|
+
# @!attribute [rw] uri
|
67
|
+
# @return [::String]
|
68
|
+
# Required. The fulfillment URI for receiving POST requests.
|
69
|
+
# It must use https protocol.
|
70
|
+
# @!attribute [rw] username
|
71
|
+
# @return [::String]
|
72
|
+
# Optional. The user name for HTTP Basic authentication.
|
73
|
+
# @!attribute [rw] password
|
74
|
+
# @return [::String]
|
75
|
+
# Optional. The password for HTTP Basic authentication.
|
76
|
+
# @!attribute [rw] request_headers
|
77
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
78
|
+
# Optional. The HTTP request headers to send together with fulfillment requests.
|
79
|
+
# @!attribute [rw] is_cloud_function
|
80
|
+
# @return [::Boolean]
|
81
|
+
# Optional. Indicates if generic web service is created through Cloud Functions
|
82
|
+
# integration. Defaults to false.
|
83
|
+
#
|
84
|
+
# is_cloud_function is deprecated. Cloud functions can be configured by
|
85
|
+
# its uri as a regular web service now.
|
86
|
+
class GenericWebService
|
87
|
+
include ::Google::Protobuf::MessageExts
|
88
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
89
|
+
|
90
|
+
# @!attribute [rw] key
|
91
|
+
# @return [::String]
|
92
|
+
# @!attribute [rw] value
|
93
|
+
# @return [::String]
|
94
|
+
class RequestHeadersEntry
|
95
|
+
include ::Google::Protobuf::MessageExts
|
96
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
# Whether fulfillment is enabled for the specific feature.
|
101
|
+
# @!attribute [rw] type
|
102
|
+
# @return [::Google::Cloud::Dialogflow::V2::Fulfillment::Feature::Type]
|
103
|
+
# The type of the feature that enabled for fulfillment.
|
104
|
+
class Feature
|
105
|
+
include ::Google::Protobuf::MessageExts
|
106
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
107
|
+
|
108
|
+
# The type of the feature.
|
109
|
+
module Type
|
110
|
+
# Feature type not specified.
|
111
|
+
TYPE_UNSPECIFIED = 0
|
112
|
+
|
113
|
+
# Fulfillment is enabled for SmallTalk.
|
114
|
+
SMALLTALK = 1
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# The request message for {::Google::Cloud::Dialogflow::V2::Fulfillments::Client#get_fulfillment Fulfillments.GetFulfillment}.
|
120
|
+
# @!attribute [rw] name
|
121
|
+
# @return [::String]
|
122
|
+
# Required. The name of the fulfillment.
|
123
|
+
# Format: `projects/<Project ID>/agent/fulfillment`.
|
124
|
+
class GetFulfillmentRequest
|
125
|
+
include ::Google::Protobuf::MessageExts
|
126
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
127
|
+
end
|
128
|
+
|
129
|
+
# The request message for {::Google::Cloud::Dialogflow::V2::Fulfillments::Client#update_fulfillment Fulfillments.UpdateFulfillment}.
|
130
|
+
# @!attribute [rw] fulfillment
|
131
|
+
# @return [::Google::Cloud::Dialogflow::V2::Fulfillment]
|
132
|
+
# Required. The fulfillment to update.
|
133
|
+
# @!attribute [rw] update_mask
|
134
|
+
# @return [::Google::Protobuf::FieldMask]
|
135
|
+
# Required. The mask to control which fields get updated. If the mask is not
|
136
|
+
# present, all fields will be updated.
|
137
|
+
class UpdateFulfillmentRequest
|
138
|
+
include ::Google::Protobuf::MessageExts
|
139
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|
144
|
+
end
|
@@ -837,7 +837,15 @@ module Google
|
|
837
837
|
# @!attribute [rw] parent
|
838
838
|
# @return [::String]
|
839
839
|
# Required. The agent to list all intents from.
|
840
|
-
# Format: `projects/<Project ID>/agent
|
840
|
+
# Format: `projects/<Project ID>/agent` or `projects/<Project
|
841
|
+
# ID>/locations/<Location ID>/agent`.
|
842
|
+
#
|
843
|
+
# Alternatively, you can specify the environment to list intents for.
|
844
|
+
# Format: `projects/<Project ID>/agent/environments/<Environment ID>`
|
845
|
+
# or `projects/<Project ID>/locations/<Location
|
846
|
+
# ID>/agent/environments/<Environment ID>`.
|
847
|
+
# Note: training phrases of the intents will not be returned for non-draft
|
848
|
+
# environment.
|
841
849
|
# @!attribute [rw] language_code
|
842
850
|
# @return [::String]
|
843
851
|
# Optional. The language used to access language-specific data.
|
@@ -353,9 +353,31 @@ module Google
|
|
353
353
|
# @!attribute [rw] detect_intent_response
|
354
354
|
# @return [::Google::Cloud::Dialogflow::V2::DetectIntentResponse]
|
355
355
|
# Response of the Dialogflow {::Google::Cloud::Dialogflow::V2::Sessions::Client#detect_intent Sessions.DetectIntent} call.
|
356
|
+
# @!attribute [rw] automated_agent_reply_type
|
357
|
+
# @return [::Google::Cloud::Dialogflow::V2::AutomatedAgentReply::AutomatedAgentReplyType]
|
358
|
+
# AutomatedAgentReply type.
|
359
|
+
# @!attribute [rw] allow_cancellation
|
360
|
+
# @return [::Boolean]
|
361
|
+
# Indicates whether the partial automated agent reply is interruptible when a
|
362
|
+
# later reply message arrives. e.g. if the agent specified some music as
|
363
|
+
# partial response, it can be cancelled.
|
356
364
|
class AutomatedAgentReply
|
357
365
|
include ::Google::Protobuf::MessageExts
|
358
366
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
367
|
+
|
368
|
+
# Represents different automated agent reply types.
|
369
|
+
module AutomatedAgentReplyType
|
370
|
+
# Not specified. This should never happen.
|
371
|
+
AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED = 0
|
372
|
+
|
373
|
+
# Partial reply. e.g. Aggregated responses in a `Fulfillment` that enables
|
374
|
+
# `return_partial_response` can be returned as partial reply.
|
375
|
+
# WARNING: partial reply is not eligible for barge-in.
|
376
|
+
PARTIAL = 1
|
377
|
+
|
378
|
+
# Final reply.
|
379
|
+
FINAL = 2
|
380
|
+
end
|
359
381
|
end
|
360
382
|
|
361
383
|
# Represents article answer.
|
@@ -248,6 +248,10 @@ module Google
|
|
248
248
|
# the required parameter values have been collected.
|
249
249
|
# - `true` if all required parameter values have been collected, or if the
|
250
250
|
# matched intent doesn't contain any required parameters.
|
251
|
+
# @!attribute [rw] cancels_slot_filling
|
252
|
+
# @return [::Boolean]
|
253
|
+
# Indicates whether the conversational query triggers a cancellation for slot
|
254
|
+
# filling.
|
251
255
|
# @!attribute [rw] fulfillment_text
|
252
256
|
# @return [::String]
|
253
257
|
# The text to be pronounced to the user or shown on the screen.
|
@@ -0,0 +1,176 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 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
|
+
# You can create multiple versions of your agent and publish them to separate
|
25
|
+
# environments.
|
26
|
+
#
|
27
|
+
# When you edit an agent, you are editing the draft agent. At any point, you
|
28
|
+
# can save the draft agent as an agent version, which is an immutable snapshot
|
29
|
+
# of your agent.
|
30
|
+
#
|
31
|
+
# When you save the draft agent, it is published to the default environment.
|
32
|
+
# When you create agent versions, you can publish them to custom environments.
|
33
|
+
# You can create a variety of custom environments for:
|
34
|
+
#
|
35
|
+
# - testing
|
36
|
+
# - development
|
37
|
+
# - production
|
38
|
+
# - etc.
|
39
|
+
#
|
40
|
+
# For more information, see the [versions and environments
|
41
|
+
# guide](https://cloud.google.com/dialogflow/docs/agents-versions).
|
42
|
+
# @!attribute [r] name
|
43
|
+
# @return [::String]
|
44
|
+
# Output only. The unique identifier of this agent version.
|
45
|
+
# Supported formats:
|
46
|
+
# - `projects/<Project ID>/agent/versions/<Version ID>`
|
47
|
+
# - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version
|
48
|
+
# ID>`
|
49
|
+
# @!attribute [rw] description
|
50
|
+
# @return [::String]
|
51
|
+
# Optional. The developer-provided description of this version.
|
52
|
+
# @!attribute [r] version_number
|
53
|
+
# @return [::Integer]
|
54
|
+
# Output only. The sequential number of this version. This field is read-only which means
|
55
|
+
# it cannot be set by create and update methods.
|
56
|
+
# @!attribute [r] create_time
|
57
|
+
# @return [::Google::Protobuf::Timestamp]
|
58
|
+
# Output only. The creation time of this version. This field is read-only, i.e., it cannot
|
59
|
+
# be set by create and update methods.
|
60
|
+
# @!attribute [r] status
|
61
|
+
# @return [::Google::Cloud::Dialogflow::V2::Version::VersionStatus]
|
62
|
+
# Output only. The status of this version. This field is read-only and cannot be set by
|
63
|
+
# create and update methods.
|
64
|
+
class Version
|
65
|
+
include ::Google::Protobuf::MessageExts
|
66
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
67
|
+
|
68
|
+
# The status of a version.
|
69
|
+
module VersionStatus
|
70
|
+
# Not specified. This value is not used.
|
71
|
+
VERSION_STATUS_UNSPECIFIED = 0
|
72
|
+
|
73
|
+
# Version is not ready to serve (e.g. training is in progress).
|
74
|
+
IN_PROGRESS = 1
|
75
|
+
|
76
|
+
# Version is ready to serve.
|
77
|
+
READY = 2
|
78
|
+
|
79
|
+
# Version training failed.
|
80
|
+
FAILED = 3
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
# The request message for {::Google::Cloud::Dialogflow::V2::Versions::Client#list_versions Versions.ListVersions}.
|
85
|
+
# @!attribute [rw] parent
|
86
|
+
# @return [::String]
|
87
|
+
# Required. The agent to list all versions from.
|
88
|
+
# Supported formats:
|
89
|
+
# - `projects/<Project ID>/agent`
|
90
|
+
# - `projects/<Project ID>/locations/<Location ID>/agent`
|
91
|
+
# @!attribute [rw] page_size
|
92
|
+
# @return [::Integer]
|
93
|
+
# Optional. The maximum number of items to return in a single page. By default 100 and
|
94
|
+
# at most 1000.
|
95
|
+
# @!attribute [rw] page_token
|
96
|
+
# @return [::String]
|
97
|
+
# Optional. The next_page_token value returned from a previous list request.
|
98
|
+
class ListVersionsRequest
|
99
|
+
include ::Google::Protobuf::MessageExts
|
100
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
101
|
+
end
|
102
|
+
|
103
|
+
# The response message for {::Google::Cloud::Dialogflow::V2::Versions::Client#list_versions Versions.ListVersions}.
|
104
|
+
# @!attribute [rw] versions
|
105
|
+
# @return [::Array<::Google::Cloud::Dialogflow::V2::Version>]
|
106
|
+
# The list of agent versions. There will be a maximum number of items
|
107
|
+
# returned based on the page_size field in the request.
|
108
|
+
# @!attribute [rw] next_page_token
|
109
|
+
# @return [::String]
|
110
|
+
# Token to retrieve the next page of results, or empty if there are no
|
111
|
+
# more results in the list.
|
112
|
+
class ListVersionsResponse
|
113
|
+
include ::Google::Protobuf::MessageExts
|
114
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
115
|
+
end
|
116
|
+
|
117
|
+
# The request message for {::Google::Cloud::Dialogflow::V2::Versions::Client#get_version Versions.GetVersion}.
|
118
|
+
# @!attribute [rw] name
|
119
|
+
# @return [::String]
|
120
|
+
# Required. The name of the version.
|
121
|
+
# Supported formats:
|
122
|
+
# - `projects/<Project ID>/agent/versions/<Version ID>`
|
123
|
+
# - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version
|
124
|
+
# ID>`
|
125
|
+
class GetVersionRequest
|
126
|
+
include ::Google::Protobuf::MessageExts
|
127
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
128
|
+
end
|
129
|
+
|
130
|
+
# The request message for {::Google::Cloud::Dialogflow::V2::Versions::Client#create_version Versions.CreateVersion}.
|
131
|
+
# @!attribute [rw] parent
|
132
|
+
# @return [::String]
|
133
|
+
# Required. The agent to create a version for.
|
134
|
+
# Supported formats:
|
135
|
+
# - `projects/<Project ID>/agent`
|
136
|
+
# - `projects/<Project ID>/locations/<Location ID>/agent`
|
137
|
+
# @!attribute [rw] version
|
138
|
+
# @return [::Google::Cloud::Dialogflow::V2::Version]
|
139
|
+
# Required. The version to create.
|
140
|
+
class CreateVersionRequest
|
141
|
+
include ::Google::Protobuf::MessageExts
|
142
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
143
|
+
end
|
144
|
+
|
145
|
+
# The request message for {::Google::Cloud::Dialogflow::V2::Versions::Client#update_version Versions.UpdateVersion}.
|
146
|
+
# @!attribute [rw] version
|
147
|
+
# @return [::Google::Cloud::Dialogflow::V2::Version]
|
148
|
+
# Required. The version to update.
|
149
|
+
# Supported formats:
|
150
|
+
# - `projects/<Project ID>/agent/versions/<Version ID>`
|
151
|
+
# - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version
|
152
|
+
# ID>`
|
153
|
+
# @!attribute [rw] update_mask
|
154
|
+
# @return [::Google::Protobuf::FieldMask]
|
155
|
+
# Required. The mask to control which fields get updated.
|
156
|
+
class UpdateVersionRequest
|
157
|
+
include ::Google::Protobuf::MessageExts
|
158
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
159
|
+
end
|
160
|
+
|
161
|
+
# The request message for {::Google::Cloud::Dialogflow::V2::Versions::Client#delete_version Versions.DeleteVersion}.
|
162
|
+
# @!attribute [rw] name
|
163
|
+
# @return [::String]
|
164
|
+
# Required. The name of the version to delete.
|
165
|
+
# Supported formats:
|
166
|
+
# - `projects/<Project ID>/agent/versions/<Version ID>`
|
167
|
+
# - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version
|
168
|
+
# ID>`
|
169
|
+
class DeleteVersionRequest
|
170
|
+
include ::Google::Protobuf::MessageExts
|
171
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
172
|
+
end
|
173
|
+
end
|
174
|
+
end
|
175
|
+
end
|
176
|
+
end
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.5'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.5'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: google-cloud-errors
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -221,6 +227,12 @@ files:
|
|
221
227
|
- lib/google/cloud/dialogflow/v2/environments/client.rb
|
222
228
|
- lib/google/cloud/dialogflow/v2/environments/credentials.rb
|
223
229
|
- lib/google/cloud/dialogflow/v2/environments/paths.rb
|
230
|
+
- lib/google/cloud/dialogflow/v2/fulfillment_pb.rb
|
231
|
+
- lib/google/cloud/dialogflow/v2/fulfillment_services_pb.rb
|
232
|
+
- lib/google/cloud/dialogflow/v2/fulfillments.rb
|
233
|
+
- lib/google/cloud/dialogflow/v2/fulfillments/client.rb
|
234
|
+
- lib/google/cloud/dialogflow/v2/fulfillments/credentials.rb
|
235
|
+
- lib/google/cloud/dialogflow/v2/fulfillments/paths.rb
|
224
236
|
- lib/google/cloud/dialogflow/v2/gcs_pb.rb
|
225
237
|
- lib/google/cloud/dialogflow/v2/human_agent_assistant_event_pb.rb
|
226
238
|
- lib/google/cloud/dialogflow/v2/intent_pb.rb
|
@@ -256,6 +268,12 @@ files:
|
|
256
268
|
- lib/google/cloud/dialogflow/v2/sessions/paths.rb
|
257
269
|
- lib/google/cloud/dialogflow/v2/validation_result_pb.rb
|
258
270
|
- lib/google/cloud/dialogflow/v2/version.rb
|
271
|
+
- lib/google/cloud/dialogflow/v2/version_pb.rb
|
272
|
+
- lib/google/cloud/dialogflow/v2/version_services_pb.rb
|
273
|
+
- lib/google/cloud/dialogflow/v2/versions.rb
|
274
|
+
- lib/google/cloud/dialogflow/v2/versions/client.rb
|
275
|
+
- lib/google/cloud/dialogflow/v2/versions/credentials.rb
|
276
|
+
- lib/google/cloud/dialogflow/v2/versions/paths.rb
|
259
277
|
- lib/google/cloud/dialogflow/v2/webhook_pb.rb
|
260
278
|
- proto_docs/README.md
|
261
279
|
- proto_docs/google/api/field_behavior.rb
|
@@ -270,6 +288,7 @@ files:
|
|
270
288
|
- proto_docs/google/cloud/dialogflow/v2/document.rb
|
271
289
|
- proto_docs/google/cloud/dialogflow/v2/entity_type.rb
|
272
290
|
- proto_docs/google/cloud/dialogflow/v2/environment.rb
|
291
|
+
- proto_docs/google/cloud/dialogflow/v2/fulfillment.rb
|
273
292
|
- proto_docs/google/cloud/dialogflow/v2/human_agent_assistant_event.rb
|
274
293
|
- proto_docs/google/cloud/dialogflow/v2/intent.rb
|
275
294
|
- proto_docs/google/cloud/dialogflow/v2/knowledge_base.rb
|
@@ -277,6 +296,7 @@ files:
|
|
277
296
|
- proto_docs/google/cloud/dialogflow/v2/session.rb
|
278
297
|
- proto_docs/google/cloud/dialogflow/v2/session_entity_type.rb
|
279
298
|
- proto_docs/google/cloud/dialogflow/v2/validation_result.rb
|
299
|
+
- proto_docs/google/cloud/dialogflow/v2/version.rb
|
280
300
|
- proto_docs/google/cloud/dialogflow/v2/webhook.rb
|
281
301
|
- proto_docs/google/longrunning/operations.rb
|
282
302
|
- proto_docs/google/protobuf/any.rb
|
@@ -306,7 +326,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
306
326
|
- !ruby/object:Gem::Version
|
307
327
|
version: '0'
|
308
328
|
requirements: []
|
309
|
-
rubygems_version: 3.2.
|
329
|
+
rubygems_version: 3.2.17
|
310
330
|
signing_key:
|
311
331
|
specification_version: 4
|
312
332
|
summary: API Client library for the Dialogflow V2 API
|