google-cloud-dialogflow-cx-v3 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +201 -0
- data/README.md +139 -0
- data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +32 -0
- data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +122 -0
- data/lib/google/cloud/dialogflow/cx/v3/agent_services_pb.rb +82 -0
- data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +1051 -0
- data/lib/google/cloud/dialogflow/cx/v3/agents/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/agents/operations.rb +666 -0
- data/lib/google/cloud/dialogflow/cx/v3/agents/paths.rb +151 -0
- data/lib/google/cloud/dialogflow/cx/v3/agents.rb +52 -0
- data/lib/google/cloud/dialogflow/cx/v3/audio_config_pb.rb +94 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_type_pb.rb +92 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_type_services_pb.rb +67 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +766 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/paths.rb +75 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types.rb +51 -0
- data/lib/google/cloud/dialogflow/cx/v3/environment_pb.rb +117 -0
- data/lib/google/cloud/dialogflow/cx/v3/environment_services_pb.rb +61 -0
- data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +950 -0
- data/lib/google/cloud/dialogflow/cx/v3/environments/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/environments/operations.rb +666 -0
- data/lib/google/cloud/dialogflow/cx/v3/environments/paths.rb +98 -0
- data/lib/google/cloud/dialogflow/cx/v3/environments.rb +52 -0
- data/lib/google/cloud/dialogflow/cx/v3/experiment_pb.rb +177 -0
- data/lib/google/cloud/dialogflow/cx/v3/experiment_services_pb.rb +61 -0
- data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +851 -0
- data/lib/google/cloud/dialogflow/cx/v3/experiments/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/experiments/paths.rb +102 -0
- data/lib/google/cloud/dialogflow/cx/v3/experiments.rb +51 -0
- data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +145 -0
- data/lib/google/cloud/dialogflow/cx/v3/flow_services_pb.rb +88 -0
- data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +1200 -0
- data/lib/google/cloud/dialogflow/cx/v3/flows/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/flows/operations.rb +666 -0
- data/lib/google/cloud/dialogflow/cx/v3/flows/paths.rb +184 -0
- data/lib/google/cloud/dialogflow/cx/v3/flows.rb +52 -0
- data/lib/google/cloud/dialogflow/cx/v3/fulfillment_pb.rb +55 -0
- data/lib/google/cloud/dialogflow/cx/v3/intent_pb.rb +97 -0
- data/lib/google/cloud/dialogflow/cx/v3/intent_services_pb.rb +67 -0
- data/lib/google/cloud/dialogflow/cx/v3/intents/client.rb +750 -0
- data/lib/google/cloud/dialogflow/cx/v3/intents/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/intents/paths.rb +96 -0
- data/lib/google/cloud/dialogflow/cx/v3/intents.rb +51 -0
- data/lib/google/cloud/dialogflow/cx/v3/page_pb.rb +113 -0
- data/lib/google/cloud/dialogflow/cx/v3/page_services_pb.rb +67 -0
- data/lib/google/cloud/dialogflow/cx/v3/pages/client.rb +805 -0
- data/lib/google/cloud/dialogflow/cx/v3/pages/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/pages/paths.rb +165 -0
- data/lib/google/cloud/dialogflow/cx/v3/pages.rb +51 -0
- data/lib/google/cloud/dialogflow/cx/v3/response_message_pb.rb +77 -0
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb +89 -0
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +696 -0
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/paths.rb +157 -0
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_service.rb +51 -0
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_services_pb.rb +56 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_type_pb.rb +68 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_type_services_pb.rb +55 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +715 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/paths.rb +137 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_types.rb +51 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +209 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_services_pb.rb +71 -0
- data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +654 -0
- data/lib/google/cloud/dialogflow/cx/v3/sessions/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/sessions/paths.rb +225 -0
- data/lib/google/cloud/dialogflow/cx/v3/sessions.rb +53 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_case_pb.rb +302 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_case_services_pb.rb +73 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +1324 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/operations.rb +666 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/paths.rb +249 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_cases.rb +53 -0
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_pb.rb +67 -0
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_services_pb.rb +67 -0
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +766 -0
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/paths.rb +144 -0
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups.rb +51 -0
- data/lib/google/cloud/dialogflow/cx/v3/validation_message_pb.rb +59 -0
- data/lib/google/cloud/dialogflow/cx/v3/version.rb +30 -0
- data/lib/google/cloud/dialogflow/cx/v3/version_pb.rb +88 -0
- data/lib/google/cloud/dialogflow/cx/v3/version_services_pb.rb +57 -0
- data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +792 -0
- data/lib/google/cloud/dialogflow/cx/v3/versions/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/versions/operations.rb +666 -0
- data/lib/google/cloud/dialogflow/cx/v3/versions/paths.rb +79 -0
- data/lib/google/cloud/dialogflow/cx/v3/versions.rb +52 -0
- data/lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb +172 -0
- data/lib/google/cloud/dialogflow/cx/v3/webhook_services_pb.rb +55 -0
- data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +704 -0
- data/lib/google/cloud/dialogflow/cx/v3/webhooks/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/webhooks/paths.rb +96 -0
- data/lib/google/cloud/dialogflow/cx/v3/webhooks.rb +51 -0
- data/lib/google/cloud/dialogflow/cx/v3.rb +53 -0
- data/lib/google-cloud-dialogflow-cx-v3.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +71 -0
- data/proto_docs/google/api/resource.rb +283 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/advanced_settings.rb +57 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +301 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb +322 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/entity_type.rb +306 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/environment.rb +279 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/experiment.rb +438 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/flow.rb +438 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/fulfillment.rb +126 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/intent.rb +318 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/page.rb +478 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/response_message.rb +220 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/security_settings.rb +222 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +798 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/session_entity_type.rb +184 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb +757 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/transition_route_group.rb +195 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/validation_message.rb +121 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/version.rb +182 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +496 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +141 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/struct.rb +96 -0
- data/proto_docs/google/protobuf/timestamp.rb +129 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- data/proto_docs/google/type/latlng.rb +38 -0
- metadata +326 -0
@@ -0,0 +1,54 @@
|
|
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
|
+
require "googleauth"
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Cloud
|
23
|
+
module Dialogflow
|
24
|
+
module CX
|
25
|
+
module V3
|
26
|
+
module SecuritySettingsService
|
27
|
+
# Credentials for the SecuritySettingsService API.
|
28
|
+
class Credentials < ::Google::Auth::Credentials
|
29
|
+
self.scope = [
|
30
|
+
"https://www.googleapis.com/auth/cloud-platform",
|
31
|
+
"https://www.googleapis.com/auth/dialogflow"
|
32
|
+
]
|
33
|
+
self.env_vars = [
|
34
|
+
"DIALOGFLOW_CREDENTIALS",
|
35
|
+
"DIALOGFLOW_KEYFILE",
|
36
|
+
"GOOGLE_CLOUD_CREDENTIALS",
|
37
|
+
"GOOGLE_CLOUD_KEYFILE",
|
38
|
+
"GCLOUD_KEYFILE",
|
39
|
+
"DIALOGFLOW_CREDENTIALS_JSON",
|
40
|
+
"DIALOGFLOW_KEYFILE_JSON",
|
41
|
+
"GOOGLE_CLOUD_CREDENTIALS_JSON",
|
42
|
+
"GOOGLE_CLOUD_KEYFILE_JSON",
|
43
|
+
"GCLOUD_KEYFILE_JSON"
|
44
|
+
]
|
45
|
+
self.paths = [
|
46
|
+
"~/.config/google_cloud/application_default_credentials.json"
|
47
|
+
]
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,157 @@
|
|
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 CX
|
24
|
+
module V3
|
25
|
+
module SecuritySettingsService
|
26
|
+
# Path helper methods for the SecuritySettingsService API.
|
27
|
+
module Paths
|
28
|
+
##
|
29
|
+
# Create a fully-qualified DeidentifyTemplate resource string.
|
30
|
+
#
|
31
|
+
# @overload deidentify_template_path(organization:, location:, deidentify_template:)
|
32
|
+
# The resource will be in the following format:
|
33
|
+
#
|
34
|
+
# `organizations/{organization}/locations/{location}/deidentifyTemplates/{deidentify_template}`
|
35
|
+
#
|
36
|
+
# @param organization [String]
|
37
|
+
# @param location [String]
|
38
|
+
# @param deidentify_template [String]
|
39
|
+
#
|
40
|
+
# @overload deidentify_template_path(project:, location:, deidentify_template:)
|
41
|
+
# The resource will be in the following format:
|
42
|
+
#
|
43
|
+
# `projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}`
|
44
|
+
#
|
45
|
+
# @param project [String]
|
46
|
+
# @param location [String]
|
47
|
+
# @param deidentify_template [String]
|
48
|
+
#
|
49
|
+
# @return [::String]
|
50
|
+
def deidentify_template_path **args
|
51
|
+
resources = {
|
52
|
+
"deidentify_template:location:organization" => (proc do |organization:, location:, deidentify_template:|
|
53
|
+
raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
|
54
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
55
|
+
|
56
|
+
"organizations/#{organization}/locations/#{location}/deidentifyTemplates/#{deidentify_template}"
|
57
|
+
end),
|
58
|
+
"deidentify_template:location:project" => (proc do |project:, location:, deidentify_template:|
|
59
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
60
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
61
|
+
|
62
|
+
"projects/#{project}/locations/#{location}/deidentifyTemplates/#{deidentify_template}"
|
63
|
+
end)
|
64
|
+
}
|
65
|
+
|
66
|
+
resource = resources[args.keys.sort.join(":")]
|
67
|
+
raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
68
|
+
resource.call(**args)
|
69
|
+
end
|
70
|
+
|
71
|
+
##
|
72
|
+
# Create a fully-qualified InspectTemplate resource string.
|
73
|
+
#
|
74
|
+
# @overload inspect_template_path(organization:, location:, inspect_template:)
|
75
|
+
# The resource will be in the following format:
|
76
|
+
#
|
77
|
+
# `organizations/{organization}/locations/{location}/inspectTemplates/{inspect_template}`
|
78
|
+
#
|
79
|
+
# @param organization [String]
|
80
|
+
# @param location [String]
|
81
|
+
# @param inspect_template [String]
|
82
|
+
#
|
83
|
+
# @overload inspect_template_path(project:, location:, inspect_template:)
|
84
|
+
# The resource will be in the following format:
|
85
|
+
#
|
86
|
+
# `projects/{project}/locations/{location}/inspectTemplates/{inspect_template}`
|
87
|
+
#
|
88
|
+
# @param project [String]
|
89
|
+
# @param location [String]
|
90
|
+
# @param inspect_template [String]
|
91
|
+
#
|
92
|
+
# @return [::String]
|
93
|
+
def inspect_template_path **args
|
94
|
+
resources = {
|
95
|
+
"inspect_template:location:organization" => (proc do |organization:, location:, inspect_template:|
|
96
|
+
raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
|
97
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
98
|
+
|
99
|
+
"organizations/#{organization}/locations/#{location}/inspectTemplates/#{inspect_template}"
|
100
|
+
end),
|
101
|
+
"inspect_template:location:project" => (proc do |project:, location:, inspect_template:|
|
102
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
103
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
104
|
+
|
105
|
+
"projects/#{project}/locations/#{location}/inspectTemplates/#{inspect_template}"
|
106
|
+
end)
|
107
|
+
}
|
108
|
+
|
109
|
+
resource = resources[args.keys.sort.join(":")]
|
110
|
+
raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
111
|
+
resource.call(**args)
|
112
|
+
end
|
113
|
+
|
114
|
+
##
|
115
|
+
# Create a fully-qualified Location resource string.
|
116
|
+
#
|
117
|
+
# The resource will be in the following format:
|
118
|
+
#
|
119
|
+
# `projects/{project}/locations/{location}`
|
120
|
+
#
|
121
|
+
# @param project [String]
|
122
|
+
# @param location [String]
|
123
|
+
#
|
124
|
+
# @return [::String]
|
125
|
+
def location_path project:, location:
|
126
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
127
|
+
|
128
|
+
"projects/#{project}/locations/#{location}"
|
129
|
+
end
|
130
|
+
|
131
|
+
##
|
132
|
+
# Create a fully-qualified SecuritySettings resource string.
|
133
|
+
#
|
134
|
+
# The resource will be in the following format:
|
135
|
+
#
|
136
|
+
# `projects/{project}/locations/{location}/securitySettings/{security_settings}`
|
137
|
+
#
|
138
|
+
# @param project [String]
|
139
|
+
# @param location [String]
|
140
|
+
# @param security_settings [String]
|
141
|
+
#
|
142
|
+
# @return [::String]
|
143
|
+
def security_settings_path project:, location:, security_settings:
|
144
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
145
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
146
|
+
|
147
|
+
"projects/#{project}/locations/#{location}/securitySettings/#{security_settings}"
|
148
|
+
end
|
149
|
+
|
150
|
+
extend self
|
151
|
+
end
|
152
|
+
end
|
153
|
+
end
|
154
|
+
end
|
155
|
+
end
|
156
|
+
end
|
157
|
+
end
|
@@ -0,0 +1,51 @@
|
|
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
|
+
require "gapic/common"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/dialogflow/cx/v3/version"
|
24
|
+
|
25
|
+
require "google/cloud/dialogflow/cx/v3/security_settings_service/credentials"
|
26
|
+
require "google/cloud/dialogflow/cx/v3/security_settings_service/paths"
|
27
|
+
require "google/cloud/dialogflow/cx/v3/security_settings_service/client"
|
28
|
+
|
29
|
+
module Google
|
30
|
+
module Cloud
|
31
|
+
module Dialogflow
|
32
|
+
module CX
|
33
|
+
module V3
|
34
|
+
##
|
35
|
+
# Service for managing security settings for Dialogflow.
|
36
|
+
#
|
37
|
+
# To load this service and instantiate a client:
|
38
|
+
#
|
39
|
+
# require "google/cloud/dialogflow/cx/v3/security_settings_service"
|
40
|
+
# client = ::Google::Cloud::Dialogflow::CX::V3::SecuritySettingsService::Client.new
|
41
|
+
#
|
42
|
+
module SecuritySettingsService
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
helper_path = ::File.join __dir__, "security_settings_service", "helpers.rb"
|
51
|
+
require "google/cloud/dialogflow/cx/v3/security_settings_service/helpers" if ::File.file? helper_path
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/dialogflow/cx/v3/security_settings.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/security_settings_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module Dialogflow
|
25
|
+
module CX
|
26
|
+
module V3
|
27
|
+
module SecuritySettingsService
|
28
|
+
# Service for managing security settings for Dialogflow.
|
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.SecuritySettingsService'
|
36
|
+
|
37
|
+
# Create security settings in the specified location.
|
38
|
+
rpc :CreateSecuritySettings, ::Google::Cloud::Dialogflow::CX::V3::CreateSecuritySettingsRequest, ::Google::Cloud::Dialogflow::CX::V3::SecuritySettings
|
39
|
+
# Retrieves the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].
|
40
|
+
# The returned settings may be stale by up to 1 minute.
|
41
|
+
rpc :GetSecuritySettings, ::Google::Cloud::Dialogflow::CX::V3::GetSecuritySettingsRequest, ::Google::Cloud::Dialogflow::CX::V3::SecuritySettings
|
42
|
+
# Updates the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].
|
43
|
+
rpc :UpdateSecuritySettings, ::Google::Cloud::Dialogflow::CX::V3::UpdateSecuritySettingsRequest, ::Google::Cloud::Dialogflow::CX::V3::SecuritySettings
|
44
|
+
# Returns the list of all security settings in the specified location.
|
45
|
+
rpc :ListSecuritySettings, ::Google::Cloud::Dialogflow::CX::V3::ListSecuritySettingsRequest, ::Google::Cloud::Dialogflow::CX::V3::ListSecuritySettingsResponse
|
46
|
+
# Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].
|
47
|
+
rpc :DeleteSecuritySettings, ::Google::Cloud::Dialogflow::CX::V3::DeleteSecuritySettingsRequest, ::Google::Protobuf::Empty
|
48
|
+
end
|
49
|
+
|
50
|
+
Stub = Service.rpc_stub_class
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,68 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/dialogflow/cx/v3/session_entity_type.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'google/api/client_pb'
|
8
|
+
require 'google/api/field_behavior_pb'
|
9
|
+
require 'google/api/resource_pb'
|
10
|
+
require 'google/cloud/dialogflow/cx/v3/entity_type_pb'
|
11
|
+
require 'google/protobuf/empty_pb'
|
12
|
+
require 'google/protobuf/field_mask_pb'
|
13
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
|
+
add_file("google/cloud/dialogflow/cx/v3/session_entity_type.proto", :syntax => :proto3) do
|
15
|
+
add_message "google.cloud.dialogflow.cx.v3.SessionEntityType" do
|
16
|
+
optional :name, :string, 1
|
17
|
+
optional :entity_override_mode, :enum, 3, "google.cloud.dialogflow.cx.v3.SessionEntityType.EntityOverrideMode"
|
18
|
+
repeated :entities, :message, 4, "google.cloud.dialogflow.cx.v3.EntityType.Entity"
|
19
|
+
end
|
20
|
+
add_enum "google.cloud.dialogflow.cx.v3.SessionEntityType.EntityOverrideMode" do
|
21
|
+
value :ENTITY_OVERRIDE_MODE_UNSPECIFIED, 0
|
22
|
+
value :ENTITY_OVERRIDE_MODE_OVERRIDE, 1
|
23
|
+
value :ENTITY_OVERRIDE_MODE_SUPPLEMENT, 2
|
24
|
+
end
|
25
|
+
add_message "google.cloud.dialogflow.cx.v3.ListSessionEntityTypesRequest" do
|
26
|
+
optional :parent, :string, 1
|
27
|
+
optional :page_size, :int32, 2
|
28
|
+
optional :page_token, :string, 3
|
29
|
+
end
|
30
|
+
add_message "google.cloud.dialogflow.cx.v3.ListSessionEntityTypesResponse" do
|
31
|
+
repeated :session_entity_types, :message, 1, "google.cloud.dialogflow.cx.v3.SessionEntityType"
|
32
|
+
optional :next_page_token, :string, 2
|
33
|
+
end
|
34
|
+
add_message "google.cloud.dialogflow.cx.v3.GetSessionEntityTypeRequest" do
|
35
|
+
optional :name, :string, 1
|
36
|
+
end
|
37
|
+
add_message "google.cloud.dialogflow.cx.v3.CreateSessionEntityTypeRequest" do
|
38
|
+
optional :parent, :string, 1
|
39
|
+
optional :session_entity_type, :message, 2, "google.cloud.dialogflow.cx.v3.SessionEntityType"
|
40
|
+
end
|
41
|
+
add_message "google.cloud.dialogflow.cx.v3.UpdateSessionEntityTypeRequest" do
|
42
|
+
optional :session_entity_type, :message, 1, "google.cloud.dialogflow.cx.v3.SessionEntityType"
|
43
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
44
|
+
end
|
45
|
+
add_message "google.cloud.dialogflow.cx.v3.DeleteSessionEntityTypeRequest" do
|
46
|
+
optional :name, :string, 1
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
module Google
|
52
|
+
module Cloud
|
53
|
+
module Dialogflow
|
54
|
+
module CX
|
55
|
+
module V3
|
56
|
+
SessionEntityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.SessionEntityType").msgclass
|
57
|
+
SessionEntityType::EntityOverrideMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.SessionEntityType.EntityOverrideMode").enummodule
|
58
|
+
ListSessionEntityTypesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListSessionEntityTypesRequest").msgclass
|
59
|
+
ListSessionEntityTypesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListSessionEntityTypesResponse").msgclass
|
60
|
+
GetSessionEntityTypeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.GetSessionEntityTypeRequest").msgclass
|
61
|
+
CreateSessionEntityTypeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.CreateSessionEntityTypeRequest").msgclass
|
62
|
+
UpdateSessionEntityTypeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.UpdateSessionEntityTypeRequest").msgclass
|
63
|
+
DeleteSessionEntityTypeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.DeleteSessionEntityTypeRequest").msgclass
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/dialogflow/cx/v3/session_entity_type.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/session_entity_type_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module Dialogflow
|
25
|
+
module CX
|
26
|
+
module V3
|
27
|
+
module SessionEntityTypes
|
28
|
+
# Service for managing [SessionEntityTypes][google.cloud.dialogflow.cx.v3.SessionEntityType].
|
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.SessionEntityTypes'
|
36
|
+
|
37
|
+
# Returns the list of all session entity types in the specified session.
|
38
|
+
rpc :ListSessionEntityTypes, ::Google::Cloud::Dialogflow::CX::V3::ListSessionEntityTypesRequest, ::Google::Cloud::Dialogflow::CX::V3::ListSessionEntityTypesResponse
|
39
|
+
# Retrieves the specified session entity type.
|
40
|
+
rpc :GetSessionEntityType, ::Google::Cloud::Dialogflow::CX::V3::GetSessionEntityTypeRequest, ::Google::Cloud::Dialogflow::CX::V3::SessionEntityType
|
41
|
+
# Creates a session entity type.
|
42
|
+
rpc :CreateSessionEntityType, ::Google::Cloud::Dialogflow::CX::V3::CreateSessionEntityTypeRequest, ::Google::Cloud::Dialogflow::CX::V3::SessionEntityType
|
43
|
+
# Updates the specified session entity type.
|
44
|
+
rpc :UpdateSessionEntityType, ::Google::Cloud::Dialogflow::CX::V3::UpdateSessionEntityTypeRequest, ::Google::Cloud::Dialogflow::CX::V3::SessionEntityType
|
45
|
+
# Deletes the specified session entity type.
|
46
|
+
rpc :DeleteSessionEntityType, ::Google::Cloud::Dialogflow::CX::V3::DeleteSessionEntityTypeRequest, ::Google::Protobuf::Empty
|
47
|
+
end
|
48
|
+
|
49
|
+
Stub = Service.rpc_stub_class
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|