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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62a8a51082300c837aea56ca47db06fab878d7f92855bafbeae16f942c8ee185
4
- data.tar.gz: 56f0814b99f365f2c841a6634fd3f35a2b82445ecc21405a0c6ce5c7917ced65
3
+ metadata.gz: '0483c9d176c3d4b2aa0fc5e193ec154fc8c179d28fe6cf51cda1abbaa9e6f3f4'
4
+ data.tar.gz: 6cc7a3da53a3f769329d2ee0af0c1b208db6adcf7479b80e7abcc554fbc68da8
5
5
  SHA512:
6
- metadata.gz: 83a0d0acc63fad59bc25e513233204ba567283bbe6cec5e8f73f2a9e5b3c9e32660a4b0dabcc188b54e18215ae07e67553f324e47c55e9cdbb98ed82f89e2924
7
- data.tar.gz: ddff91c59f8c13fbd5a669f05c5ec772c8e08509bef6676f06eb1235dd1b5002b82dc0ab37698fb45489a106f022c8924666452c4c5526c1d6aaa56a80639476
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
@@ -22,7 +22,7 @@ module Google
22
22
  module Dialogflow
23
23
  module CX
24
24
  module V3
25
- VERSION = "0.6.0"
25
+ VERSION = "0.7.0"
26
26
  end
27
27
  end
28
28
  end
@@ -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
- # - MapKey type: string
360
- # - MapKey value: parameter name
361
- # - MapValue type:
362
- # - If parameter's entity type is a composite entity: map
363
- # - Else: depending on parameter value type, could be one of string,
364
- # number, boolean, null, list or map
365
- # - MapValue value:
366
- # - If parameter's entity type is a composite entity:
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
- # - MapKey type: string
497
- # - MapKey value: parameter name
498
- # - MapValue type:
499
- # - If parameter's entity type is a composite entity: map
500
- # - Else: depending on parameter value type, could be one of string,
501
- # number, boolean, null, list or map
502
- # - MapValue value:
503
- # - If parameter's entity type is a composite entity:
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
- # - MapKey type: string
639
- # - MapKey value: parameter name
640
- # - MapValue type:
641
- # - If parameter's entity type is a composite entity: map
642
- # - Else: depending on parameter value type, could be one of string,
643
- # number, boolean, null, list or map
644
- # - MapValue value:
645
- # - If parameter's entity type is a composite entity:
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.6.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-09 00:00:00.000000000 Z
11
+ date: 2022-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common