google-cloud-ces-v1 0.a → 0.1.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.
Files changed (137) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +154 -8
  5. data/lib/google/cloud/ces/v1/agent_pb.rb +30 -0
  6. data/lib/google/cloud/ces/v1/agent_service/client.rb +5315 -0
  7. data/lib/google/cloud/ces/v1/agent_service/credentials.rb +48 -0
  8. data/lib/google/cloud/ces/v1/agent_service/operations.rb +841 -0
  9. data/lib/google/cloud/ces/v1/agent_service/paths.rb +424 -0
  10. data/lib/google/cloud/ces/v1/agent_service/rest/client.rb +4944 -0
  11. data/lib/google/cloud/ces/v1/agent_service/rest/operations.rb +925 -0
  12. data/lib/google/cloud/ces/v1/agent_service/rest/service_stub.rb +3028 -0
  13. data/lib/google/cloud/ces/v1/agent_service/rest.rb +55 -0
  14. data/lib/google/cloud/ces/v1/agent_service.rb +57 -0
  15. data/lib/google/cloud/ces/v1/agent_service_pb.rb +105 -0
  16. data/lib/google/cloud/ces/v1/agent_service_services_pb.rb +142 -0
  17. data/lib/google/cloud/ces/v1/agent_tool_pb.rb +24 -0
  18. data/lib/google/cloud/ces/v1/agent_transfers_pb.rb +29 -0
  19. data/lib/google/cloud/ces/v1/app_pb.rb +58 -0
  20. data/lib/google/cloud/ces/v1/app_version_pb.rb +32 -0
  21. data/lib/google/cloud/ces/v1/auth_pb.rb +34 -0
  22. data/lib/google/cloud/ces/v1/bigquery_export_pb.rb +23 -0
  23. data/lib/google/cloud/ces/v1/bindings_override.rb +75 -0
  24. data/lib/google/cloud/ces/v1/changelog_pb.rb +26 -0
  25. data/lib/google/cloud/ces/v1/client_function_pb.rb +24 -0
  26. data/lib/google/cloud/ces/v1/common_pb.rb +46 -0
  27. data/lib/google/cloud/ces/v1/connector_tool_pb.rb +27 -0
  28. data/lib/google/cloud/ces/v1/connector_toolset_pb.rb +25 -0
  29. data/lib/google/cloud/ces/v1/conversation_pb.rb +31 -0
  30. data/lib/google/cloud/ces/v1/data_store_pb.rb +27 -0
  31. data/lib/google/cloud/ces/v1/data_store_tool_pb.rb +40 -0
  32. data/lib/google/cloud/ces/v1/deployment_pb.rb +26 -0
  33. data/lib/google/cloud/ces/v1/example_pb.rb +34 -0
  34. data/lib/google/cloud/ces/v1/fakes_pb.rb +24 -0
  35. data/lib/google/cloud/ces/v1/file_search_tool_pb.rb +24 -0
  36. data/lib/google/cloud/ces/v1/google_search_tool_pb.rb +24 -0
  37. data/lib/google/cloud/ces/v1/guardrail_pb.rb +37 -0
  38. data/lib/google/cloud/ces/v1/mcp_tool_pb.rb +26 -0
  39. data/lib/google/cloud/ces/v1/mcp_toolset_pb.rb +25 -0
  40. data/lib/google/cloud/ces/v1/omnichannel_pb.rb +31 -0
  41. data/lib/google/cloud/ces/v1/omnichannel_service_pb.rb +27 -0
  42. data/lib/google/cloud/ces/v1/open_api_tool_pb.rb +25 -0
  43. data/lib/google/cloud/ces/v1/open_api_toolset_pb.rb +25 -0
  44. data/lib/google/cloud/ces/v1/python_function_pb.rb +23 -0
  45. data/lib/google/cloud/ces/v1/rest.rb +41 -0
  46. data/lib/google/cloud/ces/v1/schema_pb.rb +25 -0
  47. data/lib/google/cloud/ces/v1/search_suggestions_pb.rb +22 -0
  48. data/lib/google/cloud/ces/v1/security_settings_pb.rb +27 -0
  49. data/lib/google/cloud/ces/v1/session_service/client.rb +759 -0
  50. data/lib/google/cloud/ces/v1/session_service/credentials.rb +48 -0
  51. data/lib/google/cloud/ces/v1/session_service/paths.rb +117 -0
  52. data/lib/google/cloud/ces/v1/session_service/rest/client.rb +560 -0
  53. data/lib/google/cloud/ces/v1/session_service/rest/service_stub.rb +199 -0
  54. data/lib/google/cloud/ces/v1/session_service/rest.rb +53 -0
  55. data/lib/google/cloud/ces/v1/session_service.rb +55 -0
  56. data/lib/google/cloud/ces/v1/session_service_pb.rb +50 -0
  57. data/lib/google/cloud/ces/v1/session_service_services_pb.rb +119 -0
  58. data/lib/google/cloud/ces/v1/system_tool_pb.rb +23 -0
  59. data/lib/google/cloud/ces/v1/tool_pb.rb +38 -0
  60. data/lib/google/cloud/ces/v1/tool_service/client.rb +723 -0
  61. data/lib/google/cloud/ces/v1/tool_service/credentials.rb +48 -0
  62. data/lib/google/cloud/ces/v1/tool_service/paths.rb +94 -0
  63. data/lib/google/cloud/ces/v1/tool_service/rest/client.rb +667 -0
  64. data/lib/google/cloud/ces/v1/tool_service/rest/service_stub.rb +267 -0
  65. data/lib/google/cloud/ces/v1/tool_service/rest.rb +53 -0
  66. data/lib/google/cloud/ces/v1/tool_service.rb +55 -0
  67. data/lib/google/cloud/ces/v1/tool_service_pb.rb +35 -0
  68. data/lib/google/cloud/ces/v1/tool_service_services_pb.rb +50 -0
  69. data/lib/google/cloud/ces/v1/toolset_pb.rb +30 -0
  70. data/lib/google/cloud/ces/v1/toolset_tool_pb.rb +24 -0
  71. data/lib/google/cloud/ces/v1/version.rb +7 -2
  72. data/lib/google/cloud/ces/v1/widget_service/client.rb +501 -0
  73. data/lib/google/cloud/ces/v1/widget_service/credentials.rb +48 -0
  74. data/lib/google/cloud/ces/v1/widget_service/paths.rb +75 -0
  75. data/lib/google/cloud/ces/v1/widget_service/rest/client.rb +459 -0
  76. data/lib/google/cloud/ces/v1/widget_service/rest/service_stub.rb +143 -0
  77. data/lib/google/cloud/ces/v1/widget_service/rest.rb +53 -0
  78. data/lib/google/cloud/ces/v1/widget_service.rb +55 -0
  79. data/lib/google/cloud/ces/v1/widget_service_pb.rb +28 -0
  80. data/lib/google/cloud/ces/v1/widget_service_services_pb.rb +46 -0
  81. data/lib/google/cloud/ces/v1/widget_tool_pb.rb +29 -0
  82. data/lib/google/cloud/ces/v1.rb +48 -0
  83. data/lib/google-cloud-ces-v1.rb +21 -0
  84. data/proto_docs/README.md +4 -0
  85. data/proto_docs/google/api/client.rb +593 -0
  86. data/proto_docs/google/api/field_behavior.rb +85 -0
  87. data/proto_docs/google/api/launch_stage.rb +71 -0
  88. data/proto_docs/google/api/resource.rb +227 -0
  89. data/proto_docs/google/cloud/ces/v1/agent.rb +224 -0
  90. data/proto_docs/google/cloud/ces/v1/agent_service.rb +1250 -0
  91. data/proto_docs/google/cloud/ces/v1/agent_tool.rb +42 -0
  92. data/proto_docs/google/cloud/ces/v1/agent_transfers.rb +111 -0
  93. data/proto_docs/google/cloud/ces/v1/app.rb +685 -0
  94. data/proto_docs/google/cloud/ces/v1/app_version.rb +83 -0
  95. data/proto_docs/google/cloud/ces/v1/auth.rb +214 -0
  96. data/proto_docs/google/cloud/ces/v1/bigquery_export.rb +45 -0
  97. data/proto_docs/google/cloud/ces/v1/changelog.rb +73 -0
  98. data/proto_docs/google/cloud/ces/v1/client_function.rb +48 -0
  99. data/proto_docs/google/cloud/ces/v1/common.rb +375 -0
  100. data/proto_docs/google/cloud/ces/v1/connector_tool.rb +122 -0
  101. data/proto_docs/google/cloud/ces/v1/connector_toolset.rb +52 -0
  102. data/proto_docs/google/cloud/ces/v1/conversation.rb +152 -0
  103. data/proto_docs/google/cloud/ces/v1/data_store.rb +102 -0
  104. data/proto_docs/google/cloud/ces/v1/data_store_tool.rb +328 -0
  105. data/proto_docs/google/cloud/ces/v1/deployment.rb +62 -0
  106. data/proto_docs/google/cloud/ces/v1/example.rb +244 -0
  107. data/proto_docs/google/cloud/ces/v1/fakes.rb +55 -0
  108. data/proto_docs/google/cloud/ces/v1/file_search_tool.rb +60 -0
  109. data/proto_docs/google/cloud/ces/v1/google_search_tool.rb +76 -0
  110. data/proto_docs/google/cloud/ces/v1/guardrail.rb +324 -0
  111. data/proto_docs/google/cloud/ces/v1/mcp_tool.rb +85 -0
  112. data/proto_docs/google/cloud/ces/v1/mcp_toolset.rb +71 -0
  113. data/proto_docs/google/cloud/ces/v1/omnichannel.rb +163 -0
  114. data/proto_docs/google/cloud/ces/v1/omnichannel_service.rb +45 -0
  115. data/proto_docs/google/cloud/ces/v1/open_api_tool.rb +66 -0
  116. data/proto_docs/google/cloud/ces/v1/open_api_toolset.rb +57 -0
  117. data/proto_docs/google/cloud/ces/v1/python_function.rb +44 -0
  118. data/proto_docs/google/cloud/ces/v1/schema.rb +162 -0
  119. data/proto_docs/google/cloud/ces/v1/search_suggestions.rb +55 -0
  120. data/proto_docs/google/cloud/ces/v1/security_settings.rb +80 -0
  121. data/proto_docs/google/cloud/ces/v1/session_service.rb +464 -0
  122. data/proto_docs/google/cloud/ces/v1/system_tool.rb +38 -0
  123. data/proto_docs/google/cloud/ces/v1/tool.rb +126 -0
  124. data/proto_docs/google/cloud/ces/v1/tool_service.rb +168 -0
  125. data/proto_docs/google/cloud/ces/v1/toolset.rb +80 -0
  126. data/proto_docs/google/cloud/ces/v1/toolset_tool.rb +40 -0
  127. data/proto_docs/google/cloud/ces/v1/widget_service.rb +62 -0
  128. data/proto_docs/google/cloud/ces/v1/widget_tool.rb +146 -0
  129. data/proto_docs/google/longrunning/operations.rb +191 -0
  130. data/proto_docs/google/protobuf/any.rb +145 -0
  131. data/proto_docs/google/protobuf/duration.rb +98 -0
  132. data/proto_docs/google/protobuf/empty.rb +34 -0
  133. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  134. data/proto_docs/google/protobuf/struct.rb +108 -0
  135. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  136. data/proto_docs/google/rpc/status.rb +48 -0
  137. metadata +183 -9
