google-cloud-dialogflow-cx-v3 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +7 -0
- data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +3 -1
- data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
- data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +16 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +24 -30
- data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0483c9d176c3d4b2aa0fc5e193ec154fc8c179d28fe6cf51cda1abbaa9e6f3f4'
|
4
|
+
data.tar.gz: 6cc7a3da53a3f769329d2ee0af0c1b208db6adcf7479b80e7abcc554fbc68da8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83b4de9aeb4ed206f77d1f543d2f5ff6a63806c8b492cdea03eeba46809c844b58a0540d53ab46df79e5aa476778920c83d0a2b10a4d3ddaa100dcd5d733a71a
|
7
|
+
data.tar.gz: c600ebbf88f556e4e968c464eb9079eed0ed20c45b0dd4be2963497018c90ff476be33e046ed6b7d9c25a6ad900febb33f0165a17ca5684c651e57b67fc8255d
|
@@ -30,6 +30,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
30
30
|
optional :security_settings, :string, 17
|
31
31
|
optional :enable_stackdriver_logging, :bool, 18
|
32
32
|
optional :enable_spell_correction, :bool, 20
|
33
|
+
optional :locked, :bool, 27
|
33
34
|
optional :advanced_settings, :message, 22, "google.cloud.dialogflow.cx.v3.AdvancedSettings"
|
34
35
|
end
|
35
36
|
add_message "google.cloud.dialogflow.cx.v3.ListAgentsRequest" do
|
@@ -58,8 +59,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
58
59
|
add_message "google.cloud.dialogflow.cx.v3.ExportAgentRequest" do
|
59
60
|
optional :name, :string, 1
|
60
61
|
optional :agent_uri, :string, 2
|
62
|
+
optional :data_format, :enum, 3, "google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormat"
|
61
63
|
optional :environment, :string, 5
|
62
64
|
end
|
65
|
+
add_enum "google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormat" do
|
66
|
+
value :DATA_FORMAT_UNSPECIFIED, 0
|
67
|
+
value :BLOB, 1
|
68
|
+
end
|
63
69
|
add_message "google.cloud.dialogflow.cx.v3.ExportAgentResponse" do
|
64
70
|
oneof :agent do
|
65
71
|
optional :agent_uri, :string, 1
|
@@ -108,6 +114,7 @@ module Google
|
|
108
114
|
UpdateAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.UpdateAgentRequest").msgclass
|
109
115
|
DeleteAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.DeleteAgentRequest").msgclass
|
110
116
|
ExportAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportAgentRequest").msgclass
|
117
|
+
ExportAgentRequest::DataFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormat").enummodule
|
111
118
|
ExportAgentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportAgentResponse").msgclass
|
112
119
|
RestoreAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.RestoreAgentRequest").msgclass
|
113
120
|
RestoreAgentRequest::RestoreOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.RestoreAgentRequest.RestoreOption").enummodule
|
@@ -638,7 +638,7 @@ module Google
|
|
638
638
|
# @param options [::Gapic::CallOptions, ::Hash]
|
639
639
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
640
640
|
#
|
641
|
-
# @overload export_agent(name: nil, agent_uri: nil, environment: nil)
|
641
|
+
# @overload export_agent(name: nil, agent_uri: nil, data_format: nil, environment: nil)
|
642
642
|
# Pass arguments to `export_agent` via keyword arguments. Note that at
|
643
643
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
644
644
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -657,6 +657,8 @@ module Google
|
|
657
657
|
# have write permissions for the object. For more information, see
|
658
658
|
# [Dialogflow access
|
659
659
|
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
660
|
+
# @param data_format [::Google::Cloud::Dialogflow::CX::V3::ExportAgentRequest::DataFormat]
|
661
|
+
# Optional. The data format of the exported agent. If not specified, `BLOB` is assumed.
|
660
662
|
# @param environment [::String]
|
661
663
|
# Optional. Environment name. If not set, draft environment is assumed.
|
662
664
|
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
@@ -98,6 +98,10 @@ module Google
|
|
98
98
|
# @return [::Boolean]
|
99
99
|
# Indicates if automatic spell correction is enabled in detect intent
|
100
100
|
# requests.
|
101
|
+
# @!attribute [rw] locked
|
102
|
+
# @return [::Boolean]
|
103
|
+
# Indiciates whether the agent is locked for changes. If the agent is locked,
|
104
|
+
# modifications to the agent will be rejected except for [RestoreAgent][].
|
101
105
|
# @!attribute [rw] advanced_settings
|
102
106
|
# @return [::Google::Cloud::Dialogflow::CX::V3::AdvancedSettings]
|
103
107
|
# Hierarchical advanced settings for this agent. The settings exposed at the
|
@@ -201,6 +205,9 @@ module Google
|
|
201
205
|
# have write permissions for the object. For more information, see
|
202
206
|
# [Dialogflow access
|
203
207
|
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
208
|
+
# @!attribute [rw] data_format
|
209
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::ExportAgentRequest::DataFormat]
|
210
|
+
# Optional. The data format of the exported agent. If not specified, `BLOB` is assumed.
|
204
211
|
# @!attribute [rw] environment
|
205
212
|
# @return [::String]
|
206
213
|
# Optional. Environment name. If not set, draft environment is assumed.
|
@@ -209,6 +216,15 @@ module Google
|
|
209
216
|
class ExportAgentRequest
|
210
217
|
include ::Google::Protobuf::MessageExts
|
211
218
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
219
|
+
|
220
|
+
# Data format of the exported agent.
|
221
|
+
module DataFormat
|
222
|
+
# Unspecified format.
|
223
|
+
DATA_FORMAT_UNSPECIFIED = 0
|
224
|
+
|
225
|
+
# Agent content will be exported as raw bytes.
|
226
|
+
BLOB = 1
|
227
|
+
end
|
212
228
|
end
|
213
229
|
|
214
230
|
# The response message for {::Google::Cloud::Dialogflow::CX::V3::Agents::Client#export_agent Agents.ExportAgent}.
|
@@ -356,16 +356,14 @@ module Google
|
|
356
356
|
# map, associative array, symbol table, dictionary, or JSON object
|
357
357
|
# composed of a collection of (MapKey, MapValue) pairs:
|
358
358
|
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
# map from composite entity property names to property values
|
368
|
-
# - Else: parameter value
|
359
|
+
# * MapKey type: string
|
360
|
+
# * MapKey value: parameter name
|
361
|
+
# * MapValue type: If parameter's entity type is a composite entity then use
|
362
|
+
# map, otherwise, depending on the parameter value type, it could be one of
|
363
|
+
# string, number, boolean, null, list or map.
|
364
|
+
# * MapValue value: If parameter's entity type is a composite entity then use
|
365
|
+
# map from composite entity property names to property values, otherwise,
|
366
|
+
# use parameter value.
|
369
367
|
# @!attribute [rw] current_page
|
370
368
|
# @return [::String]
|
371
369
|
# The unique identifier of the {::Google::Cloud::Dialogflow::CX::V3::Page page} to override the [current
|
@@ -493,16 +491,14 @@ module Google
|
|
493
491
|
# map, associative array, symbol table, dictionary, or JSON object
|
494
492
|
# composed of a collection of (MapKey, MapValue) pairs:
|
495
493
|
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
499
|
-
#
|
500
|
-
#
|
501
|
-
#
|
502
|
-
#
|
503
|
-
#
|
504
|
-
# map from composite entity property names to property values
|
505
|
-
# - Else: parameter value
|
494
|
+
# * MapKey type: string
|
495
|
+
# * MapKey value: parameter name
|
496
|
+
# * MapValue type: If parameter's entity type is a composite entity then use
|
497
|
+
# map, otherwise, depending on the parameter value type, it could be one of
|
498
|
+
# string, number, boolean, null, list or map.
|
499
|
+
# * MapValue value: If parameter's entity type is a composite entity then use
|
500
|
+
# map from composite entity property names to property values, otherwise,
|
501
|
+
# use parameter value.
|
506
502
|
# @!attribute [rw] response_messages
|
507
503
|
# @return [::Array<::Google::Cloud::Dialogflow::CX::V3::ResponseMessage>]
|
508
504
|
# The list of rich messages returned to the client. Responses vary from
|
@@ -635,16 +631,14 @@ module Google
|
|
635
631
|
# map, associative array, symbol table, dictionary, or JSON object
|
636
632
|
# composed of a collection of (MapKey, MapValue) pairs:
|
637
633
|
#
|
638
|
-
#
|
639
|
-
#
|
640
|
-
#
|
641
|
-
#
|
642
|
-
#
|
643
|
-
#
|
644
|
-
#
|
645
|
-
#
|
646
|
-
# map from composite entity property names to property values
|
647
|
-
# - Else: parameter value
|
634
|
+
# * MapKey type: string
|
635
|
+
# * MapKey value: parameter name
|
636
|
+
# * MapValue type: If parameter's entity type is a composite entity then use
|
637
|
+
# map, otherwise, depending on the parameter value type, it could be one of
|
638
|
+
# string, number, boolean, null, list or map.
|
639
|
+
# * MapValue value: If parameter's entity type is a composite entity then use
|
640
|
+
# map from composite entity property names to property values, otherwise,
|
641
|
+
# use parameter value.
|
648
642
|
# @!attribute [rw] resolved_input
|
649
643
|
# @return [::String]
|
650
644
|
# Final text input which was matched during MatchIntent. This value can be
|
@@ -78,10 +78,12 @@ module Google
|
|
78
78
|
# N.B. Make sure the HTTPS server certificates are signed with "subject alt
|
79
79
|
# name". For instance a certificate can be self-signed using the following
|
80
80
|
# command,
|
81
|
+
# ```
|
81
82
|
# openssl x509 -req -days 200 -in example.com.csr \
|
82
83
|
# -signkey example.com.key \
|
83
84
|
# -out example.com.crt \
|
84
85
|
# -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
|
86
|
+
# ```
|
85
87
|
class GenericWebService
|
86
88
|
include ::Google::Protobuf::MessageExts
|
87
89
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dialogflow-cx-v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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: 2022-03-
|
11
|
+
date: 2022-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|