google-cloud-service_usage-v1 0.6.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/service_usage/v1/service_usage/client.rb +15 -6
- data/lib/google/cloud/service_usage/v1/service_usage/operations.rb +13 -5
- data/lib/google/cloud/service_usage/v1/service_usage/rest/client.rb +15 -6
- data/lib/google/cloud/service_usage/v1/service_usage/rest/operations.rb +11 -4
- data/lib/google/cloud/service_usage/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/api/documentation.rb +1 -1
- data/proto_docs/google/api/monitored_resource.rb +1 -1
- metadata +4 -116
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85fa8ae26de9e7e2a583e4a451c620f7504048081b373802cda5293006ebd00f
|
4
|
+
data.tar.gz: 399973c053dbdcea6c007665d3964ab699a5c253249ef11f39456227c15ff3c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b224b19bdbee5e4ebf310676b5ca5a44c077b8a96c9355f0ce677b9978f166ed5a50daf818228fe63a1da2327a6a09ebd41518b3aeec2271204e3cbc814f7241
|
7
|
+
data.tar.gz: 7bbcf69571d3a0ba0ef924864d2c2ec618422b15a018bde67db044d596f3956f9bfdaabcec675af3d5c7af45d45ed2ca3cfdd079d7d20d19af743307dd5ab304
|
data/README.md
CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
76
76
|
|
77
77
|
## Supported Ruby Versions
|
78
78
|
|
79
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.7+.
|
80
80
|
|
81
81
|
Google provides official support for Ruby versions that are actively supported
|
82
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# See [Service Usage API](https://cloud.google.com/service-usage/docs/overview)
|
35
35
|
#
|
36
36
|
class Client
|
37
|
+
# @private
|
38
|
+
API_VERSION = ""
|
39
|
+
|
37
40
|
# @private
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "serviceusage.$UNIVERSE_DOMAIN$"
|
39
42
|
|
@@ -250,10 +253,11 @@ module Google
|
|
250
253
|
# Customize the options with defaults
|
251
254
|
metadata = @config.rpcs.enable_service.metadata.to_h
|
252
255
|
|
253
|
-
# Set x-goog-api-client
|
256
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
254
257
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
255
258
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
256
259
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION
|
260
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
257
261
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
258
262
|
|
259
263
|
header_params = {}
|
@@ -363,10 +367,11 @@ module Google
|
|
363
367
|
# Customize the options with defaults
|
364
368
|
metadata = @config.rpcs.disable_service.metadata.to_h
|
365
369
|
|
366
|
-
# Set x-goog-api-client
|
370
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
367
371
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
368
372
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
369
373
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION
|
374
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
370
375
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
371
376
|
|
372
377
|
header_params = {}
|
@@ -453,10 +458,11 @@ module Google
|
|
453
458
|
# Customize the options with defaults
|
454
459
|
metadata = @config.rpcs.get_service.metadata.to_h
|
455
460
|
|
456
|
-
# Set x-goog-api-client
|
461
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
457
462
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
458
463
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
459
464
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION
|
465
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
460
466
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
461
467
|
|
462
468
|
header_params = {}
|
@@ -567,10 +573,11 @@ module Google
|
|
567
573
|
# Customize the options with defaults
|
568
574
|
metadata = @config.rpcs.list_services.metadata.to_h
|
569
575
|
|
570
|
-
# Set x-goog-api-client
|
576
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
571
577
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
572
578
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
573
579
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION
|
580
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
574
581
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
575
582
|
|
576
583
|
header_params = {}
|
@@ -679,10 +686,11 @@ module Google
|
|
679
686
|
# Customize the options with defaults
|
680
687
|
metadata = @config.rpcs.batch_enable_services.metadata.to_h
|
681
688
|
|
682
|
-
# Set x-goog-api-client
|
689
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
683
690
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
684
691
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
685
692
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION
|
693
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
686
694
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
687
695
|
|
688
696
|
header_params = {}
|
@@ -777,10 +785,11 @@ module Google
|
|
777
785
|
# Customize the options with defaults
|
778
786
|
metadata = @config.rpcs.batch_get_services.metadata.to_h
|
779
787
|
|
780
|
-
# Set x-goog-api-client
|
788
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
781
789
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
782
790
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
783
791
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION
|
792
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
784
793
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
785
794
|
|
786
795
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module ServiceUsage
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "serviceusage.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -191,10 +194,11 @@ module Google
|
|
191
194
|
# Customize the options with defaults
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
193
196
|
|
194
|
-
# Set x-goog-api-client
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
197
200
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
199
203
|
|
200
204
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -279,10 +283,11 @@ module Google
|
|
279
283
|
# Customize the options with defaults
|
280
284
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
281
285
|
|
282
|
-
# Set x-goog-api-client
|
286
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
283
287
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
284
288
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
285
289
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION
|
290
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
286
291
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
287
292
|
|
288
293
|
header_params = {}
|
@@ -368,10 +373,11 @@ module Google
|
|
368
373
|
# Customize the options with defaults
|
369
374
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
370
375
|
|
371
|
-
# Set x-goog-api-client
|
376
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
372
377
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
373
378
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
374
379
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION
|
380
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
375
381
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
376
382
|
|
377
383
|
header_params = {}
|
@@ -462,10 +468,11 @@ module Google
|
|
462
468
|
# Customize the options with defaults
|
463
469
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
464
470
|
|
465
|
-
# Set x-goog-api-client
|
471
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
466
472
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
467
473
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
468
474
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION
|
475
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
469
476
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
470
477
|
|
471
478
|
header_params = {}
|
@@ -566,10 +573,11 @@ module Google
|
|
566
573
|
# Customize the options with defaults
|
567
574
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
568
575
|
|
569
|
-
# Set x-goog-api-client
|
576
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
570
577
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
571
578
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
572
579
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION
|
580
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
573
581
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
574
582
|
|
575
583
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -36,6 +36,9 @@ module Google
|
|
36
36
|
# See [Service Usage API](https://cloud.google.com/service-usage/docs/overview)
|
37
37
|
#
|
38
38
|
class Client
|
39
|
+
# @private
|
40
|
+
API_VERSION = ""
|
41
|
+
|
39
42
|
# @private
|
40
43
|
DEFAULT_ENDPOINT_TEMPLATE = "serviceusage.$UNIVERSE_DOMAIN$"
|
41
44
|
|
@@ -242,12 +245,13 @@ module Google
|
|
242
245
|
# Customize the options with defaults
|
243
246
|
call_metadata = @config.rpcs.enable_service.metadata.to_h
|
244
247
|
|
245
|
-
# Set x-goog-api-client
|
248
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
246
249
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
247
250
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
248
251
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION,
|
249
252
|
transports_version_send: [:rest]
|
250
253
|
|
254
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
251
255
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
252
256
|
|
253
257
|
options.apply_defaults timeout: @config.rpcs.enable_service.timeout,
|
@@ -348,12 +352,13 @@ module Google
|
|
348
352
|
# Customize the options with defaults
|
349
353
|
call_metadata = @config.rpcs.disable_service.metadata.to_h
|
350
354
|
|
351
|
-
# Set x-goog-api-client
|
355
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
352
356
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
353
357
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
354
358
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION,
|
355
359
|
transports_version_send: [:rest]
|
356
360
|
|
361
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
357
362
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
358
363
|
|
359
364
|
options.apply_defaults timeout: @config.rpcs.disable_service.timeout,
|
@@ -431,12 +436,13 @@ module Google
|
|
431
436
|
# Customize the options with defaults
|
432
437
|
call_metadata = @config.rpcs.get_service.metadata.to_h
|
433
438
|
|
434
|
-
# Set x-goog-api-client
|
439
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
435
440
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
436
441
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
437
442
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION,
|
438
443
|
transports_version_send: [:rest]
|
439
444
|
|
445
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
440
446
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
441
447
|
|
442
448
|
options.apply_defaults timeout: @config.rpcs.get_service.timeout,
|
@@ -538,12 +544,13 @@ module Google
|
|
538
544
|
# Customize the options with defaults
|
539
545
|
call_metadata = @config.rpcs.list_services.metadata.to_h
|
540
546
|
|
541
|
-
# Set x-goog-api-client
|
547
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
542
548
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
543
549
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
544
550
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION,
|
545
551
|
transports_version_send: [:rest]
|
546
552
|
|
553
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
547
554
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
548
555
|
|
549
556
|
options.apply_defaults timeout: @config.rpcs.list_services.timeout,
|
@@ -643,12 +650,13 @@ module Google
|
|
643
650
|
# Customize the options with defaults
|
644
651
|
call_metadata = @config.rpcs.batch_enable_services.metadata.to_h
|
645
652
|
|
646
|
-
# Set x-goog-api-client
|
653
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
647
654
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
648
655
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
649
656
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION,
|
650
657
|
transports_version_send: [:rest]
|
651
658
|
|
659
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
652
660
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
653
661
|
|
654
662
|
options.apply_defaults timeout: @config.rpcs.batch_enable_services.timeout,
|
@@ -734,12 +742,13 @@ module Google
|
|
734
742
|
# Customize the options with defaults
|
735
743
|
call_metadata = @config.rpcs.batch_get_services.metadata.to_h
|
736
744
|
|
737
|
-
# Set x-goog-api-client
|
745
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
738
746
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
739
747
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
740
748
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION,
|
741
749
|
transports_version_send: [:rest]
|
742
750
|
|
751
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
743
752
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
744
753
|
|
745
754
|
options.apply_defaults timeout: @config.rpcs.batch_get_services.timeout,
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "serviceusage.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -181,12 +184,13 @@ module Google
|
|
181
184
|
# Customize the options with defaults
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
183
186
|
|
184
|
-
# Set x-goog-api-client
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
187
190
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION,
|
188
191
|
transports_version_send: [:rest]
|
189
192
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
191
195
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -269,12 +273,13 @@ module Google
|
|
269
273
|
# Customize the options with defaults
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
271
275
|
|
272
|
-
# Set x-goog-api-client
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
279
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION,
|
276
280
|
transports_version_send: [:rest]
|
277
281
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
279
284
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -351,12 +356,13 @@ module Google
|
|
351
356
|
# Customize the options with defaults
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
353
358
|
|
354
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
362
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION,
|
358
363
|
transports_version_send: [:rest]
|
359
364
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
361
367
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -438,12 +444,13 @@ module Google
|
|
438
444
|
# Customize the options with defaults
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
440
446
|
|
441
|
-
# Set x-goog-api-client
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
450
|
gapic_version: ::Google::Cloud::ServiceUsage::V1::VERSION,
|
445
451
|
transports_version_send: [:rest]
|
446
452
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
455
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# content: (== include google/foo/overview.md ==)
|
32
32
|
# - name: Tutorial
|
33
33
|
# content: (== include google/foo/tutorial.md ==)
|
34
|
-
# subpages
|
34
|
+
# subpages:
|
35
35
|
# - name: Java
|
36
36
|
# content: (== include google/foo/tutorial_java.md ==)
|
37
37
|
# rules:
|
@@ -41,7 +41,7 @@ module Google
|
|
41
41
|
# @return [::String]
|
42
42
|
# Required. The monitored resource type. For example, the type
|
43
43
|
# `"cloudsql_database"` represents databases in Google Cloud SQL.
|
44
|
-
# For a list of types, see [
|
44
|
+
# For a list of types, see [Monitored resource
|
45
45
|
# types](https://cloud.google.com/monitoring/api/resources)
|
46
46
|
# and [Logging resource
|
47
47
|
# types](https://cloud.google.com/logging/docs/api/v2/resource-list).
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-service_usage-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.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: 2024-
|
11
|
+
date: 2024-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -44,118 +44,6 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: google-style
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 1.26.3
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 1.26.3
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: minitest
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '5.16'
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '5.16'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: minitest-focus
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '1.1'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '1.1'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: minitest-rg
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '5.2'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '5.2'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: rake
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - ">="
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '13.0'
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - ">="
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '13.0'
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: redcarpet
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - "~>"
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '3.0'
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - "~>"
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '3.0'
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: simplecov
|
133
|
-
requirement: !ruby/object:Gem::Requirement
|
134
|
-
requirements:
|
135
|
-
- - "~>"
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: '0.18'
|
138
|
-
type: :development
|
139
|
-
prerelease: false
|
140
|
-
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
requirements:
|
142
|
-
- - "~>"
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: '0.18'
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: yard
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - "~>"
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: '0.9'
|
152
|
-
type: :development
|
153
|
-
prerelease: false
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
requirements:
|
156
|
-
- - "~>"
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: '0.9'
|
159
47
|
description: Service Usage is an infrastructure service of Google Cloud that lets
|
160
48
|
you list and manage other APIs and services in your Cloud projects. You can list
|
161
49
|
and manage Google Cloud services and their APIs, as well as services created using
|
@@ -221,14 +109,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
221
109
|
requirements:
|
222
110
|
- - ">="
|
223
111
|
- !ruby/object:Gem::Version
|
224
|
-
version: '2.
|
112
|
+
version: '2.7'
|
225
113
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
226
114
|
requirements:
|
227
115
|
- - ">="
|
228
116
|
- !ruby/object:Gem::Version
|
229
117
|
version: '0'
|
230
118
|
requirements: []
|
231
|
-
rubygems_version: 3.5.
|
119
|
+
rubygems_version: 3.5.6
|
232
120
|
signing_key:
|
233
121
|
specification_version: 4
|
234
122
|
summary: Enables services that service consumers want to use on Google Cloud Platform,
|