google-cloud-dialogflow-cx-v3 0.4.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +0 -2
- data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +7 -1
- data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +16 -1
- data/lib/google/cloud/dialogflow/cx/v3/audio_config_pb.rb +0 -2
- data/lib/google/cloud/dialogflow/cx/v3/changelog_pb.rb +0 -1
- data/lib/google/cloud/dialogflow/cx/v3/deployment_pb.rb +0 -2
- data/lib/google/cloud/dialogflow/cx/v3/environment_pb.rb +0 -1
- data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +1 -0
- data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +0 -1
- data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +13 -0
- data/lib/google/cloud/dialogflow/cx/v3/fulfillment_pb.rb +0 -2
- data/lib/google/cloud/dialogflow/cx/v3/intent_pb.rb +0 -2
- data/lib/google/cloud/dialogflow/cx/v3/page_pb.rb +0 -1
- data/lib/google/cloud/dialogflow/cx/v3/response_message_pb.rb +0 -1
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb +0 -1
- data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +1 -3
- data/lib/google/cloud/dialogflow/cx/v3/test_case_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +13 -0
- data/lib/google/cloud/dialogflow/cx/v3/validation_message_pb.rb +0 -2
- data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/version_pb.rb +0 -5
- data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +1 -0
- data/lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/cx/v3.rb +4 -2
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +28 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/environment.rb +1 -1
- data/proto_docs/google/cloud/dialogflow/cx/v3/flow.rb +12 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/security_settings.rb +1 -1
- data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +27 -32
- data/proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb +28 -1
- data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +6 -0
- metadata +3 -3
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
|
data/.yardopts
CHANGED
data/AUTHENTICATION.md
CHANGED
@@ -120,15 +120,6 @@ To configure your system for this, simply:
|
|
120
120
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
121
121
|
*should* only be used during development.
|
122
122
|
|
123
|
-
[gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
|
124
|
-
[dev-console]: https://console.cloud.google.com/project
|
125
|
-
|
126
|
-
[enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
|
127
|
-
|
128
|
-
[create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
|
129
|
-
[create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
|
130
|
-
[reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
|
131
|
-
|
132
123
|
## Creating a Service Account
|
133
124
|
|
134
125
|
Google Cloud requires **Service Account Credentials** to
|
@@ -139,31 +130,22 @@ If you are not running this client within
|
|
139
130
|
[Google Cloud Platform environments](#google-cloud-platform-environments), you
|
140
131
|
need a Google Developers service account.
|
141
132
|
|
142
|
-
1. Visit the [Google
|
133
|
+
1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
|
143
134
|
2. Create a new project or click on an existing project.
|
144
|
-
3. Activate the
|
135
|
+
3. Activate the menu in the upper left and select **APIs & Services**. From
|
145
136
|
here, you will enable the APIs that your application requires.
|
146
137
|
|
147
|
-
![Enable the APIs that your application requires][enable-apis]
|
148
|
-
|
149
138
|
*Note: You may need to enable billing in order to use these services.*
|
150
139
|
|
151
140
|
4. Select **Credentials** from the side navigation.
|
152
141
|
|
153
|
-
|
154
|
-
|
155
|
-
![Create a new service account][create-new-service-account]
|
156
|
-
|
157
|
-
![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
|
158
|
-
|
159
|
-
Find the "Add credentials" drop down and select "Service account" to be
|
160
|
-
guided through downloading a new JSON key file.
|
142
|
+
Find the "Create credentials" drop down near the top of the page, and select
|
143
|
+
"Service account" to be guided through downloading a new JSON key file.
|
161
144
|
|
162
145
|
If you want to re-use an existing service account, you can easily generate a
|
163
|
-
new key file. Just select the account you wish to re-use,
|
164
|
-
|
165
|
-
|
166
|
-
![Re-use an existing service account][reuse-service-account]
|
146
|
+
new key file. Just select the account you wish to re-use, click the pencil
|
147
|
+
tool on the right side to edit the service account, select the **Keys** tab,
|
148
|
+
and then select **Add Key**.
|
167
149
|
|
168
150
|
The key file you download will be used by this library to authenticate API
|
169
151
|
requests and should be stored in a secure location.
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Dialogflow::CX::V3::ListPagesRequest.new # (request f
|
|
37
37
|
response = client.list_pages request
|
38
38
|
```
|
39
39
|
|
40
|
-
View the [Client Library Documentation](https://
|
40
|
+
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
43
|
See also the [Product Documentation](https://cloud.google.com/dialogflow)
|
@@ -2,8 +2,6 @@
|
|
2
2
|
# source: google/cloud/dialogflow/cx/v3/advanced_settings.proto
|
3
3
|
|
4
4
|
require 'google/api/field_behavior_pb'
|
5
|
-
require 'google/protobuf/duration_pb'
|
6
|
-
require 'google/api/annotations_pb'
|
7
5
|
require 'google/protobuf'
|
8
6
|
|
9
7
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -7,7 +7,6 @@ require 'google/api/field_behavior_pb'
|
|
7
7
|
require 'google/api/resource_pb'
|
8
8
|
require 'google/cloud/dialogflow/cx/v3/advanced_settings_pb'
|
9
9
|
require 'google/cloud/dialogflow/cx/v3/flow_pb'
|
10
|
-
require 'google/cloud/dialogflow/cx/v3/security_settings_pb'
|
11
10
|
require 'google/longrunning/operations_pb'
|
12
11
|
require 'google/protobuf/empty_pb'
|
13
12
|
require 'google/protobuf/field_mask_pb'
|
@@ -31,6 +30,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
31
30
|
optional :security_settings, :string, 17
|
32
31
|
optional :enable_stackdriver_logging, :bool, 18
|
33
32
|
optional :enable_spell_correction, :bool, 20
|
33
|
+
optional :locked, :bool, 27
|
34
34
|
optional :advanced_settings, :message, 22, "google.cloud.dialogflow.cx.v3.AdvancedSettings"
|
35
35
|
end
|
36
36
|
add_message "google.cloud.dialogflow.cx.v3.ListAgentsRequest" do
|
@@ -59,8 +59,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
59
59
|
add_message "google.cloud.dialogflow.cx.v3.ExportAgentRequest" do
|
60
60
|
optional :name, :string, 1
|
61
61
|
optional :agent_uri, :string, 2
|
62
|
+
optional :data_format, :enum, 3, "google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormat"
|
62
63
|
optional :environment, :string, 5
|
63
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
|
64
69
|
add_message "google.cloud.dialogflow.cx.v3.ExportAgentResponse" do
|
65
70
|
oneof :agent do
|
66
71
|
optional :agent_uri, :string, 1
|
@@ -109,6 +114,7 @@ module Google
|
|
109
114
|
UpdateAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.UpdateAgentRequest").msgclass
|
110
115
|
DeleteAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.DeleteAgentRequest").msgclass
|
111
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
|
112
118
|
ExportAgentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportAgentResponse").msgclass
|
113
119
|
RestoreAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.RestoreAgentRequest").msgclass
|
114
120
|
RestoreAgentRequest::RestoreOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.RestoreAgentRequest.RestoreOption").enummodule
|
@@ -141,6 +141,7 @@ module Google
|
|
141
141
|
|
142
142
|
@operations_client = Operations.new do |config|
|
143
143
|
config.credentials = credentials
|
144
|
+
config.quota_project = @quota_project_id
|
144
145
|
config.endpoint = @config.endpoint
|
145
146
|
end
|
146
147
|
|
@@ -637,7 +638,7 @@ module Google
|
|
637
638
|
# @param options [::Gapic::CallOptions, ::Hash]
|
638
639
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
639
640
|
#
|
640
|
-
# @overload export_agent(name: nil, agent_uri: nil, environment: nil)
|
641
|
+
# @overload export_agent(name: nil, agent_uri: nil, data_format: nil, environment: nil)
|
641
642
|
# Pass arguments to `export_agent` via keyword arguments. Note that at
|
642
643
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
643
644
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -650,6 +651,14 @@ module Google
|
|
650
651
|
# export the agent to. The format of this URI must be
|
651
652
|
# `gs://<bucket-name>/<object-name>`.
|
652
653
|
# If left unspecified, the serialized agent is returned inline.
|
654
|
+
#
|
655
|
+
# Dialogflow performs a write operation for the Cloud Storage object
|
656
|
+
# on the caller's behalf, so your request authentication must
|
657
|
+
# have write permissions for the object. For more information, see
|
658
|
+
# [Dialogflow access
|
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.
|
653
662
|
# @param environment [::String]
|
654
663
|
# Optional. Environment name. If not set, draft environment is assumed.
|
655
664
|
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
@@ -768,6 +777,12 @@ module Google
|
|
768
777
|
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
|
769
778
|
# to restore agent from. The format of this URI must be
|
770
779
|
# `gs://<bucket-name>/<object-name>`.
|
780
|
+
#
|
781
|
+
# Dialogflow performs a read operation for the Cloud Storage object
|
782
|
+
# on the caller's behalf, so your request authentication must
|
783
|
+
# have read permissions for the object. For more information, see
|
784
|
+
# [Dialogflow access
|
785
|
+
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
771
786
|
# @param agent_content [::String]
|
772
787
|
# Uncompressed raw byte content for agent.
|
773
788
|
# @param restore_option [::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::RestoreOption]
|
@@ -4,8 +4,6 @@
|
|
4
4
|
require 'google/api/field_behavior_pb'
|
5
5
|
require 'google/api/resource_pb'
|
6
6
|
require 'google/protobuf/duration_pb'
|
7
|
-
require 'google/protobuf/timestamp_pb'
|
8
|
-
require 'google/api/annotations_pb'
|
9
7
|
require 'google/protobuf'
|
10
8
|
|
11
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -5,8 +5,6 @@ require 'google/api/annotations_pb'
|
|
5
5
|
require 'google/api/client_pb'
|
6
6
|
require 'google/api/field_behavior_pb'
|
7
7
|
require 'google/api/resource_pb'
|
8
|
-
require 'google/protobuf/empty_pb'
|
9
|
-
require 'google/protobuf/field_mask_pb'
|
10
8
|
require 'google/protobuf/timestamp_pb'
|
11
9
|
require 'google/protobuf'
|
12
10
|
|
@@ -6,7 +6,6 @@ require 'google/api/client_pb'
|
|
6
6
|
require 'google/api/field_behavior_pb'
|
7
7
|
require 'google/api/resource_pb'
|
8
8
|
require 'google/cloud/dialogflow/cx/v3/test_case_pb'
|
9
|
-
require 'google/cloud/dialogflow/cx/v3/webhook_pb'
|
10
9
|
require 'google/longrunning/operations_pb'
|
11
10
|
require 'google/protobuf/empty_pb'
|
12
11
|
require 'google/protobuf/field_mask_pb'
|
@@ -5,7 +5,6 @@ require 'google/api/annotations_pb'
|
|
5
5
|
require 'google/api/client_pb'
|
6
6
|
require 'google/api/field_behavior_pb'
|
7
7
|
require 'google/api/resource_pb'
|
8
|
-
require 'google/cloud/dialogflow/cx/v3/advanced_settings_pb'
|
9
8
|
require 'google/cloud/dialogflow/cx/v3/page_pb'
|
10
9
|
require 'google/cloud/dialogflow/cx/v3/validation_message_pb'
|
11
10
|
require 'google/longrunning/operations_pb'
|
@@ -141,6 +141,7 @@ module Google
|
|
141
141
|
|
142
142
|
@operations_client = Operations.new do |config|
|
143
143
|
config.credentials = credentials
|
144
|
+
config.quota_project = @quota_project_id
|
144
145
|
config.endpoint = @config.endpoint
|
145
146
|
end
|
146
147
|
|
@@ -1010,6 +1011,12 @@ module Google
|
|
1010
1011
|
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
|
1011
1012
|
# to import flow from. The format of this URI must be
|
1012
1013
|
# `gs://<bucket-name>/<object-name>`.
|
1014
|
+
#
|
1015
|
+
# Dialogflow performs a read operation for the Cloud Storage object
|
1016
|
+
# on the caller's behalf, so your request authentication must
|
1017
|
+
# have read permissions for the object. For more information, see
|
1018
|
+
# [Dialogflow access
|
1019
|
+
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
1013
1020
|
# @param flow_content [::String]
|
1014
1021
|
# Uncompressed raw byte content for flow.
|
1015
1022
|
# @param import_option [::Google::Cloud::Dialogflow::CX::V3::ImportFlowRequest::ImportOption]
|
@@ -1125,6 +1132,12 @@ module Google
|
|
1125
1132
|
# export the flow to. The format of this URI must be
|
1126
1133
|
# `gs://<bucket-name>/<object-name>`.
|
1127
1134
|
# If left unspecified, the serialized flow is returned inline.
|
1135
|
+
#
|
1136
|
+
# Dialogflow performs a write operation for the Cloud Storage object
|
1137
|
+
# on the caller's behalf, so your request authentication must
|
1138
|
+
# have write permissions for the object. For more information, see
|
1139
|
+
# [Dialogflow access
|
1140
|
+
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
1128
1141
|
# @param include_referenced_flows [::Boolean]
|
1129
1142
|
# Optional. Whether to export flows referenced by the specified flow.
|
1130
1143
|
#
|
@@ -2,10 +2,8 @@
|
|
2
2
|
# source: google/cloud/dialogflow/cx/v3/fulfillment.proto
|
3
3
|
|
4
4
|
require 'google/api/resource_pb'
|
5
|
-
require 'google/cloud/dialogflow/cx/v3/advanced_settings_pb'
|
6
5
|
require 'google/cloud/dialogflow/cx/v3/response_message_pb'
|
7
6
|
require 'google/protobuf/struct_pb'
|
8
|
-
require 'google/api/annotations_pb'
|
9
7
|
require 'google/protobuf'
|
10
8
|
|
11
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -5,10 +5,8 @@ require 'google/api/annotations_pb'
|
|
5
5
|
require 'google/api/client_pb'
|
6
6
|
require 'google/api/field_behavior_pb'
|
7
7
|
require 'google/api/resource_pb'
|
8
|
-
require 'google/longrunning/operations_pb'
|
9
8
|
require 'google/protobuf/empty_pb'
|
10
9
|
require 'google/protobuf/field_mask_pb'
|
11
|
-
require 'google/protobuf/timestamp_pb'
|
12
10
|
require 'google/protobuf'
|
13
11
|
|
14
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -5,7 +5,6 @@ require 'google/api/annotations_pb'
|
|
5
5
|
require 'google/api/client_pb'
|
6
6
|
require 'google/api/field_behavior_pb'
|
7
7
|
require 'google/api/resource_pb'
|
8
|
-
require 'google/cloud/dialogflow/cx/v3/advanced_settings_pb'
|
9
8
|
require 'google/cloud/dialogflow/cx/v3/fulfillment_pb'
|
10
9
|
require 'google/protobuf/empty_pb'
|
11
10
|
require 'google/protobuf/field_mask_pb'
|
@@ -5,7 +5,6 @@ require 'google/api/annotations_pb'
|
|
5
5
|
require 'google/api/client_pb'
|
6
6
|
require 'google/api/field_behavior_pb'
|
7
7
|
require 'google/api/resource_pb'
|
8
|
-
require 'google/longrunning/operations_pb'
|
9
8
|
require 'google/protobuf/empty_pb'
|
10
9
|
require 'google/protobuf/field_mask_pb'
|
11
10
|
require 'google/protobuf'
|
@@ -2,11 +2,10 @@
|
|
2
2
|
# source: google/cloud/dialogflow/cx/v3/session.proto
|
3
3
|
|
4
4
|
require 'google/api/annotations_pb'
|
5
|
+
require 'google/api/client_pb'
|
5
6
|
require 'google/api/field_behavior_pb'
|
6
7
|
require 'google/api/resource_pb'
|
7
|
-
require 'google/cloud/dialogflow/cx/v3/advanced_settings_pb'
|
8
8
|
require 'google/cloud/dialogflow/cx/v3/audio_config_pb'
|
9
|
-
require 'google/cloud/dialogflow/cx/v3/flow_pb'
|
10
9
|
require 'google/cloud/dialogflow/cx/v3/intent_pb'
|
11
10
|
require 'google/cloud/dialogflow/cx/v3/page_pb'
|
12
11
|
require 'google/cloud/dialogflow/cx/v3/response_message_pb'
|
@@ -15,7 +14,6 @@ require 'google/protobuf/duration_pb'
|
|
15
14
|
require 'google/protobuf/struct_pb'
|
16
15
|
require 'google/rpc/status_pb'
|
17
16
|
require 'google/type/latlng_pb'
|
18
|
-
require 'google/api/client_pb'
|
19
17
|
require 'google/protobuf'
|
20
18
|
|
21
19
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -41,6 +41,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
41
41
|
add_message "google.cloud.dialogflow.cx.v3.TestConfig" do
|
42
42
|
repeated :tracking_parameters, :string, 1
|
43
43
|
optional :flow, :string, 2
|
44
|
+
optional :page, :string, 3
|
44
45
|
end
|
45
46
|
add_message "google.cloud.dialogflow.cx.v3.ConversationTurn" do
|
46
47
|
optional :user_input, :message, 1, "google.cloud.dialogflow.cx.v3.ConversationTurn.UserInput"
|
@@ -142,6 +142,7 @@ module Google
|
|
142
142
|
|
143
143
|
@operations_client = Operations.new do |config|
|
144
144
|
config.credentials = credentials
|
145
|
+
config.quota_project = @quota_project_id
|
145
146
|
config.endpoint = @config.endpoint
|
146
147
|
end
|
147
148
|
|
@@ -952,6 +953,12 @@ module Google
|
|
952
953
|
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
|
953
954
|
# to import test cases from. The format of this URI must be
|
954
955
|
# `gs://<bucket-name>/<object-name>`.
|
956
|
+
#
|
957
|
+
# Dialogflow performs a read operation for the Cloud Storage object
|
958
|
+
# on the caller's behalf, so your request authentication must
|
959
|
+
# have read permissions for the object. For more information, see
|
960
|
+
# [Dialogflow access
|
961
|
+
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
955
962
|
# @param content [::String]
|
956
963
|
# Uncompressed raw byte content for test cases.
|
957
964
|
#
|
@@ -1061,6 +1068,12 @@ module Google
|
|
1061
1068
|
# export the test cases to. The format of this URI must be
|
1062
1069
|
# `gs://<bucket-name>/<object-name>`. If unspecified, the serialized test
|
1063
1070
|
# cases is returned inline.
|
1071
|
+
#
|
1072
|
+
# Dialogflow performs a write operation for the Cloud Storage object
|
1073
|
+
# on the caller's behalf, so your request authentication must
|
1074
|
+
# have write permissions for the object. For more information, see
|
1075
|
+
# [Dialogflow access
|
1076
|
+
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
1064
1077
|
# @param data_format [::Google::Cloud::Dialogflow::CX::V3::ExportTestCasesRequest::DataFormat]
|
1065
1078
|
# The data format of the exported test cases. If not specified, `BLOB` is
|
1066
1079
|
# assumed.
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/dialogflow/cx/v3/validation_message.proto
|
3
3
|
|
4
|
-
require 'google/protobuf/struct_pb'
|
5
|
-
require 'google/api/annotations_pb'
|
6
4
|
require 'google/protobuf'
|
7
5
|
|
8
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -5,12 +5,7 @@ require 'google/api/annotations_pb'
|
|
5
5
|
require 'google/api/client_pb'
|
6
6
|
require 'google/api/field_behavior_pb'
|
7
7
|
require 'google/api/resource_pb'
|
8
|
-
require 'google/cloud/dialogflow/cx/v3/entity_type_pb'
|
9
8
|
require 'google/cloud/dialogflow/cx/v3/flow_pb'
|
10
|
-
require 'google/cloud/dialogflow/cx/v3/intent_pb'
|
11
|
-
require 'google/cloud/dialogflow/cx/v3/page_pb'
|
12
|
-
require 'google/cloud/dialogflow/cx/v3/transition_route_group_pb'
|
13
|
-
require 'google/cloud/dialogflow/cx/v3/webhook_pb'
|
14
9
|
require 'google/longrunning/operations_pb'
|
15
10
|
require 'google/protobuf/empty_pb'
|
16
11
|
require 'google/protobuf/field_mask_pb'
|
@@ -114,6 +114,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
114
114
|
end
|
115
115
|
add_message "google.cloud.dialogflow.cx.v3.PageInfo" do
|
116
116
|
optional :current_page, :string, 1
|
117
|
+
optional :display_name, :string, 4
|
117
118
|
optional :form_info, :message, 3, "google.cloud.dialogflow.cx.v3.PageInfo.FormInfo"
|
118
119
|
end
|
119
120
|
add_message "google.cloud.dialogflow.cx.v3.PageInfo.FormInfo" do
|
@@ -18,7 +18,6 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/dialogflow/cx/v3/pages"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/flows"
|
21
|
-
require "google/cloud/dialogflow/cx/v3/security_settings_service"
|
22
21
|
require "google/cloud/dialogflow/cx/v3/agents"
|
23
22
|
require "google/cloud/dialogflow/cx/v3/changelogs"
|
24
23
|
require "google/cloud/dialogflow/cx/v3/deployments"
|
@@ -28,10 +27,11 @@ require "google/cloud/dialogflow/cx/v3/session_entity_types"
|
|
28
27
|
require "google/cloud/dialogflow/cx/v3/sessions"
|
29
28
|
require "google/cloud/dialogflow/cx/v3/transition_route_groups"
|
30
29
|
require "google/cloud/dialogflow/cx/v3/test_cases"
|
31
|
-
require "google/cloud/dialogflow/cx/v3/webhooks"
|
32
30
|
require "google/cloud/dialogflow/cx/v3/environments"
|
33
31
|
require "google/cloud/dialogflow/cx/v3/experiments"
|
32
|
+
require "google/cloud/dialogflow/cx/v3/security_settings_service"
|
34
33
|
require "google/cloud/dialogflow/cx/v3/versions"
|
34
|
+
require "google/cloud/dialogflow/cx/v3/webhooks"
|
35
35
|
require "google/cloud/dialogflow/cx/v3/version"
|
36
36
|
|
37
37
|
module Google
|
@@ -41,6 +41,8 @@ module Google
|
|
41
41
|
##
|
42
42
|
# To load this package, including all its services, and instantiate a client:
|
43
43
|
#
|
44
|
+
# @example
|
45
|
+
#
|
44
46
|
# require "google/cloud/dialogflow/cx/v3"
|
45
47
|
# client = ::Google::Cloud::Dialogflow::CX::V3::Pages::Client.new
|
46
48
|
#
|
@@ -33,11 +33,7 @@ module Google
|
|
33
33
|
# // For Kubernetes resources, the format is {api group}/{kind}.
|
34
34
|
# option (google.api.resource) = {
|
35
35
|
# type: "pubsub.googleapis.com/Topic"
|
36
|
-
#
|
37
|
-
# pattern: "projects/{project}/topics/{topic}"
|
38
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
39
|
-
# parent_name_extractor: "projects/{project}"
|
40
|
-
# }
|
36
|
+
# pattern: "projects/{project}/topics/{topic}"
|
41
37
|
# };
|
42
38
|
# }
|
43
39
|
#
|
@@ -45,10 +41,7 @@ module Google
|
|
45
41
|
#
|
46
42
|
# resources:
|
47
43
|
# - type: "pubsub.googleapis.com/Topic"
|
48
|
-
#
|
49
|
-
# - pattern: "projects/{project}/topics/{topic}"
|
50
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
51
|
-
# parent_name_extractor: "projects/{project}"
|
44
|
+
# pattern: "projects/{project}/topics/{topic}"
|
52
45
|
#
|
53
46
|
# Sometimes, resources have multiple patterns, typically because they can
|
54
47
|
# live under multiple parents.
|
@@ -58,26 +51,10 @@ module Google
|
|
58
51
|
# message LogEntry {
|
59
52
|
# option (google.api.resource) = {
|
60
53
|
# type: "logging.googleapis.com/LogEntry"
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# }
|
66
|
-
# name_descriptor: {
|
67
|
-
# pattern: "folders/{folder}/logs/{log}"
|
68
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
69
|
-
# parent_name_extractor: "folders/{folder}"
|
70
|
-
# }
|
71
|
-
# name_descriptor: {
|
72
|
-
# pattern: "organizations/{organization}/logs/{log}"
|
73
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
74
|
-
# parent_name_extractor: "organizations/{organization}"
|
75
|
-
# }
|
76
|
-
# name_descriptor: {
|
77
|
-
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
78
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
79
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
80
|
-
# }
|
54
|
+
# pattern: "projects/{project}/logs/{log}"
|
55
|
+
# pattern: "folders/{folder}/logs/{log}"
|
56
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
57
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
81
58
|
# };
|
82
59
|
# }
|
83
60
|
#
|
@@ -85,48 +62,10 @@ module Google
|
|
85
62
|
#
|
86
63
|
# resources:
|
87
64
|
# - type: 'logging.googleapis.com/LogEntry'
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
# - pattern: "folders/{folder}/logs/{log}"
|
93
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
94
|
-
# parent_name_extractor: "folders/{folder}"
|
95
|
-
# - pattern: "organizations/{organization}/logs/{log}"
|
96
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
97
|
-
# parent_name_extractor: "organizations/{organization}"
|
98
|
-
# - pattern: "billingAccounts/{billing_account}/logs/{log}"
|
99
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
100
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
101
|
-
#
|
102
|
-
# For flexible resources, the resource name doesn't contain parent names, but
|
103
|
-
# the resource itself has parents for policy evaluation.
|
104
|
-
#
|
105
|
-
# Example:
|
106
|
-
#
|
107
|
-
# message Shelf {
|
108
|
-
# option (google.api.resource) = {
|
109
|
-
# type: "library.googleapis.com/Shelf"
|
110
|
-
# name_descriptor: {
|
111
|
-
# pattern: "shelves/{shelf}"
|
112
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
113
|
-
# }
|
114
|
-
# name_descriptor: {
|
115
|
-
# pattern: "shelves/{shelf}"
|
116
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
117
|
-
# }
|
118
|
-
# };
|
119
|
-
# }
|
120
|
-
#
|
121
|
-
# The ResourceDescriptor Yaml config will look like:
|
122
|
-
#
|
123
|
-
# resources:
|
124
|
-
# - type: 'library.googleapis.com/Shelf'
|
125
|
-
# name_descriptor:
|
126
|
-
# - pattern: "shelves/{shelf}"
|
127
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
128
|
-
# - pattern: "shelves/{shelf}"
|
129
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
65
|
+
# pattern: "projects/{project}/logs/{log}"
|
66
|
+
# pattern: "folders/{folder}/logs/{log}"
|
67
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
68
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
130
69
|
# @!attribute [rw] type
|
131
70
|
# @return [::String]
|
132
71
|
# The resource type. It must be in the format of
|
@@ -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
|
@@ -195,6 +199,15 @@ module Google
|
|
195
199
|
# export the agent to. The format of this URI must be
|
196
200
|
# `gs://<bucket-name>/<object-name>`.
|
197
201
|
# If left unspecified, the serialized agent is returned inline.
|
202
|
+
#
|
203
|
+
# Dialogflow performs a write operation for the Cloud Storage object
|
204
|
+
# on the caller's behalf, so your request authentication must
|
205
|
+
# have write permissions for the object. For more information, see
|
206
|
+
# [Dialogflow access
|
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.
|
198
211
|
# @!attribute [rw] environment
|
199
212
|
# @return [::String]
|
200
213
|
# Optional. Environment name. If not set, draft environment is assumed.
|
@@ -203,6 +216,15 @@ module Google
|
|
203
216
|
class ExportAgentRequest
|
204
217
|
include ::Google::Protobuf::MessageExts
|
205
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
|
206
228
|
end
|
207
229
|
|
208
230
|
# The response message for {::Google::Cloud::Dialogflow::CX::V3::Agents::Client#export_agent Agents.ExportAgent}.
|
@@ -228,6 +250,12 @@ module Google
|
|
228
250
|
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
|
229
251
|
# to restore agent from. The format of this URI must be
|
230
252
|
# `gs://<bucket-name>/<object-name>`.
|
253
|
+
#
|
254
|
+
# Dialogflow performs a read operation for the Cloud Storage object
|
255
|
+
# on the caller's behalf, so your request authentication must
|
256
|
+
# have read permissions for the object. For more information, see
|
257
|
+
# [Dialogflow access
|
258
|
+
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
231
259
|
# @!attribute [rw] agent_content
|
232
260
|
# @return [::String]
|
233
261
|
# Uncompressed raw byte content for agent.
|
@@ -78,7 +78,7 @@ module Google
|
|
78
78
|
# @!attribute [rw] enable_continuous_run
|
79
79
|
# @return [::Boolean]
|
80
80
|
# Whether to run test cases in {::Google::Cloud::Dialogflow::CX::V3::Environment::TestCasesConfig#test_cases TestCasesConfig.test_cases} periodically.
|
81
|
-
# Default false. If set to
|
81
|
+
# Default false. If set to true, run once a day.
|
82
82
|
# @!attribute [rw] enable_predeployment_run
|
83
83
|
# @return [::Boolean]
|
84
84
|
# Whether to run test cases in {::Google::Cloud::Dialogflow::CX::V3::Environment::TestCasesConfig#test_cases TestCasesConfig.test_cases} before
|
@@ -361,6 +361,12 @@ module Google
|
|
361
361
|
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
|
362
362
|
# to import flow from. The format of this URI must be
|
363
363
|
# `gs://<bucket-name>/<object-name>`.
|
364
|
+
#
|
365
|
+
# Dialogflow performs a read operation for the Cloud Storage object
|
366
|
+
# on the caller's behalf, so your request authentication must
|
367
|
+
# have read permissions for the object. For more information, see
|
368
|
+
# [Dialogflow access
|
369
|
+
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
364
370
|
# @!attribute [rw] flow_content
|
365
371
|
# @return [::String]
|
366
372
|
# Uncompressed raw byte content for flow.
|
@@ -411,6 +417,12 @@ module Google
|
|
411
417
|
# export the flow to. The format of this URI must be
|
412
418
|
# `gs://<bucket-name>/<object-name>`.
|
413
419
|
# If left unspecified, the serialized flow is returned inline.
|
420
|
+
#
|
421
|
+
# Dialogflow performs a write operation for the Cloud Storage object
|
422
|
+
# on the caller's behalf, so your request authentication must
|
423
|
+
# have write permissions for the object. For more information, see
|
424
|
+
# [Dialogflow access
|
425
|
+
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
414
426
|
# @!attribute [rw] include_referenced_flows
|
415
427
|
# @return [::Boolean]
|
416
428
|
# Optional. Whether to export flows referenced by the specified flow.
|
@@ -188,7 +188,7 @@ module Google
|
|
188
188
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
189
189
|
|
190
190
|
# Settings for exporting conversations to
|
191
|
-
# [Insights](https://cloud.google.com/
|
191
|
+
# [Insights](https://cloud.google.com/contact-center/insights/docs).
|
192
192
|
# @!attribute [rw] enable_insights_export
|
193
193
|
# @return [::Boolean]
|
194
194
|
# If enabled, we will automatically exports
|
@@ -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
|
@@ -624,8 +620,9 @@ module Google
|
|
624
620
|
# filled for {::Google::Cloud::Dialogflow::CX::V3::Match::MatchType `INTENT`} match type.
|
625
621
|
# @!attribute [rw] event
|
626
622
|
# @return [::String]
|
627
|
-
# The event that matched the query.
|
628
|
-
# {::Google::Cloud::Dialogflow::CX::V3::Match::MatchType `EVENT`}
|
623
|
+
# The event that matched the query. Filled for
|
624
|
+
# {::Google::Cloud::Dialogflow::CX::V3::Match::MatchType `EVENT`}, {::Google::Cloud::Dialogflow::CX::V3::Match::MatchType `NO_MATCH`} and
|
625
|
+
# {::Google::Cloud::Dialogflow::CX::V3::Match::MatchType `NO_INPUT`} match types.
|
629
626
|
# @!attribute [rw] parameters
|
630
627
|
# @return [::Google::Protobuf::Struct]
|
631
628
|
# The collection of parameters extracted from the query.
|
@@ -634,16 +631,14 @@ module Google
|
|
634
631
|
# map, associative array, symbol table, dictionary, or JSON object
|
635
632
|
# composed of a collection of (MapKey, MapValue) pairs:
|
636
633
|
#
|
637
|
-
#
|
638
|
-
#
|
639
|
-
#
|
640
|
-
#
|
641
|
-
#
|
642
|
-
#
|
643
|
-
#
|
644
|
-
#
|
645
|
-
# map from composite entity property names to property values
|
646
|
-
# - 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.
|
647
642
|
# @!attribute [rw] resolved_input
|
648
643
|
# @return [::String]
|
649
644
|
# Final text input which was matched during MatchIntent. This value can be
|
@@ -91,9 +91,24 @@ module Google
|
|
91
91
|
# Session parameters to be compared when calculating differences.
|
92
92
|
# @!attribute [rw] flow
|
93
93
|
# @return [::String]
|
94
|
-
# Flow name
|
94
|
+
# Flow name to start the test case with.
|
95
95
|
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
96
96
|
# ID>/flows/<Flow ID>`.
|
97
|
+
#
|
98
|
+
# Only one of `flow` and `page` should be set to indicate the starting point
|
99
|
+
# of the test case. If both are set, `page` takes precedence over `flow`. If
|
100
|
+
# neither is set, the test case will start with start page on the default
|
101
|
+
# start flow.
|
102
|
+
# @!attribute [rw] page
|
103
|
+
# @return [::String]
|
104
|
+
# The {::Google::Cloud::Dialogflow::CX::V3::Page page} to start the test case with.
|
105
|
+
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
106
|
+
# ID>/flows/<Flow ID>/pages/<Page ID>`.
|
107
|
+
#
|
108
|
+
# Only one of `flow` and `page` should be set to indicate the starting point
|
109
|
+
# of the test case. If both are set, `page` takes precedence over `flow`. If
|
110
|
+
# neither is set, the test case will start with start page on the default
|
111
|
+
# start flow.
|
97
112
|
class TestConfig
|
98
113
|
include ::Google::Protobuf::MessageExts
|
99
114
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -565,6 +580,12 @@ module Google
|
|
565
580
|
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
|
566
581
|
# to import test cases from. The format of this URI must be
|
567
582
|
# `gs://<bucket-name>/<object-name>`.
|
583
|
+
#
|
584
|
+
# Dialogflow performs a read operation for the Cloud Storage object
|
585
|
+
# on the caller's behalf, so your request authentication must
|
586
|
+
# have read permissions for the object. For more information, see
|
587
|
+
# [Dialogflow access
|
588
|
+
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
568
589
|
# @!attribute [rw] content
|
569
590
|
# @return [::String]
|
570
591
|
# Uncompressed raw byte content for test cases.
|
@@ -617,6 +638,12 @@ module Google
|
|
617
638
|
# export the test cases to. The format of this URI must be
|
618
639
|
# `gs://<bucket-name>/<object-name>`. If unspecified, the serialized test
|
619
640
|
# cases is returned inline.
|
641
|
+
#
|
642
|
+
# Dialogflow performs a write operation for the Cloud Storage object
|
643
|
+
# on the caller's behalf, so your request authentication must
|
644
|
+
# have write permissions for the object. For more information, see
|
645
|
+
# [Dialogflow access
|
646
|
+
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
620
647
|
# @!attribute [rw] data_format
|
621
648
|
# @return [::Google::Cloud::Dialogflow::CX::V3::ExportTestCasesRequest::DataFormat]
|
622
649
|
# The data format of the exported test cases. If not specified, `BLOB` is
|
@@ -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
|
@@ -399,6 +401,10 @@ module Google
|
|
399
401
|
# The unique identifier of the current page.
|
400
402
|
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
401
403
|
# ID>/flows/<Flow ID>/pages/<Page ID>`.
|
404
|
+
# @!attribute [rw] display_name
|
405
|
+
# @return [::String]
|
406
|
+
# Always present for {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest}. Ignored for {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}.
|
407
|
+
# The display name of the current page.
|
402
408
|
# @!attribute [rw] form_info
|
403
409
|
# @return [::Google::Cloud::Dialogflow::CX::V3::PageInfo::FormInfo]
|
404
410
|
# Optional for both {::Google::Cloud::Dialogflow::CX::V3::WebhookRequest WebhookRequest} and {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse WebhookResponse}.
|
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:
|
11
|
+
date: 2022-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -335,7 +335,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
335
335
|
- !ruby/object:Gem::Version
|
336
336
|
version: '0'
|
337
337
|
requirements: []
|
338
|
-
rubygems_version: 3.
|
338
|
+
rubygems_version: 3.3.5
|
339
339
|
signing_key:
|
340
340
|
specification_version: 4
|
341
341
|
summary: API Client library for the Dialogflow CX V3 API
|