google-cloud-service_usage-v1 0.7.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- 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 +35 -10
- data/proto_docs/google/api/documentation.rb +1 -1
- data/proto_docs/google/api/endpoint.rb +3 -8
- data/proto_docs/google/api/monitored_resource.rb +1 -1
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afce4e162c6a7531475fa561313bef587ebc09a7ae4688d915f1c6350fb35b8a
|
4
|
+
data.tar.gz: ab44e5ce7d10178205c0b1c445c1bd2e76e2f132a78731ec111d149c9517cf3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2746fced8cff37ae440616451ce7cd7b742fb5141a6bb3c075d99d55e6ab988a2a9c7428aebfdeaf5e5542f988e600e0a56de1919ad9a1ce3617b638cddb4440
|
7
|
+
data.tar.gz: a9c426770d257f3cfe24fc54e378d2f1c5229bfe4df72f8372dde7a6d1bebb09aa0d466978f6ff41d496c72199f2785cb253ce0412520c54c9c10119cb4cce87
|
@@ -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
|
@@ -192,9 +196,26 @@ module Google
|
|
192
196
|
# @!attribute [rw] common
|
193
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
194
198
|
# Some settings.
|
199
|
+
# @!attribute [rw] experimental_features
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
201
|
+
# Experimental features to be included during client library generation.
|
195
202
|
class PythonSettings
|
196
203
|
include ::Google::Protobuf::MessageExts
|
197
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
205
|
+
|
206
|
+
# Experimental features to be included during client library generation.
|
207
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
208
|
+
# by default.
|
209
|
+
# @!attribute [rw] rest_async_io_enabled
|
210
|
+
# @return [::Boolean]
|
211
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
212
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
213
|
+
# This feature will be enabled by default 1 month after launching the
|
214
|
+
# feature in preview packages.
|
215
|
+
class ExperimentalFeatures
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
198
219
|
end
|
199
220
|
|
200
221
|
# Settings for Node client libraries.
|
@@ -286,6 +307,13 @@ module Google
|
|
286
307
|
# @return [::String]
|
287
308
|
# The fully qualified name of the method, for which the options below apply.
|
288
309
|
# This is used to find the method to apply the options.
|
310
|
+
#
|
311
|
+
# Example:
|
312
|
+
#
|
313
|
+
# publishing:
|
314
|
+
# method_settings:
|
315
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
316
|
+
# # method settings for CreateFolder...
|
289
317
|
# @!attribute [rw] long_running
|
290
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
291
319
|
# Describes settings to use for long-running operations when generating
|
@@ -294,17 +322,14 @@ module Google
|
|
294
322
|
#
|
295
323
|
# Example of a YAML configuration::
|
296
324
|
#
|
297
|
-
#
|
298
|
-
#
|
325
|
+
# publishing:
|
326
|
+
# method_settings:
|
299
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
300
328
|
# long_running:
|
301
|
-
# initial_poll_delay:
|
302
|
-
# seconds: 60 # 1 minute
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
303
330
|
# poll_delay_multiplier: 1.5
|
304
|
-
# max_poll_delay:
|
305
|
-
#
|
306
|
-
# total_poll_timeout:
|
307
|
-
# seconds: 54000 # 90 minutes
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
308
333
|
# @!attribute [rw] auto_populated_fields
|
309
334
|
# @return [::Array<::String>]
|
310
335
|
# List of top-level fields of the request message, that should be
|
@@ -313,8 +338,8 @@ module Google
|
|
313
338
|
#
|
314
339
|
# Example of a YAML configuration:
|
315
340
|
#
|
316
|
-
#
|
317
|
-
#
|
341
|
+
# publishing:
|
342
|
+
# method_settings:
|
318
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
319
344
|
# auto_populated_fields:
|
320
345
|
# - request_id
|
@@ -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:
|
@@ -44,15 +44,10 @@ module Google
|
|
44
44
|
# @return [::String]
|
45
45
|
# The canonical name of this endpoint.
|
46
46
|
# @!attribute [rw] aliases
|
47
|
-
# @deprecated This field is deprecated and may be removed in the next major version update.
|
48
47
|
# @return [::Array<::String>]
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
# please specify multiple {::Google::Api::Endpoint google.api.Endpoint} for each
|
53
|
-
# of the intended aliases.
|
54
|
-
#
|
55
|
-
# Additional names that this endpoint will be hosted on.
|
48
|
+
# Aliases for this endpoint, these will be served by the same UrlMap as the
|
49
|
+
# parent endpoint, and will be provisioned in the GCP stack for the Regional
|
50
|
+
# Endpoints.
|
56
51
|
# @!attribute [rw] target
|
57
52
|
# @return [::String]
|
58
53
|
# The specification of an Internet routable address of API frontend that will
|
@@ -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).
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
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.1
|
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-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|