google-cloud-debugger-v2 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +2 -2
- data/lib/google/cloud/debugger/v2/controller/rest/client.rb +557 -0
- data/lib/google/cloud/debugger/v2/controller/rest/service_stub.rb +226 -0
- data/lib/google/cloud/debugger/v2/controller/rest.rb +70 -0
- data/lib/google/cloud/debugger/v2/controller.rb +7 -1
- data/lib/google/cloud/debugger/v2/debugger/rest/client.rb +693 -0
- data/lib/google/cloud/debugger/v2/debugger/rest/service_stub.rb +344 -0
- data/lib/google/cloud/debugger/v2/debugger/rest.rb +62 -0
- data/lib/google/cloud/debugger/v2/debugger.rb +7 -1
- data/lib/google/cloud/debugger/v2/rest.rb +38 -0
- data/lib/google/cloud/debugger/v2/version.rb +1 -1
- data/lib/google/cloud/debugger/v2.rb +7 -2
- data/lib/google/devtools/clouddebugger/v2/controller_pb.rb +0 -1
- data/lib/google/devtools/clouddebugger/v2/data_pb.rb +0 -1
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +0 -2
- metadata +19 -8
@@ -0,0 +1,344 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 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/devtools/clouddebugger/v2/debugger_pb"
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Cloud
|
23
|
+
module Debugger
|
24
|
+
module V2
|
25
|
+
module Debugger
|
26
|
+
module Rest
|
27
|
+
##
|
28
|
+
# REST service stub for the Debugger service.
|
29
|
+
# Service stub contains baseline method implementations
|
30
|
+
# including transcoding, making the REST call, and deserialing the response.
|
31
|
+
#
|
32
|
+
class ServiceStub
|
33
|
+
def initialize endpoint:, credentials:
|
34
|
+
# These require statements are intentionally placed here to initialize
|
35
|
+
# the REST modules only when it's required.
|
36
|
+
require "gapic/rest"
|
37
|
+
|
38
|
+
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint, credentials: credentials,
|
39
|
+
numeric_enums: true,
|
40
|
+
raise_faraday_errors: false
|
41
|
+
end
|
42
|
+
|
43
|
+
##
|
44
|
+
# Baseline implementation for the set_breakpoint REST call
|
45
|
+
#
|
46
|
+
# @param request_pb [::Google::Cloud::Debugger::V2::SetBreakpointRequest]
|
47
|
+
# A request object representing the call parameters. Required.
|
48
|
+
# @param options [::Gapic::CallOptions]
|
49
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
50
|
+
#
|
51
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
52
|
+
# @yieldparam result [::Google::Cloud::Debugger::V2::SetBreakpointResponse]
|
53
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
54
|
+
#
|
55
|
+
# @return [::Google::Cloud::Debugger::V2::SetBreakpointResponse]
|
56
|
+
# A result object deserialized from the server's reply
|
57
|
+
def set_breakpoint request_pb, options = nil
|
58
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
59
|
+
|
60
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_set_breakpoint_request request_pb
|
61
|
+
query_string_params = if query_string_params.any?
|
62
|
+
query_string_params.to_h { |p| p.split("=", 2) }
|
63
|
+
else
|
64
|
+
{}
|
65
|
+
end
|
66
|
+
|
67
|
+
response = @client_stub.make_http_request(
|
68
|
+
verb,
|
69
|
+
uri: uri,
|
70
|
+
body: body || "",
|
71
|
+
params: query_string_params,
|
72
|
+
options: options
|
73
|
+
)
|
74
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
75
|
+
result = ::Google::Cloud::Debugger::V2::SetBreakpointResponse.decode_json response.body, ignore_unknown_fields: true
|
76
|
+
|
77
|
+
yield result, operation if block_given?
|
78
|
+
result
|
79
|
+
end
|
80
|
+
|
81
|
+
##
|
82
|
+
# Baseline implementation for the get_breakpoint REST call
|
83
|
+
#
|
84
|
+
# @param request_pb [::Google::Cloud::Debugger::V2::GetBreakpointRequest]
|
85
|
+
# A request object representing the call parameters. Required.
|
86
|
+
# @param options [::Gapic::CallOptions]
|
87
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
88
|
+
#
|
89
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
90
|
+
# @yieldparam result [::Google::Cloud::Debugger::V2::GetBreakpointResponse]
|
91
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
92
|
+
#
|
93
|
+
# @return [::Google::Cloud::Debugger::V2::GetBreakpointResponse]
|
94
|
+
# A result object deserialized from the server's reply
|
95
|
+
def get_breakpoint request_pb, options = nil
|
96
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
97
|
+
|
98
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_breakpoint_request request_pb
|
99
|
+
query_string_params = if query_string_params.any?
|
100
|
+
query_string_params.to_h { |p| p.split("=", 2) }
|
101
|
+
else
|
102
|
+
{}
|
103
|
+
end
|
104
|
+
|
105
|
+
response = @client_stub.make_http_request(
|
106
|
+
verb,
|
107
|
+
uri: uri,
|
108
|
+
body: body || "",
|
109
|
+
params: query_string_params,
|
110
|
+
options: options
|
111
|
+
)
|
112
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
113
|
+
result = ::Google::Cloud::Debugger::V2::GetBreakpointResponse.decode_json response.body, ignore_unknown_fields: true
|
114
|
+
|
115
|
+
yield result, operation if block_given?
|
116
|
+
result
|
117
|
+
end
|
118
|
+
|
119
|
+
##
|
120
|
+
# Baseline implementation for the delete_breakpoint REST call
|
121
|
+
#
|
122
|
+
# @param request_pb [::Google::Cloud::Debugger::V2::DeleteBreakpointRequest]
|
123
|
+
# A request object representing the call parameters. Required.
|
124
|
+
# @param options [::Gapic::CallOptions]
|
125
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
126
|
+
#
|
127
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
128
|
+
# @yieldparam result [::Google::Protobuf::Empty]
|
129
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
130
|
+
#
|
131
|
+
# @return [::Google::Protobuf::Empty]
|
132
|
+
# A result object deserialized from the server's reply
|
133
|
+
def delete_breakpoint request_pb, options = nil
|
134
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
135
|
+
|
136
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_breakpoint_request request_pb
|
137
|
+
query_string_params = if query_string_params.any?
|
138
|
+
query_string_params.to_h { |p| p.split("=", 2) }
|
139
|
+
else
|
140
|
+
{}
|
141
|
+
end
|
142
|
+
|
143
|
+
response = @client_stub.make_http_request(
|
144
|
+
verb,
|
145
|
+
uri: uri,
|
146
|
+
body: body || "",
|
147
|
+
params: query_string_params,
|
148
|
+
options: options
|
149
|
+
)
|
150
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
151
|
+
result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
|
152
|
+
|
153
|
+
yield result, operation if block_given?
|
154
|
+
result
|
155
|
+
end
|
156
|
+
|
157
|
+
##
|
158
|
+
# Baseline implementation for the list_breakpoints REST call
|
159
|
+
#
|
160
|
+
# @param request_pb [::Google::Cloud::Debugger::V2::ListBreakpointsRequest]
|
161
|
+
# A request object representing the call parameters. Required.
|
162
|
+
# @param options [::Gapic::CallOptions]
|
163
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
164
|
+
#
|
165
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
166
|
+
# @yieldparam result [::Google::Cloud::Debugger::V2::ListBreakpointsResponse]
|
167
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
168
|
+
#
|
169
|
+
# @return [::Google::Cloud::Debugger::V2::ListBreakpointsResponse]
|
170
|
+
# A result object deserialized from the server's reply
|
171
|
+
def list_breakpoints request_pb, options = nil
|
172
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
173
|
+
|
174
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_breakpoints_request request_pb
|
175
|
+
query_string_params = if query_string_params.any?
|
176
|
+
query_string_params.to_h { |p| p.split("=", 2) }
|
177
|
+
else
|
178
|
+
{}
|
179
|
+
end
|
180
|
+
|
181
|
+
response = @client_stub.make_http_request(
|
182
|
+
verb,
|
183
|
+
uri: uri,
|
184
|
+
body: body || "",
|
185
|
+
params: query_string_params,
|
186
|
+
options: options
|
187
|
+
)
|
188
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
189
|
+
result = ::Google::Cloud::Debugger::V2::ListBreakpointsResponse.decode_json response.body, ignore_unknown_fields: true
|
190
|
+
|
191
|
+
yield result, operation if block_given?
|
192
|
+
result
|
193
|
+
end
|
194
|
+
|
195
|
+
##
|
196
|
+
# Baseline implementation for the list_debuggees REST call
|
197
|
+
#
|
198
|
+
# @param request_pb [::Google::Cloud::Debugger::V2::ListDebuggeesRequest]
|
199
|
+
# A request object representing the call parameters. Required.
|
200
|
+
# @param options [::Gapic::CallOptions]
|
201
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
202
|
+
#
|
203
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
204
|
+
# @yieldparam result [::Google::Cloud::Debugger::V2::ListDebuggeesResponse]
|
205
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
206
|
+
#
|
207
|
+
# @return [::Google::Cloud::Debugger::V2::ListDebuggeesResponse]
|
208
|
+
# A result object deserialized from the server's reply
|
209
|
+
def list_debuggees request_pb, options = nil
|
210
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
211
|
+
|
212
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_debuggees_request request_pb
|
213
|
+
query_string_params = if query_string_params.any?
|
214
|
+
query_string_params.to_h { |p| p.split("=", 2) }
|
215
|
+
else
|
216
|
+
{}
|
217
|
+
end
|
218
|
+
|
219
|
+
response = @client_stub.make_http_request(
|
220
|
+
verb,
|
221
|
+
uri: uri,
|
222
|
+
body: body || "",
|
223
|
+
params: query_string_params,
|
224
|
+
options: options
|
225
|
+
)
|
226
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
227
|
+
result = ::Google::Cloud::Debugger::V2::ListDebuggeesResponse.decode_json response.body, ignore_unknown_fields: true
|
228
|
+
|
229
|
+
yield result, operation if block_given?
|
230
|
+
result
|
231
|
+
end
|
232
|
+
|
233
|
+
##
|
234
|
+
# @private
|
235
|
+
#
|
236
|
+
# GRPC transcoding helper method for the set_breakpoint REST call
|
237
|
+
#
|
238
|
+
# @param request_pb [::Google::Cloud::Debugger::V2::SetBreakpointRequest]
|
239
|
+
# A request object representing the call parameters. Required.
|
240
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
241
|
+
# Uri, Body, Query string parameters
|
242
|
+
def self.transcode_set_breakpoint_request request_pb
|
243
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
244
|
+
.with_bindings(
|
245
|
+
uri_method: :post,
|
246
|
+
uri_template: "/v2/debugger/debuggees/{debuggee_id}/breakpoints/set",
|
247
|
+
body: "breakpoint",
|
248
|
+
matches: [
|
249
|
+
["debuggee_id", %r{^[^/]+/?$}, false]
|
250
|
+
]
|
251
|
+
)
|
252
|
+
transcoder.transcode request_pb
|
253
|
+
end
|
254
|
+
|
255
|
+
##
|
256
|
+
# @private
|
257
|
+
#
|
258
|
+
# GRPC transcoding helper method for the get_breakpoint REST call
|
259
|
+
#
|
260
|
+
# @param request_pb [::Google::Cloud::Debugger::V2::GetBreakpointRequest]
|
261
|
+
# A request object representing the call parameters. Required.
|
262
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
263
|
+
# Uri, Body, Query string parameters
|
264
|
+
def self.transcode_get_breakpoint_request request_pb
|
265
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
266
|
+
.with_bindings(
|
267
|
+
uri_method: :get,
|
268
|
+
uri_template: "/v2/debugger/debuggees/{debuggee_id}/breakpoints/{breakpoint_id}",
|
269
|
+
matches: [
|
270
|
+
["debuggee_id", %r{^[^/]+/?$}, false],
|
271
|
+
["breakpoint_id", %r{^[^/]+/?$}, false]
|
272
|
+
]
|
273
|
+
)
|
274
|
+
transcoder.transcode request_pb
|
275
|
+
end
|
276
|
+
|
277
|
+
##
|
278
|
+
# @private
|
279
|
+
#
|
280
|
+
# GRPC transcoding helper method for the delete_breakpoint REST call
|
281
|
+
#
|
282
|
+
# @param request_pb [::Google::Cloud::Debugger::V2::DeleteBreakpointRequest]
|
283
|
+
# A request object representing the call parameters. Required.
|
284
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
285
|
+
# Uri, Body, Query string parameters
|
286
|
+
def self.transcode_delete_breakpoint_request request_pb
|
287
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
288
|
+
.with_bindings(
|
289
|
+
uri_method: :delete,
|
290
|
+
uri_template: "/v2/debugger/debuggees/{debuggee_id}/breakpoints/{breakpoint_id}",
|
291
|
+
matches: [
|
292
|
+
["debuggee_id", %r{^[^/]+/?$}, false],
|
293
|
+
["breakpoint_id", %r{^[^/]+/?$}, false]
|
294
|
+
]
|
295
|
+
)
|
296
|
+
transcoder.transcode request_pb
|
297
|
+
end
|
298
|
+
|
299
|
+
##
|
300
|
+
# @private
|
301
|
+
#
|
302
|
+
# GRPC transcoding helper method for the list_breakpoints REST call
|
303
|
+
#
|
304
|
+
# @param request_pb [::Google::Cloud::Debugger::V2::ListBreakpointsRequest]
|
305
|
+
# A request object representing the call parameters. Required.
|
306
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
307
|
+
# Uri, Body, Query string parameters
|
308
|
+
def self.transcode_list_breakpoints_request request_pb
|
309
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
310
|
+
.with_bindings(
|
311
|
+
uri_method: :get,
|
312
|
+
uri_template: "/v2/debugger/debuggees/{debuggee_id}/breakpoints",
|
313
|
+
matches: [
|
314
|
+
["debuggee_id", %r{^[^/]+/?$}, false]
|
315
|
+
]
|
316
|
+
)
|
317
|
+
transcoder.transcode request_pb
|
318
|
+
end
|
319
|
+
|
320
|
+
##
|
321
|
+
# @private
|
322
|
+
#
|
323
|
+
# GRPC transcoding helper method for the list_debuggees REST call
|
324
|
+
#
|
325
|
+
# @param request_pb [::Google::Cloud::Debugger::V2::ListDebuggeesRequest]
|
326
|
+
# A request object representing the call parameters. Required.
|
327
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
328
|
+
# Uri, Body, Query string parameters
|
329
|
+
def self.transcode_list_debuggees_request request_pb
|
330
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
331
|
+
.with_bindings(
|
332
|
+
uri_method: :get,
|
333
|
+
uri_template: "/v2/debugger/debuggees",
|
334
|
+
matches: []
|
335
|
+
)
|
336
|
+
transcoder.transcode request_pb
|
337
|
+
end
|
338
|
+
end
|
339
|
+
end
|
340
|
+
end
|
341
|
+
end
|
342
|
+
end
|
343
|
+
end
|
344
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 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/debugger/v2/version"
|
24
|
+
|
25
|
+
require "google/cloud/debugger/v2/debugger/credentials"
|
26
|
+
require "google/cloud/debugger/v2/debugger/rest/client"
|
27
|
+
|
28
|
+
module Google
|
29
|
+
module Cloud
|
30
|
+
module Debugger
|
31
|
+
module V2
|
32
|
+
##
|
33
|
+
# The Debugger service provides the API that allows users to collect run-time
|
34
|
+
# information from a running application, without stopping or slowing it down
|
35
|
+
# and without modifying its state. An application may include one or
|
36
|
+
# more replicated processes performing the same work.
|
37
|
+
#
|
38
|
+
# A debugged application is represented using the Debuggee concept. The
|
39
|
+
# Debugger service provides a way to query for available debuggees, but does
|
40
|
+
# not provide a way to create one. A debuggee is created using the Controller
|
41
|
+
# service, usually by running a debugger agent with the application.
|
42
|
+
#
|
43
|
+
# The Debugger service enables the client to set one or more Breakpoints on a
|
44
|
+
# Debuggee and collect the results of the set Breakpoints.
|
45
|
+
#
|
46
|
+
# To load this service and instantiate a REST client:
|
47
|
+
#
|
48
|
+
# require "google/cloud/debugger/v2/debugger/rest"
|
49
|
+
# client = ::Google::Cloud::Debugger::V2::Debugger::Rest::Client.new
|
50
|
+
#
|
51
|
+
module Debugger
|
52
|
+
# Client for the REST transport
|
53
|
+
module Rest
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
62
|
+
require "google/cloud/debugger/v2/debugger/rest/helpers" if ::File.file? helper_path
|
@@ -24,6 +24,7 @@ require "google/cloud/debugger/v2/version"
|
|
24
24
|
|
25
25
|
require "google/cloud/debugger/v2/debugger/credentials"
|
26
26
|
require "google/cloud/debugger/v2/debugger/client"
|
27
|
+
require "google/cloud/debugger/v2/debugger/rest"
|
27
28
|
|
28
29
|
module Google
|
29
30
|
module Cloud
|
@@ -43,11 +44,16 @@ module Google
|
|
43
44
|
# The Debugger service enables the client to set one or more Breakpoints on a
|
44
45
|
# Debuggee and collect the results of the set Breakpoints.
|
45
46
|
#
|
46
|
-
#
|
47
|
+
# @example Load this service and instantiate a gRPC client
|
47
48
|
#
|
48
49
|
# require "google/cloud/debugger/v2/debugger"
|
49
50
|
# client = ::Google::Cloud::Debugger::V2::Debugger::Client.new
|
50
51
|
#
|
52
|
+
# @example Load this service and instantiate a REST client
|
53
|
+
#
|
54
|
+
# require "google/cloud/debugger/v2/debugger/rest"
|
55
|
+
# client = ::Google::Cloud::Debugger::V2::Debugger::Rest::Client.new
|
56
|
+
#
|
51
57
|
module Debugger
|
52
58
|
end
|
53
59
|
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 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/debugger/v2/controller/rest"
|
20
|
+
require "google/cloud/debugger/v2/debugger/rest"
|
21
|
+
require "google/cloud/debugger/v2/version"
|
22
|
+
|
23
|
+
module Google
|
24
|
+
module Cloud
|
25
|
+
module Debugger
|
26
|
+
##
|
27
|
+
# To load just the REST part of this package, including all its services, and instantiate a REST client:
|
28
|
+
#
|
29
|
+
# @example
|
30
|
+
#
|
31
|
+
# require "google/cloud/debugger/v2/rest"
|
32
|
+
# client = ::Google::Cloud::Debugger::V2::Controller::Rest::Client.new
|
33
|
+
#
|
34
|
+
module V2
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -24,13 +24,18 @@ module Google
|
|
24
24
|
module Cloud
|
25
25
|
module Debugger
|
26
26
|
##
|
27
|
-
#
|
27
|
+
# API client module.
|
28
28
|
#
|
29
|
-
# @example
|
29
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
30
30
|
#
|
31
31
|
# require "google/cloud/debugger/v2"
|
32
32
|
# client = ::Google::Cloud::Debugger::V2::Controller::Client.new
|
33
33
|
#
|
34
|
+
# @example Load this package, including all its services, and instantiate a REST client
|
35
|
+
#
|
36
|
+
# require "google/cloud/debugger/v2"
|
37
|
+
# client = ::Google::Cloud::Debugger::V2::Controller::Rest::Client.new
|
38
|
+
#
|
34
39
|
module V2
|
35
40
|
end
|
36
41
|
end
|
@@ -7,7 +7,6 @@ require 'google/api/annotations_pb'
|
|
7
7
|
require 'google/api/client_pb'
|
8
8
|
require 'google/api/field_behavior_pb'
|
9
9
|
require 'google/devtools/clouddebugger/v2/data_pb'
|
10
|
-
require 'google/protobuf/empty_pb'
|
11
10
|
|
12
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
12
|
add_file("google/devtools/clouddebugger/v2/controller.proto", :syntax => :proto3) do
|
@@ -6,7 +6,6 @@ require 'google/protobuf'
|
|
6
6
|
require 'google/devtools/source/v1/source_context_pb'
|
7
7
|
require 'google/protobuf/timestamp_pb'
|
8
8
|
require 'google/protobuf/wrappers_pb'
|
9
|
-
require 'google/api/annotations_pb'
|
10
9
|
|
11
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
11
|
add_file("google/devtools/clouddebugger/v2/data.proto", :syntax => :proto3) do
|