@@ -0,0 +1,267 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 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 "google/cloud/ces/v1/tool_service_pb"
20
+
21
+ module Google
22
+ module Cloud
23
+ module Ces
24
+ module V1
25
+ module ToolService
26
+ module Rest
27
+ ##
28
+ # REST service stub for the ToolService service.
29
+ # Service stub contains baseline method implementations
30
+ # including transcoding, making the REST call, and deserialing the response.
31
+ #
32
+ class ServiceStub
33
+ # @private
34
+ def initialize endpoint:, endpoint_template:, universe_domain:, credentials:, logger:
35
+ # These require statements are intentionally placed here to initialize
36
+ # the REST modules only when it's required.
37
+ require "gapic/rest"
38
+
39
+ @client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
40
+ endpoint_template: endpoint_template,
41
+ universe_domain: universe_domain,
42
+ credentials: credentials,
43
+ numeric_enums: true,
44
+ service_name: self.class,
45
+ raise_faraday_errors: false,
46
+ logger: logger
47
+ end
48
+
49
+ ##
50
+ # The effective universe domain
51
+ #
52
+ # @return [String]
53
+ #
54
+ def universe_domain
55
+ @client_stub.universe_domain
56
+ end
57
+
58
+ ##
59
+ # The effective endpoint
60
+ #
61
+ # @return [String]
62
+ #
63
+ def endpoint
64
+ @client_stub.endpoint
65
+ end
66
+
67
+ ##
68
+ # The logger used for request/response debug logging.
69
+ #
70
+ # @return [Logger]
71
+ #
72
+ def logger stub: false
73
+ stub ? @client_stub.stub_logger : @client_stub.logger
74
+ end
75
+
76
+ ##
77
+ # Baseline implementation for the execute_tool REST call
78
+ #
79
+ # @param request_pb [::Google::Cloud::Ces::V1::ExecuteToolRequest]
80
+ # A request object representing the call parameters. Required.
81
+ # @param options [::Gapic::CallOptions]
82
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
83
+ #
84
+ # @yield [result, operation] Access the result along with the TransportOperation object
85
+ # @yieldparam result [::Google::Cloud::Ces::V1::ExecuteToolResponse]
86
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
87
+ #
88
+ # @return [::Google::Cloud::Ces::V1::ExecuteToolResponse]
89
+ # A result object deserialized from the server's reply
90
+ def execute_tool request_pb, options = nil
91
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
92
+
93
+ verb, uri, query_string_params, body = ServiceStub.transcode_execute_tool_request request_pb
94
+ query_string_params = if query_string_params.any?
95
+ query_string_params.to_h { |p| p.split "=", 2 }
96
+ else
97
+ {}
98
+ end
99
+
100
+ response = @client_stub.make_http_request(
101
+ verb,
102
+ uri: uri,
103
+ body: body || "",
104
+ params: query_string_params,
105
+ method_name: "execute_tool",
106
+ options: options
107
+ )
108
+ operation = ::Gapic::Rest::TransportOperation.new response
109
+ result = ::Google::Cloud::Ces::V1::ExecuteToolResponse.decode_json response.body, ignore_unknown_fields: true
110
+ catch :response do
111
+ yield result, operation if block_given?
112
+ result
113
+ end
114
+ end
115
+
116
+ ##
117
+ # Baseline implementation for the retrieve_tool_schema REST call
118
+ #
119
+ # @param request_pb [::Google::Cloud::Ces::V1::RetrieveToolSchemaRequest]
120
+ # A request object representing the call parameters. Required.
121
+ # @param options [::Gapic::CallOptions]
122
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
123
+ #
124
+ # @yield [result, operation] Access the result along with the TransportOperation object
125
+ # @yieldparam result [::Google::Cloud::Ces::V1::RetrieveToolSchemaResponse]
126
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
127
+ #
128
+ # @return [::Google::Cloud::Ces::V1::RetrieveToolSchemaResponse]
129
+ # A result object deserialized from the server's reply
130
+ def retrieve_tool_schema request_pb, options = nil
131
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
132
+
133
+ verb, uri, query_string_params, body = ServiceStub.transcode_retrieve_tool_schema_request request_pb
134
+ query_string_params = if query_string_params.any?
135
+ query_string_params.to_h { |p| p.split "=", 2 }
136
+ else
137
+ {}
138
+ end
139
+
140
+ response = @client_stub.make_http_request(
141
+ verb,
142
+ uri: uri,
143
+ body: body || "",
144
+ params: query_string_params,
145
+ method_name: "retrieve_tool_schema",
146
+ options: options
147
+ )
148
+ operation = ::Gapic::Rest::TransportOperation.new response
149
+ result = ::Google::Cloud::Ces::V1::RetrieveToolSchemaResponse.decode_json response.body, ignore_unknown_fields: true
150
+ catch :response do
151
+ yield result, operation if block_given?
152
+ result
153
+ end
154
+ end
155
+
156
+ ##
157
+ # Baseline implementation for the retrieve_tools REST call
158
+ #
159
+ # @param request_pb [::Google::Cloud::Ces::V1::RetrieveToolsRequest]
160
+ # A request object representing the call parameters. Required.
161
+ # @param options [::Gapic::CallOptions]
162
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
163
+ #
164
+ # @yield [result, operation] Access the result along with the TransportOperation object
165
+ # @yieldparam result [::Google::Cloud::Ces::V1::RetrieveToolsResponse]
166
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
167
+ #
168
+ # @return [::Google::Cloud::Ces::V1::RetrieveToolsResponse]
169
+ # A result object deserialized from the server's reply
170
+ def retrieve_tools request_pb, options = nil
171
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
172
+
173
+ verb, uri, query_string_params, body = ServiceStub.transcode_retrieve_tools_request request_pb
174
+ query_string_params = if query_string_params.any?
175
+ query_string_params.to_h { |p| p.split "=", 2 }
176
+ else
177
+ {}
178
+ end
179
+
180
+ response = @client_stub.make_http_request(
181
+ verb,
182
+ uri: uri,
183
+ body: body || "",
184
+ params: query_string_params,
185
+ method_name: "retrieve_tools",
186
+ options: options
187
+ )
188
+ operation = ::Gapic::Rest::TransportOperation.new response
189
+ result = ::Google::Cloud::Ces::V1::RetrieveToolsResponse.decode_json response.body, ignore_unknown_fields: true
190
+ catch :response do
191
+ yield result, operation if block_given?
192
+ result
193
+ end
194
+ end
195
+
196
+ ##
197
+ # @private
198
+ #
199
+ # GRPC transcoding helper method for the execute_tool REST call
200
+ #
201
+ # @param request_pb [::Google::Cloud::Ces::V1::ExecuteToolRequest]
202
+ # A request object representing the call parameters. Required.
203
+ # @return [Array(String, [String, nil], Hash{String => String})]
204
+ # Uri, Body, Query string parameters
205
+ def self.transcode_execute_tool_request request_pb
206
+ transcoder = Gapic::Rest::GrpcTranscoder.new
207
+ .with_bindings(
208
+ uri_method: :post,
209
+ uri_template: "/v1/{parent}:executeTool",
210
+ body: "*",
211
+ matches: [
212
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/?$}, false]
213
+ ]
214
+ )
215
+ transcoder.transcode request_pb
216
+ end
217
+
218
+ ##
219
+ # @private
220
+ #
221
+ # GRPC transcoding helper method for the retrieve_tool_schema REST call
222
+ #
223
+ # @param request_pb [::Google::Cloud::Ces::V1::RetrieveToolSchemaRequest]
224
+ # A request object representing the call parameters. Required.
225
+ # @return [Array(String, [String, nil], Hash{String => String})]
226
+ # Uri, Body, Query string parameters
227
+ def self.transcode_retrieve_tool_schema_request request_pb
228
+ transcoder = Gapic::Rest::GrpcTranscoder.new
229
+ .with_bindings(
230
+ uri_method: :post,
231
+ uri_template: "/v1/{parent}:retrieveToolSchema",
232
+ body: "*",
233
+ matches: [
234
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/?$}, false]
235
+ ]
236
+ )
237
+ transcoder.transcode request_pb
238
+ end
239
+
240
+ ##
241
+ # @private
242
+ #
243
+ # GRPC transcoding helper method for the retrieve_tools REST call
244
+ #
245
+ # @param request_pb [::Google::Cloud::Ces::V1::RetrieveToolsRequest]
246
+ # A request object representing the call parameters. Required.
247
+ # @return [Array(String, [String, nil], Hash{String => String})]
248
+ # Uri, Body, Query string parameters
249
+ def self.transcode_retrieve_tools_request request_pb
250
+ transcoder = Gapic::Rest::GrpcTranscoder.new
251
+ .with_bindings(
252
+ uri_method: :post,
253
+ uri_template: "/v1/{toolset}:retrieveTools",
254
+ body: "*",
255
+ matches: [
256
+ ["toolset", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/toolsets/[^/]+/?$}, false]
257
+ ]
258
+ )
259
+ transcoder.transcode request_pb
260
+ end
261
+ end
262
+ end
263
+ end
264
+ end
265
+ end
266
+ end
267
+ end
@@ -0,0 +1,53 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 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/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/ces/v1/version"
24
+ require "google/cloud/ces/v1/bindings_override"
25
+
26
+ require "google/cloud/ces/v1/tool_service/credentials"
27
+ require "google/cloud/ces/v1/tool_service/paths"
28
+ require "google/cloud/ces/v1/tool_service/rest/client"
29
+
30
+ module Google
31
+ module Cloud
32
+ module Ces
33
+ module V1
34
+ ##
35
+ # Tool service provides APIs for interacting with CES tools.
36
+ #
37
+ # To load this service and instantiate a REST client:
38
+ #
39
+ # require "google/cloud/ces/v1/tool_service/rest"
40
+ # client = ::Google::Cloud::Ces::V1::ToolService::Rest::Client.new
41
+ #
42
+ module ToolService
43
+ # Client for the REST transport
44
+ module Rest
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+
52
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
53
+ require "google/cloud/ces/v1/tool_service/rest/helpers" if ::File.file? helper_path
@@ -0,0 +1,55 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 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/ces/v1/version"
24
+
25
+ require "google/cloud/ces/v1/tool_service/credentials"
26
+ require "google/cloud/ces/v1/tool_service/paths"
27
+ require "google/cloud/ces/v1/tool_service/client"
28
+ require "google/cloud/ces/v1/tool_service/rest"
29
+
30
+ module Google
31
+ module Cloud
32
+ module Ces
33
+ module V1
34
+ ##
35
+ # Tool service provides APIs for interacting with CES tools.
36
+ #
37
+ # @example Load this service and instantiate a gRPC client
38
+ #
39
+ # require "google/cloud/ces/v1/tool_service"
40
+ # client = ::Google::Cloud::Ces::V1::ToolService::Client.new
41
+ #
42
+ # @example Load this service and instantiate a REST client
43
+ #
44
+ # require "google/cloud/ces/v1/tool_service/rest"
45
+ # client = ::Google::Cloud::Ces::V1::ToolService::Rest::Client.new
46
+ #
47
+ module ToolService
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
53
+
54
+ helper_path = ::File.join __dir__, "tool_service", "helpers.rb"
55
+ require "google/cloud/ces/v1/tool_service/helpers" if ::File.file? helper_path
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/ces/v1/tool_service.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
11
+ require 'google/cloud/ces/v1/schema_pb'
12
+ require 'google/cloud/ces/v1/tool_pb'
13
+ require 'google/cloud/ces/v1/toolset_tool_pb'
14
+ require 'google/protobuf/struct_pb'
15
+
16
+
17
+ descriptor_data = "\n&google/cloud/ces/v1/tool_service.proto\x12\x13google.cloud.ces.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/cloud/ces/v1/schema.proto\x1a\x1egoogle/cloud/ces/v1/tool.proto\x1a&google/cloud/ces/v1/toolset_tool.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xf1\x02\n\x12\x45xecuteToolRequest\x12/\n\x04tool\x18\x01 \x01(\tB\x1f\xe0\x41\x01\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/ToolH\x00\x12=\n\x0ctoolset_tool\x18\x03 \x01(\x0b\x32 .google.cloud.ces.v1.ToolsetToolB\x03\xe0\x41\x01H\x00\x12\x31\n\tvariables\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01H\x01\x12/\n\x07\x63ontext\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01H\x01\x12.\n\x06parent\x18\x04 \x01(\tB\x1e\xe0\x41\x02\xfa\x41\x18\n\x16\x63\x65s.googleapis.com/App\x12*\n\x04\x61rgs\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x42\x11\n\x0ftool_identifierB\x18\n\x16tool_execution_context\"\xe7\x01\n\x13\x45xecuteToolResponse\x12,\n\x04tool\x18\x01 \x01(\tB\x1c\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/ToolH\x00\x12\x38\n\x0ctoolset_tool\x18\x03 \x01(\x0b\x32 .google.cloud.ces.v1.ToolsetToolH\x00\x12)\n\x08response\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12*\n\tvariables\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructB\x11\n\x0ftool_identifier\"\xce\x01\n\x19RetrieveToolSchemaRequest\x12/\n\x04tool\x18\x01 \x01(\tB\x1f\xe0\x41\x01\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/ToolH\x00\x12=\n\x0ctoolset_tool\x18\x02 \x01(\x0b\x32 .google.cloud.ces.v1.ToolsetToolB\x03\xe0\x41\x01H\x00\x12.\n\x06parent\x18\x03 \x01(\tB\x1e\xe0\x41\x02\xfa\x41\x18\n\x16\x63\x65s.googleapis.com/AppB\x11\n\x0ftool_identifier\"\xfe\x01\n\x1aRetrieveToolSchemaResponse\x12,\n\x04tool\x18\x01 \x01(\tB\x1c\xfa\x41\x19\n\x17\x63\x65s.googleapis.com/ToolH\x00\x12\x38\n\x0ctoolset_tool\x18\x02 \x01(\x0b\x32 .google.cloud.ces.v1.ToolsetToolH\x00\x12\x31\n\x0cinput_schema\x18\x03 \x01(\x0b\x32\x1b.google.cloud.ces.v1.Schema\x12\x32\n\routput_schema\x18\x04 \x01(\x0b\x32\x1b.google.cloud.ces.v1.SchemaB\x11\n\x0ftool_identifier\"b\n\x14RetrieveToolsRequest\x12\x33\n\x07toolset\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x63\x65s.googleapis.com/Toolset\x12\x15\n\x08tool_ids\x18\x03 \x03(\tB\x03\xe0\x41\x01\"A\n\x15RetrieveToolsResponse\x12(\n\x05tools\x18\x01 \x03(\x0b\x32\x19.google.cloud.ces.v1.Tool2\x9b\x05\n\x0bToolService\x12\xa3\x01\n\x0b\x45xecuteTool\x12\'.google.cloud.ces.v1.ExecuteToolRequest\x1a(.google.cloud.ces.v1.ExecuteToolResponse\"A\x82\xd3\xe4\x93\x02;\"6/v1/{parent=projects/*/locations/*/apps/*}:executeTool:\x01*\x12\xbf\x01\n\x12RetrieveToolSchema\x12..google.cloud.ces.v1.RetrieveToolSchemaRequest\x1a/.google.cloud.ces.v1.RetrieveToolSchemaResponse\"H\x82\xd3\xe4\x93\x02\x42\"=/v1/{parent=projects/*/locations/*/apps/*}:retrieveToolSchema:\x01*\x12\xb7\x01\n\rRetrieveTools\x12).google.cloud.ces.v1.RetrieveToolsRequest\x1a*.google.cloud.ces.v1.RetrieveToolsResponse\"O\x82\xd3\xe4\x93\x02I\"D/v1/{toolset=projects/*/locations/*/apps/*/toolsets/*}:retrieveTools:\x01*\x1aj\xca\x41\x12\x63\x65s.googleapis.com\xd2\x41Rhttps://www.googleapis.com/auth/ces,https://www.googleapis.com/auth/cloud-platformBX\n\x17\x63om.google.cloud.ces.v1B\x10ToolServiceProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3"
18
+
19
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
20
+ pool.add_serialized_file(descriptor_data)
21
+
22
+ module Google
23
+ module Cloud
24
+ module Ces
25
+ module V1
26
+ ExecuteToolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.ExecuteToolRequest").msgclass
27
+ ExecuteToolResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.ExecuteToolResponse").msgclass
28
+ RetrieveToolSchemaRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.RetrieveToolSchemaRequest").msgclass
29
+ RetrieveToolSchemaResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.RetrieveToolSchemaResponse").msgclass
30
+ RetrieveToolsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.RetrieveToolsRequest").msgclass
31
+ RetrieveToolsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.RetrieveToolsResponse").msgclass
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,50 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/ces/v1/tool_service.proto for package 'google.cloud.ces.v1'
3
+ # Original file comments:
4
+ # Copyright 2026 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/ces/v1/tool_service_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module Ces
25
+ module V1
26
+ module ToolService
27
+ # Tool service provides APIs for interacting with CES tools.
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.cloud.ces.v1.ToolService'
35
+
36
+ # Executes the given tool with the given arguments.
37
+ rpc :ExecuteTool, ::Google::Cloud::Ces::V1::ExecuteToolRequest, ::Google::Cloud::Ces::V1::ExecuteToolResponse
38
+ # Retrieve the schema of the given tool. The schema is computed on the fly
39
+ # for the given instance of the tool.
40
+ rpc :RetrieveToolSchema, ::Google::Cloud::Ces::V1::RetrieveToolSchemaRequest, ::Google::Cloud::Ces::V1::RetrieveToolSchemaResponse
41
+ # Retrieve the list of tools included in the specified toolset.
42
+ rpc :RetrieveTools, ::Google::Cloud::Ces::V1::RetrieveToolsRequest, ::Google::Cloud::Ces::V1::RetrieveToolsResponse
43
+ end
44
+
45
+ Stub = Service.rpc_stub_class
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/ces/v1/toolset.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/cloud/ces/v1/common_pb'
10
+ require 'google/cloud/ces/v1/connector_toolset_pb'
11
+ require 'google/cloud/ces/v1/fakes_pb'
12
+ require 'google/cloud/ces/v1/mcp_toolset_pb'
13
+ require 'google/cloud/ces/v1/open_api_toolset_pb'
14
+ require 'google/protobuf/timestamp_pb'
15
+
16
+
17
+ descriptor_data = "\n!google/cloud/ces/v1/toolset.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/cloud/ces/v1/common.proto\x1a+google/cloud/ces/v1/connector_toolset.proto\x1a\x1fgoogle/cloud/ces/v1/fakes.proto\x1a%google/cloud/ces/v1/mcp_toolset.proto\x1a*google/cloud/ces/v1/open_api_toolset.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa7\x05\n\x07Toolset\x12;\n\x0bmcp_toolset\x18\x06 \x01(\x0b\x32\x1f.google.cloud.ces.v1.McpToolsetB\x03\xe0\x41\x01H\x00\x12\x44\n\x10open_api_toolset\x18\x07 \x01(\x0b\x32#.google.cloud.ces.v1.OpenApiToolsetB\x03\xe0\x41\x01H\x00\x12G\n\x11\x63onnector_toolset\x18\x08 \x01(\x0b\x32%.google.cloud.ces.v1.ConnectorToolsetB\x03\xe0\x41\x01H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x05 \x01(\t\x12?\n\x0e\x65xecution_type\x18\t \x01(\x0e\x32\".google.cloud.ces.v1.ExecutionTypeB\x03\xe0\x41\x01\x12\x42\n\x10tool_fake_config\x18\x0b \x01(\x0b\x32#.google.cloud.ces.v1.ToolFakeConfigB\x03\xe0\x41\x01:y\xea\x41v\n\x1a\x63\x65s.googleapis.com/Toolset\x12\x45projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}*\x08toolsets2\x07toolsetB\x0e\n\x0ctoolset_typeBT\n\x17\x63om.google.cloud.ces.v1B\x0cToolsetProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3"
18
+
19
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
20
+ pool.add_serialized_file(descriptor_data)
21
+
22
+ module Google
23
+ module Cloud
24
+ module Ces
25
+ module V1
26
+ Toolset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.Toolset").msgclass
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/ces/v1/toolset_tool.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+
10
+
11
+ descriptor_data = "\n&google/cloud/ces/v1/toolset_tool.proto\x12\x13google.cloud.ces.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"X\n\x0bToolsetTool\x12\x33\n\x07toolset\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x63\x65s.googleapis.com/Toolset\x12\x14\n\x07tool_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x42X\n\x17\x63om.google.cloud.ces.v1B\x10ToolsetToolProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3"
12
+
13
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
15
+
16
+ module Google
17
+ module Cloud
18
+ module Ces
19
+ module V1
20
+ ToolsetTool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ces.v1.ToolsetTool").msgclass
21
+ end
22
+ end
23
+ end
24
+ end
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright 2026 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
4
6
  # you may not use this file except in compliance with the License.
5
7
  # You may obtain a copy of the License at
6
8
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
9
+ # https://www.apache.org/licenses/LICENSE-2.0
8
10
  #
9
11
  # Unless required by applicable law or agreed to in writing, software
10
12
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -12,11 +14,14 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
15
20
  module Google
16
21
  module Cloud
17
22
  module Ces
18
23
  module V1
19
- VERSION = "0.a"
24
+ VERSION = "0.1.0"
20
25
  end
21
26
  end
22
27
  end