google-cloud-dialogflow-cx-v3 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/agent_services_pb.rb +10 -1
- data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +9 -0
- data/lib/google/cloud/dialogflow/cx/v3/audio_config_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/deployment_pb.rb +63 -0
- data/lib/google/cloud/dialogflow/cx/v3/deployment_services_pb.rb +49 -0
- data/lib/google/cloud/dialogflow/cx/v3/deployments/client.rb +462 -0
- data/lib/google/cloud/dialogflow/cx/v3/deployments/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/deployments/paths.rb +79 -0
- data/lib/google/cloud/dialogflow/cx/v3/deployments.rb +51 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_type_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/entity_type_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/environment_pb.rb +23 -2
- data/lib/google/cloud/dialogflow/cx/v3/environment_services_pb.rb +33 -1
- data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +112 -0
- data/lib/google/cloud/dialogflow/cx/v3/environments/paths.rb +21 -0
- data/lib/google/cloud/dialogflow/cx/v3/experiment_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/experiment_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/flow_services_pb.rb +26 -1
- data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +25 -0
- data/lib/google/cloud/dialogflow/cx/v3/fulfillment_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/intent_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/intent_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/page_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/page_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/response_message_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_type_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_type_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +3 -2
- data/lib/google/cloud/dialogflow/cx/v3/session_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/test_case_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/test_case_services_pb.rb +23 -1
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +22 -0
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/validation_message_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/version_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/version_services_pb.rb +17 -1
- data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +16 -0
- data/lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/webhook_services_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3.rb +1 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/deployment.rb +135 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/environment.rb +62 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/security_settings.rb +4 -1
- data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +4 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb +1 -0
- metadata +9 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c569fab9e4982554d1a6848682bbc6b2be3101809f17433f34fd717a4b690dd
|
4
|
+
data.tar.gz: f8412e6d023b6b0736a3689b345ec68a32f4dc315fddc70ab4f6099a45cd2480
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a2fd77e6556c9d6bb68bdbc79eae991c6bdfe326aa6e93f23a694ef3af861c880853fdc192e63353d65a6080dfd380902c14091df251089f759f1a3f1b709d9
|
7
|
+
data.tar.gz: a8abd49e9cf183f7f199f35e770c28b4716725072b4ea3373a74e0043e3f8e6a2e9213be909cddfc8af765e4adb3d960f41a0d93a8ea79c3f03c1824f7e0af25
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/dialogflow/cx/v3/advanced_settings.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/protobuf/duration_pb'
|
8
6
|
require 'google/api/annotations_pb'
|
7
|
+
require 'google/protobuf'
|
8
|
+
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("google/cloud/dialogflow/cx/v3/advanced_settings.proto", :syntax => :proto3) do
|
11
11
|
add_message "google.cloud.dialogflow.cx.v3.AdvancedSettings" do
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/dialogflow/cx/v3/agent.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/field_behavior_pb'
|
@@ -13,6 +11,8 @@ require 'google/cloud/dialogflow/cx/v3/security_settings_pb'
|
|
13
11
|
require 'google/longrunning/operations_pb'
|
14
12
|
require 'google/protobuf/empty_pb'
|
15
13
|
require 'google/protobuf/field_mask_pb'
|
14
|
+
require 'google/protobuf'
|
15
|
+
|
16
16
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
17
17
|
add_file("google/cloud/dialogflow/cx/v3/agent.proto", :syntax => :proto3) do
|
18
18
|
add_message "google.cloud.dialogflow.cx.v3.SpeechToTextSettings" do
|
@@ -28,7 +28,7 @@ module Google
|
|
28
28
|
# Service for managing [Agents][google.cloud.dialogflow.cx.v3.Agent].
|
29
29
|
class Service
|
30
30
|
|
31
|
-
include GRPC::GenericService
|
31
|
+
include ::GRPC::GenericService
|
32
32
|
|
33
33
|
self.marshal_class_method = :encode
|
34
34
|
self.unmarshal_class_method = :decode
|
@@ -53,6 +53,7 @@ module Google
|
|
53
53
|
# Deletes the specified agent.
|
54
54
|
rpc :DeleteAgent, ::Google::Cloud::Dialogflow::CX::V3::DeleteAgentRequest, ::Google::Protobuf::Empty
|
55
55
|
# Exports the specified agent to a binary file.
|
56
|
+
#
|
56
57
|
# This method is a [long-running
|
57
58
|
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
|
58
59
|
# The returned `Operation` type has the following method-specific fields:
|
@@ -66,6 +67,14 @@ module Google
|
|
66
67
|
# Replaces the current agent with a new one. Note that all existing resources
|
67
68
|
# in agent (e.g. intents, entity types, flows) will be removed.
|
68
69
|
#
|
70
|
+
# This method is a [long-running
|
71
|
+
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
|
72
|
+
# The returned `Operation` type has the following method-specific fields:
|
73
|
+
#
|
74
|
+
# - `metadata`: An empty [Struct
|
75
|
+
# message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
|
76
|
+
# - `response`: An [Empty
|
77
|
+
# message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
69
78
|
#
|
70
79
|
# Note: You should always train flows prior to sending them queries. See the
|
71
80
|
# [training
|
@@ -527,6 +527,7 @@ module Google
|
|
527
527
|
|
528
528
|
##
|
529
529
|
# Exports the specified agent to a binary file.
|
530
|
+
#
|
530
531
|
# This method is a [long-running
|
531
532
|
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
|
532
533
|
# The returned `Operation` type has the following method-specific fields:
|
@@ -617,6 +618,14 @@ module Google
|
|
617
618
|
# Replaces the current agent with a new one. Note that all existing resources
|
618
619
|
# in agent (e.g. intents, entity types, flows) will be removed.
|
619
620
|
#
|
621
|
+
# This method is a [long-running
|
622
|
+
# operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
|
623
|
+
# The returned `Operation` type has the following method-specific fields:
|
624
|
+
#
|
625
|
+
# - `metadata`: An empty [Struct
|
626
|
+
# message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
|
627
|
+
# - `response`: An [Empty
|
628
|
+
# message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
|
620
629
|
#
|
621
630
|
# Note: You should always train flows prior to sending them queries. See the
|
622
631
|
# [training
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/dialogflow/cx/v3/audio_config.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/api/resource_pb'
|
8
6
|
require 'google/protobuf/duration_pb'
|
9
7
|
require 'google/protobuf/timestamp_pb'
|
10
8
|
require 'google/api/annotations_pb'
|
9
|
+
require 'google/protobuf'
|
10
|
+
|
11
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
12
|
add_file("google/cloud/dialogflow/cx/v3/audio_config.proto", :syntax => :proto3) do
|
13
13
|
add_message "google.cloud.dialogflow.cx.v3.SpeechWordInfo" do
|
@@ -0,0 +1,63 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/dialogflow/cx/v3/deployment.proto
|
3
|
+
|
4
|
+
require 'google/api/annotations_pb'
|
5
|
+
require 'google/api/client_pb'
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
require 'google/api/resource_pb'
|
8
|
+
require 'google/protobuf/empty_pb'
|
9
|
+
require 'google/protobuf/field_mask_pb'
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
11
|
+
require 'google/protobuf'
|
12
|
+
|
13
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
|
+
add_file("google/cloud/dialogflow/cx/v3/deployment.proto", :syntax => :proto3) do
|
15
|
+
add_message "google.cloud.dialogflow.cx.v3.Deployment" do
|
16
|
+
optional :name, :string, 1
|
17
|
+
optional :flow_version, :string, 2
|
18
|
+
optional :state, :enum, 3, "google.cloud.dialogflow.cx.v3.Deployment.State"
|
19
|
+
optional :result, :message, 4, "google.cloud.dialogflow.cx.v3.Deployment.Result"
|
20
|
+
optional :start_time, :message, 5, "google.protobuf.Timestamp"
|
21
|
+
optional :end_time, :message, 6, "google.protobuf.Timestamp"
|
22
|
+
end
|
23
|
+
add_message "google.cloud.dialogflow.cx.v3.Deployment.Result" do
|
24
|
+
repeated :deployment_test_results, :string, 1
|
25
|
+
optional :experiment, :string, 2
|
26
|
+
end
|
27
|
+
add_enum "google.cloud.dialogflow.cx.v3.Deployment.State" do
|
28
|
+
value :STATE_UNSPECIFIED, 0
|
29
|
+
value :RUNNING, 1
|
30
|
+
value :SUCCEEDED, 2
|
31
|
+
value :FAILED, 3
|
32
|
+
end
|
33
|
+
add_message "google.cloud.dialogflow.cx.v3.ListDeploymentsRequest" do
|
34
|
+
optional :parent, :string, 1
|
35
|
+
optional :page_size, :int32, 2
|
36
|
+
optional :page_token, :string, 3
|
37
|
+
end
|
38
|
+
add_message "google.cloud.dialogflow.cx.v3.ListDeploymentsResponse" do
|
39
|
+
repeated :deployments, :message, 1, "google.cloud.dialogflow.cx.v3.Deployment"
|
40
|
+
optional :next_page_token, :string, 2
|
41
|
+
end
|
42
|
+
add_message "google.cloud.dialogflow.cx.v3.GetDeploymentRequest" do
|
43
|
+
optional :name, :string, 1
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
module Google
|
49
|
+
module Cloud
|
50
|
+
module Dialogflow
|
51
|
+
module CX
|
52
|
+
module V3
|
53
|
+
Deployment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Deployment").msgclass
|
54
|
+
Deployment::Result = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Deployment.Result").msgclass
|
55
|
+
Deployment::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Deployment.State").enummodule
|
56
|
+
ListDeploymentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListDeploymentsRequest").msgclass
|
57
|
+
ListDeploymentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListDeploymentsResponse").msgclass
|
58
|
+
GetDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.GetDeploymentRequest").msgclass
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/dialogflow/cx/v3/deployment.proto for package 'Google.Cloud.Dialogflow.CX.V3'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2021 Google LLC
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/cloud/dialogflow/cx/v3/deployment_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module Dialogflow
|
25
|
+
module CX
|
26
|
+
module V3
|
27
|
+
module Deployments
|
28
|
+
# Service for managing [Deployments][google.cloud.dialogflow.cx.v3.Deployment].
|
29
|
+
class Service
|
30
|
+
|
31
|
+
include ::GRPC::GenericService
|
32
|
+
|
33
|
+
self.marshal_class_method = :encode
|
34
|
+
self.unmarshal_class_method = :decode
|
35
|
+
self.service_name = 'google.cloud.dialogflow.cx.v3.Deployments'
|
36
|
+
|
37
|
+
# Returns the list of all deployments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
|
38
|
+
rpc :ListDeployments, ::Google::Cloud::Dialogflow::CX::V3::ListDeploymentsRequest, ::Google::Cloud::Dialogflow::CX::V3::ListDeploymentsResponse
|
39
|
+
# Retrieves the specified [Deployment][google.cloud.dialogflow.cx.v3.Deployment].
|
40
|
+
rpc :GetDeployment, ::Google::Cloud::Dialogflow::CX::V3::GetDeploymentRequest, ::Google::Cloud::Dialogflow::CX::V3::Deployment
|
41
|
+
end
|
42
|
+
|
43
|
+
Stub = Service.rpc_stub_class
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|