google-cloud-debugger-v2 0.3.3 → 0.4.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.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +11 -6
- data/lib/google/cloud/debugger/v2/controller/client.rb +58 -7
- data/lib/google/cloud/debugger/v2/debugger/client.rb +101 -14
- data/lib/google/cloud/debugger/v2/version.rb +1 -1
- data/lib/google/cloud/debugger/v2.rb +2 -0
- data/lib/google/devtools/clouddebugger/v2/controller_pb.rb +1 -0
- data/lib/google/devtools/clouddebugger/v2/controller_services_pb.rb +1 -1
- data/lib/google/devtools/clouddebugger/v2/data_pb.rb +1 -0
- data/lib/google/devtools/clouddebugger/v2/debugger_pb.rb +1 -0
- data/lib/google/devtools/clouddebugger/v2/debugger_services_pb.rb +1 -1
- data/lib/google/devtools/source/v1/source_context_pb.rb +0 -1
- data/proto_docs/google/api/resource.rb +10 -71
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d0d6fb7f74e3bb8b8c80e5bdfb1923c5ff05c341d2563f7ce8331ec28c01a16
|
4
|
+
data.tar.gz: 5ed8ce07a53e4e05e07f64474ce90e4663621772350b7b79a4d0217021c86bc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '048f6da1467826257328f2ed585daf0e5ed0830da152c72ddcdf62deea8d4db98463d31139b569ef8332fe39d517c39945105c3460f87535e3aecaaebde426a5'
|
7
|
+
data.tar.gz: b3a88d6ceebaecba2697ae7c2c8b5260c6d39789e2576544da3df19cccb4b4445decdcceb2f0ccdfa9c73fadedb5772191f79c5b5107202e692cc6791267c33b
|
data/.yardopts
CHANGED
data/AUTHENTICATION.md
CHANGED
@@ -120,15 +120,6 @@ To configure your system for this, simply:
|
|
120
120
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
121
121
|
*should* only be used during development.
|
122
122
|
|
123
|
-
[gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
|
124
|
-
[dev-console]: https://console.cloud.google.com/project
|
125
|
-
|
126
|
-
[enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
|
127
|
-
|
128
|
-
[create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
|
129
|
-
[create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
|
130
|
-
[reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
|
131
|
-
|
132
123
|
## Creating a Service Account
|
133
124
|
|
134
125
|
Google Cloud requires **Service Account Credentials** to
|
@@ -139,31 +130,22 @@ If you are not running this client within
|
|
139
130
|
[Google Cloud Platform environments](#google-cloud-platform-environments), you
|
140
131
|
need a Google Developers service account.
|
141
132
|
|
142
|
-
1. Visit the [Google
|
133
|
+
1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
|
143
134
|
2. Create a new project or click on an existing project.
|
144
|
-
3. Activate the
|
135
|
+
3. Activate the menu in the upper left and select **APIs & Services**. From
|
145
136
|
here, you will enable the APIs that your application requires.
|
146
137
|
|
147
|
-
![Enable the APIs that your application requires][enable-apis]
|
148
|
-
|
149
138
|
*Note: You may need to enable billing in order to use these services.*
|
150
139
|
|
151
140
|
4. Select **Credentials** from the side navigation.
|
152
141
|
|
153
|
-
|
154
|
-
|
155
|
-
![Create a new service account][create-new-service-account]
|
156
|
-
|
157
|
-
![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
|
158
|
-
|
159
|
-
Find the "Add credentials" drop down and select "Service account" to be
|
160
|
-
guided through downloading a new JSON key file.
|
142
|
+
Find the "Create credentials" drop down near the top of the page, and select
|
143
|
+
"Service account" to be guided through downloading a new JSON key file.
|
161
144
|
|
162
145
|
If you want to re-use an existing service account, you can easily generate a
|
163
|
-
new key file. Just select the account you wish to re-use,
|
164
|
-
|
165
|
-
|
166
|
-
![Re-use an existing service account][reuse-service-account]
|
146
|
+
new key file. Just select the account you wish to re-use, click the pencil
|
147
|
+
tool on the right side to edit the service account, select the **Keys** tab,
|
148
|
+
and then select **Add Key**.
|
167
149
|
|
168
150
|
The key file you download will be used by this library to authenticate API
|
169
151
|
requests and should be stored in a secure location.
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Debugger::V2::RegisterDebuggeeRequest.new # (request
|
|
37
37
|
response = client.register_debuggee request
|
38
38
|
```
|
39
39
|
|
40
|
-
View the [Client Library Documentation](https://
|
40
|
+
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
43
|
See also the [Product Documentation](https://cloud.google.com/debugger)
|
@@ -69,16 +69,21 @@ module GRPC
|
|
69
69
|
end
|
70
70
|
```
|
71
71
|
|
72
|
+
|
73
|
+
## Google Cloud Samples
|
74
|
+
|
75
|
+
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
76
|
+
|
72
77
|
## Supported Ruby Versions
|
73
78
|
|
74
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.6+.
|
75
80
|
|
76
81
|
Google provides official support for Ruby versions that are actively supported
|
77
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
78
|
-
in security maintenance, and not end of life.
|
79
|
-
|
80
|
-
|
81
|
-
|
83
|
+
in security maintenance, and not end of life. Older versions of Ruby _may_
|
84
|
+
still work, but are unsupported and not recommended. See
|
85
|
+
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
|
86
|
+
support schedule.
|
82
87
|
|
83
88
|
## Which client should I use?
|
84
89
|
|
@@ -213,6 +213,21 @@ module Google
|
|
213
213
|
#
|
214
214
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
215
215
|
#
|
216
|
+
# @example Basic example
|
217
|
+
# require "google/cloud/debugger/v2"
|
218
|
+
#
|
219
|
+
# # Create a client object. The client can be reused for multiple calls.
|
220
|
+
# client = Google::Cloud::Debugger::V2::Controller::Client.new
|
221
|
+
#
|
222
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
223
|
+
# request = Google::Cloud::Debugger::V2::RegisterDebuggeeRequest.new
|
224
|
+
#
|
225
|
+
# # Call the register_debuggee method.
|
226
|
+
# result = client.register_debuggee request
|
227
|
+
#
|
228
|
+
# # The returned object is of type Google::Cloud::Debugger::V2::RegisterDebuggeeResponse.
|
229
|
+
# p result
|
230
|
+
#
|
216
231
|
def register_debuggee request, options = nil
|
217
232
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
218
233
|
|
@@ -299,6 +314,21 @@ module Google
|
|
299
314
|
#
|
300
315
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
301
316
|
#
|
317
|
+
# @example Basic example
|
318
|
+
# require "google/cloud/debugger/v2"
|
319
|
+
#
|
320
|
+
# # Create a client object. The client can be reused for multiple calls.
|
321
|
+
# client = Google::Cloud::Debugger::V2::Controller::Client.new
|
322
|
+
#
|
323
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
324
|
+
# request = Google::Cloud::Debugger::V2::ListActiveBreakpointsRequest.new
|
325
|
+
#
|
326
|
+
# # Call the list_active_breakpoints method.
|
327
|
+
# result = client.list_active_breakpoints request
|
328
|
+
#
|
329
|
+
# # The returned object is of type Google::Cloud::Debugger::V2::ListActiveBreakpointsResponse.
|
330
|
+
# p result
|
331
|
+
#
|
302
332
|
def list_active_breakpoints request, options = nil
|
303
333
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
304
334
|
|
@@ -316,9 +346,11 @@ module Google
|
|
316
346
|
gapic_version: ::Google::Cloud::Debugger::V2::VERSION
|
317
347
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
318
348
|
|
319
|
-
header_params = {
|
320
|
-
|
321
|
-
|
349
|
+
header_params = {}
|
350
|
+
if request.debuggee_id
|
351
|
+
header_params["debuggee_id"] = request.debuggee_id
|
352
|
+
end
|
353
|
+
|
322
354
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
323
355
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
324
356
|
|
@@ -378,6 +410,21 @@ module Google
|
|
378
410
|
#
|
379
411
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
380
412
|
#
|
413
|
+
# @example Basic example
|
414
|
+
# require "google/cloud/debugger/v2"
|
415
|
+
#
|
416
|
+
# # Create a client object. The client can be reused for multiple calls.
|
417
|
+
# client = Google::Cloud::Debugger::V2::Controller::Client.new
|
418
|
+
#
|
419
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
420
|
+
# request = Google::Cloud::Debugger::V2::UpdateActiveBreakpointRequest.new
|
421
|
+
#
|
422
|
+
# # Call the update_active_breakpoint method.
|
423
|
+
# result = client.update_active_breakpoint request
|
424
|
+
#
|
425
|
+
# # The returned object is of type Google::Cloud::Debugger::V2::UpdateActiveBreakpointResponse.
|
426
|
+
# p result
|
427
|
+
#
|
381
428
|
def update_active_breakpoint request, options = nil
|
382
429
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
383
430
|
|
@@ -395,10 +442,14 @@ module Google
|
|
395
442
|
gapic_version: ::Google::Cloud::Debugger::V2::VERSION
|
396
443
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
397
444
|
|
398
|
-
header_params = {
|
399
|
-
|
400
|
-
"
|
401
|
-
|
445
|
+
header_params = {}
|
446
|
+
if request.debuggee_id
|
447
|
+
header_params["debuggee_id"] = request.debuggee_id
|
448
|
+
end
|
449
|
+
if request.breakpoint&.id
|
450
|
+
header_params["breakpoint.id"] = request.breakpoint.id
|
451
|
+
end
|
452
|
+
|
402
453
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
403
454
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
404
455
|
|
@@ -210,6 +210,21 @@ module Google
|
|
210
210
|
#
|
211
211
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
212
212
|
#
|
213
|
+
# @example Basic example
|
214
|
+
# require "google/cloud/debugger/v2"
|
215
|
+
#
|
216
|
+
# # Create a client object. The client can be reused for multiple calls.
|
217
|
+
# client = Google::Cloud::Debugger::V2::Debugger::Client.new
|
218
|
+
#
|
219
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
220
|
+
# request = Google::Cloud::Debugger::V2::SetBreakpointRequest.new
|
221
|
+
#
|
222
|
+
# # Call the set_breakpoint method.
|
223
|
+
# result = client.set_breakpoint request
|
224
|
+
#
|
225
|
+
# # The returned object is of type Google::Cloud::Debugger::V2::SetBreakpointResponse.
|
226
|
+
# p result
|
227
|
+
#
|
213
228
|
def set_breakpoint request, options = nil
|
214
229
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
215
230
|
|
@@ -227,9 +242,11 @@ module Google
|
|
227
242
|
gapic_version: ::Google::Cloud::Debugger::V2::VERSION
|
228
243
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
229
244
|
|
230
|
-
header_params = {
|
231
|
-
|
232
|
-
|
245
|
+
header_params = {}
|
246
|
+
if request.debuggee_id
|
247
|
+
header_params["debuggee_id"] = request.debuggee_id
|
248
|
+
end
|
249
|
+
|
233
250
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
234
251
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
235
252
|
|
@@ -283,6 +300,21 @@ module Google
|
|
283
300
|
#
|
284
301
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
285
302
|
#
|
303
|
+
# @example Basic example
|
304
|
+
# require "google/cloud/debugger/v2"
|
305
|
+
#
|
306
|
+
# # Create a client object. The client can be reused for multiple calls.
|
307
|
+
# client = Google::Cloud::Debugger::V2::Debugger::Client.new
|
308
|
+
#
|
309
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
310
|
+
# request = Google::Cloud::Debugger::V2::GetBreakpointRequest.new
|
311
|
+
#
|
312
|
+
# # Call the get_breakpoint method.
|
313
|
+
# result = client.get_breakpoint request
|
314
|
+
#
|
315
|
+
# # The returned object is of type Google::Cloud::Debugger::V2::GetBreakpointResponse.
|
316
|
+
# p result
|
317
|
+
#
|
286
318
|
def get_breakpoint request, options = nil
|
287
319
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
288
320
|
|
@@ -300,10 +332,14 @@ module Google
|
|
300
332
|
gapic_version: ::Google::Cloud::Debugger::V2::VERSION
|
301
333
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
302
334
|
|
303
|
-
header_params = {
|
304
|
-
|
305
|
-
"
|
306
|
-
|
335
|
+
header_params = {}
|
336
|
+
if request.debuggee_id
|
337
|
+
header_params["debuggee_id"] = request.debuggee_id
|
338
|
+
end
|
339
|
+
if request.breakpoint_id
|
340
|
+
header_params["breakpoint_id"] = request.breakpoint_id
|
341
|
+
end
|
342
|
+
|
307
343
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
308
344
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
309
345
|
|
@@ -357,6 +393,21 @@ module Google
|
|
357
393
|
#
|
358
394
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
359
395
|
#
|
396
|
+
# @example Basic example
|
397
|
+
# require "google/cloud/debugger/v2"
|
398
|
+
#
|
399
|
+
# # Create a client object. The client can be reused for multiple calls.
|
400
|
+
# client = Google::Cloud::Debugger::V2::Debugger::Client.new
|
401
|
+
#
|
402
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
403
|
+
# request = Google::Cloud::Debugger::V2::DeleteBreakpointRequest.new
|
404
|
+
#
|
405
|
+
# # Call the delete_breakpoint method.
|
406
|
+
# result = client.delete_breakpoint request
|
407
|
+
#
|
408
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
409
|
+
# p result
|
410
|
+
#
|
360
411
|
def delete_breakpoint request, options = nil
|
361
412
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
362
413
|
|
@@ -374,10 +425,14 @@ module Google
|
|
374
425
|
gapic_version: ::Google::Cloud::Debugger::V2::VERSION
|
375
426
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
376
427
|
|
377
|
-
header_params = {
|
378
|
-
|
379
|
-
"
|
380
|
-
|
428
|
+
header_params = {}
|
429
|
+
if request.debuggee_id
|
430
|
+
header_params["debuggee_id"] = request.debuggee_id
|
431
|
+
end
|
432
|
+
if request.breakpoint_id
|
433
|
+
header_params["breakpoint_id"] = request.breakpoint_id
|
434
|
+
end
|
435
|
+
|
381
436
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
382
437
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
383
438
|
|
@@ -446,6 +501,21 @@ module Google
|
|
446
501
|
#
|
447
502
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
448
503
|
#
|
504
|
+
# @example Basic example
|
505
|
+
# require "google/cloud/debugger/v2"
|
506
|
+
#
|
507
|
+
# # Create a client object. The client can be reused for multiple calls.
|
508
|
+
# client = Google::Cloud::Debugger::V2::Debugger::Client.new
|
509
|
+
#
|
510
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
511
|
+
# request = Google::Cloud::Debugger::V2::ListBreakpointsRequest.new
|
512
|
+
#
|
513
|
+
# # Call the list_breakpoints method.
|
514
|
+
# result = client.list_breakpoints request
|
515
|
+
#
|
516
|
+
# # The returned object is of type Google::Cloud::Debugger::V2::ListBreakpointsResponse.
|
517
|
+
# p result
|
518
|
+
#
|
449
519
|
def list_breakpoints request, options = nil
|
450
520
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
451
521
|
|
@@ -463,9 +533,11 @@ module Google
|
|
463
533
|
gapic_version: ::Google::Cloud::Debugger::V2::VERSION
|
464
534
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
465
535
|
|
466
|
-
header_params = {
|
467
|
-
|
468
|
-
|
536
|
+
header_params = {}
|
537
|
+
if request.debuggee_id
|
538
|
+
header_params["debuggee_id"] = request.debuggee_id
|
539
|
+
end
|
540
|
+
|
469
541
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
470
542
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
471
543
|
|
@@ -520,6 +592,21 @@ module Google
|
|
520
592
|
#
|
521
593
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
522
594
|
#
|
595
|
+
# @example Basic example
|
596
|
+
# require "google/cloud/debugger/v2"
|
597
|
+
#
|
598
|
+
# # Create a client object. The client can be reused for multiple calls.
|
599
|
+
# client = Google::Cloud::Debugger::V2::Debugger::Client.new
|
600
|
+
#
|
601
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
602
|
+
# request = Google::Cloud::Debugger::V2::ListDebuggeesRequest.new
|
603
|
+
#
|
604
|
+
# # Call the list_debuggees method.
|
605
|
+
# result = client.list_debuggees request
|
606
|
+
#
|
607
|
+
# # The returned object is of type Google::Cloud::Debugger::V2::ListDebuggeesResponse.
|
608
|
+
# p result
|
609
|
+
#
|
523
610
|
def list_debuggees request, options = nil
|
524
611
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
525
612
|
|
@@ -8,6 +8,7 @@ require 'google/api/client_pb'
|
|
8
8
|
require 'google/api/field_behavior_pb'
|
9
9
|
require 'google/devtools/clouddebugger/v2/data_pb'
|
10
10
|
require 'google/protobuf/empty_pb'
|
11
|
+
|
11
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
13
|
add_file("google/devtools/clouddebugger/v2/controller.proto", :syntax => :proto3) do
|
13
14
|
add_message "google.devtools.clouddebugger.v2.RegisterDebuggeeRequest" do
|
@@ -7,6 +7,7 @@ require 'google/devtools/source/v1/source_context_pb'
|
|
7
7
|
require 'google/protobuf/timestamp_pb'
|
8
8
|
require 'google/protobuf/wrappers_pb'
|
9
9
|
require 'google/api/annotations_pb'
|
10
|
+
|
10
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
12
|
add_file("google/devtools/clouddebugger/v2/data.proto", :syntax => :proto3) do
|
12
13
|
add_message "google.devtools.clouddebugger.v2.FormatMessage" do
|
@@ -8,6 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/devtools/clouddebugger/v2/data_pb'
|
9
9
|
require 'google/protobuf/empty_pb'
|
10
10
|
require 'google/api/annotations_pb'
|
11
|
+
|
11
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
13
|
add_file("google/devtools/clouddebugger/v2/debugger.proto", :syntax => :proto3) do
|
13
14
|
add_message "google.devtools.clouddebugger.v2.SetBreakpointRequest" do
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
-
require 'google/api/annotations_pb'
|
7
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
7
|
add_file("google/devtools/source/v1/source_context.proto", :syntax => :proto3) do
|
9
8
|
add_message "google.devtools.source.v1.SourceContext" do
|
@@ -33,11 +33,7 @@ module Google
|
|
33
33
|
# // For Kubernetes resources, the format is {api group}/{kind}.
|
34
34
|
# option (google.api.resource) = {
|
35
35
|
# type: "pubsub.googleapis.com/Topic"
|
36
|
-
#
|
37
|
-
# pattern: "projects/{project}/topics/{topic}"
|
38
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
39
|
-
# parent_name_extractor: "projects/{project}"
|
40
|
-
# }
|
36
|
+
# pattern: "projects/{project}/topics/{topic}"
|
41
37
|
# };
|
42
38
|
# }
|
43
39
|
#
|
@@ -45,10 +41,7 @@ module Google
|
|
45
41
|
#
|
46
42
|
# resources:
|
47
43
|
# - type: "pubsub.googleapis.com/Topic"
|
48
|
-
#
|
49
|
-
# - pattern: "projects/{project}/topics/{topic}"
|
50
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
51
|
-
# parent_name_extractor: "projects/{project}"
|
44
|
+
# pattern: "projects/{project}/topics/{topic}"
|
52
45
|
#
|
53
46
|
# Sometimes, resources have multiple patterns, typically because they can
|
54
47
|
# live under multiple parents.
|
@@ -58,26 +51,10 @@ module Google
|
|
58
51
|
# message LogEntry {
|
59
52
|
# option (google.api.resource) = {
|
60
53
|
# type: "logging.googleapis.com/LogEntry"
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# }
|
66
|
-
# name_descriptor: {
|
67
|
-
# pattern: "folders/{folder}/logs/{log}"
|
68
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
69
|
-
# parent_name_extractor: "folders/{folder}"
|
70
|
-
# }
|
71
|
-
# name_descriptor: {
|
72
|
-
# pattern: "organizations/{organization}/logs/{log}"
|
73
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
74
|
-
# parent_name_extractor: "organizations/{organization}"
|
75
|
-
# }
|
76
|
-
# name_descriptor: {
|
77
|
-
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
78
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
79
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
80
|
-
# }
|
54
|
+
# pattern: "projects/{project}/logs/{log}"
|
55
|
+
# pattern: "folders/{folder}/logs/{log}"
|
56
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
57
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
81
58
|
# };
|
82
59
|
# }
|
83
60
|
#
|
@@ -85,48 +62,10 @@ module Google
|
|
85
62
|
#
|
86
63
|
# resources:
|
87
64
|
# - type: 'logging.googleapis.com/LogEntry'
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
# - pattern: "folders/{folder}/logs/{log}"
|
93
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
94
|
-
# parent_name_extractor: "folders/{folder}"
|
95
|
-
# - pattern: "organizations/{organization}/logs/{log}"
|
96
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
97
|
-
# parent_name_extractor: "organizations/{organization}"
|
98
|
-
# - pattern: "billingAccounts/{billing_account}/logs/{log}"
|
99
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
100
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
101
|
-
#
|
102
|
-
# For flexible resources, the resource name doesn't contain parent names, but
|
103
|
-
# the resource itself has parents for policy evaluation.
|
104
|
-
#
|
105
|
-
# Example:
|
106
|
-
#
|
107
|
-
# message Shelf {
|
108
|
-
# option (google.api.resource) = {
|
109
|
-
# type: "library.googleapis.com/Shelf"
|
110
|
-
# name_descriptor: {
|
111
|
-
# pattern: "shelves/{shelf}"
|
112
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
113
|
-
# }
|
114
|
-
# name_descriptor: {
|
115
|
-
# pattern: "shelves/{shelf}"
|
116
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
117
|
-
# }
|
118
|
-
# };
|
119
|
-
# }
|
120
|
-
#
|
121
|
-
# The ResourceDescriptor Yaml config will look like:
|
122
|
-
#
|
123
|
-
# resources:
|
124
|
-
# - type: 'library.googleapis.com/Shelf'
|
125
|
-
# name_descriptor:
|
126
|
-
# - pattern: "shelves/{shelf}"
|
127
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
128
|
-
# - pattern: "shelves/{shelf}"
|
129
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
65
|
+
# pattern: "projects/{project}/logs/{log}"
|
66
|
+
# pattern: "folders/{folder}/logs/{log}"
|
67
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
68
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
130
69
|
# @!attribute [rw] type
|
131
70
|
# @return [::String]
|
132
71
|
# The resource type. It must be in the format of
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-debugger-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.10'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.10'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,28 +50,28 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.
|
53
|
+
version: 1.26.1
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.
|
60
|
+
version: 1.26.1
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: minitest
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '5.
|
67
|
+
version: '5.16'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '5.
|
74
|
+
version: '5.16'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: minitest-focus
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,14 +106,14 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
109
|
+
version: '13.0'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - ">="
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
116
|
+
version: '13.0'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: redcarpet
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,14 +212,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
212
212
|
requirements:
|
213
213
|
- - ">="
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version: '2.
|
215
|
+
version: '2.6'
|
216
216
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
217
217
|
requirements:
|
218
218
|
- - ">="
|
219
219
|
- !ruby/object:Gem::Version
|
220
220
|
version: '0'
|
221
221
|
requirements: []
|
222
|
-
rubygems_version: 3.
|
222
|
+
rubygems_version: 3.3.14
|
223
223
|
signing_key:
|
224
224
|
specification_version: 4
|
225
225
|
summary: API Client library for the Cloud Debugger V2 API
|