google-cloud-assured_workloads-v1 0.10.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/assured_workloads/v1/assured_workloads_service/client.rb +21 -9
- data/lib/google/cloud/assured_workloads/v1/assured_workloads_service/operations.rb +13 -5
- data/lib/google/cloud/assured_workloads/v1/assured_workloads_service/rest/client.rb +15 -6
- data/lib/google/cloud/assured_workloads/v1/assured_workloads_service/rest/operations.rb +11 -4
- data/lib/google/cloud/assured_workloads/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- 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: d3f3d6fb4577b0e9dd50b226cf96042448347c26c9f6dd1feb744e8eacc8af78
|
4
|
+
data.tar.gz: 01a60ac41502cf3e5519caa5ca7003a7b4a8764a7260ec7b794f0decd01254d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f490d3c5b023dd86aee8eac250e8392f53d55334dc7adc707778b18df8be927eaaea142c37e8b00f98e2d3e52b29aee0617b8691ecff6ce0b96a6d851fc2dbf
|
7
|
+
data.tar.gz: b980cc654e313ae3470de3563d2040025ceb34ff287a7a3d7a91b972e19369a7b8056d2f4360899d4c75e5aaeb74237fb364ae04ad78134a54a6ceaf745b64b6
|
@@ -30,6 +30,9 @@ module Google
|
|
30
30
|
# Service to manage AssuredWorkloads.
|
31
31
|
#
|
32
32
|
class Client
|
33
|
+
# @private
|
34
|
+
API_VERSION = ""
|
35
|
+
|
33
36
|
# @private
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "assuredworkloads.$UNIVERSE_DOMAIN$"
|
35
38
|
|
@@ -246,10 +249,11 @@ module Google
|
|
246
249
|
# Customize the options with defaults
|
247
250
|
metadata = @config.rpcs.create_workload.metadata.to_h
|
248
251
|
|
249
|
-
# Set x-goog-api-client
|
252
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
250
253
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
251
254
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
252
255
|
gapic_version: ::Google::Cloud::AssuredWorkloads::V1::VERSION
|
256
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
253
257
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
254
258
|
|
255
259
|
header_params = {}
|
@@ -340,10 +344,11 @@ module Google
|
|
340
344
|
# Customize the options with defaults
|
341
345
|
metadata = @config.rpcs.update_workload.metadata.to_h
|
342
346
|
|
343
|
-
# Set x-goog-api-client
|
347
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
344
348
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
345
349
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
346
350
|
gapic_version: ::Google::Cloud::AssuredWorkloads::V1::VERSION
|
351
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
347
352
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
348
353
|
|
349
354
|
header_params = {}
|
@@ -436,10 +441,11 @@ module Google
|
|
436
441
|
# Customize the options with defaults
|
437
442
|
metadata = @config.rpcs.restrict_allowed_resources.metadata.to_h
|
438
443
|
|
439
|
-
# Set x-goog-api-client
|
444
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
440
445
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
441
446
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
442
447
|
gapic_version: ::Google::Cloud::AssuredWorkloads::V1::VERSION
|
448
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
443
449
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
444
450
|
|
445
451
|
header_params = {}
|
@@ -528,10 +534,11 @@ module Google
|
|
528
534
|
# Customize the options with defaults
|
529
535
|
metadata = @config.rpcs.delete_workload.metadata.to_h
|
530
536
|
|
531
|
-
# Set x-goog-api-client
|
537
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
532
538
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
533
539
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
534
540
|
gapic_version: ::Google::Cloud::AssuredWorkloads::V1::VERSION
|
541
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
535
542
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
536
543
|
|
537
544
|
header_params = {}
|
@@ -617,10 +624,11 @@ module Google
|
|
617
624
|
# Customize the options with defaults
|
618
625
|
metadata = @config.rpcs.get_workload.metadata.to_h
|
619
626
|
|
620
|
-
# Set x-goog-api-client
|
627
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
621
628
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
622
629
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
623
630
|
gapic_version: ::Google::Cloud::AssuredWorkloads::V1::VERSION
|
631
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
624
632
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
625
633
|
|
626
634
|
header_params = {}
|
@@ -716,10 +724,11 @@ module Google
|
|
716
724
|
# Customize the options with defaults
|
717
725
|
metadata = @config.rpcs.list_workloads.metadata.to_h
|
718
726
|
|
719
|
-
# Set x-goog-api-client
|
727
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
720
728
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
721
729
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
722
730
|
gapic_version: ::Google::Cloud::AssuredWorkloads::V1::VERSION
|
731
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
723
732
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
724
733
|
|
725
734
|
header_params = {}
|
@@ -821,10 +830,11 @@ module Google
|
|
821
830
|
# Customize the options with defaults
|
822
831
|
metadata = @config.rpcs.list_violations.metadata.to_h
|
823
832
|
|
824
|
-
# Set x-goog-api-client
|
833
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
825
834
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
826
835
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
827
836
|
gapic_version: ::Google::Cloud::AssuredWorkloads::V1::VERSION
|
837
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
828
838
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
829
839
|
|
830
840
|
options.apply_defaults timeout: @config.rpcs.list_violations.timeout,
|
@@ -901,10 +911,11 @@ module Google
|
|
901
911
|
# Customize the options with defaults
|
902
912
|
metadata = @config.rpcs.get_violation.metadata.to_h
|
903
913
|
|
904
|
-
# Set x-goog-api-client
|
914
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
905
915
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
906
916
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
907
917
|
gapic_version: ::Google::Cloud::AssuredWorkloads::V1::VERSION
|
918
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
908
919
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
909
920
|
|
910
921
|
options.apply_defaults timeout: @config.rpcs.get_violation.timeout,
|
@@ -993,10 +1004,11 @@ module Google
|
|
993
1004
|
# Customize the options with defaults
|
994
1005
|
metadata = @config.rpcs.acknowledge_violation.metadata.to_h
|
995
1006
|
|
996
|
-
# Set x-goog-api-client
|
1007
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
997
1008
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
998
1009
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
999
1010
|
gapic_version: ::Google::Cloud::AssuredWorkloads::V1::VERSION
|
1011
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1000
1012
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1001
1013
|
|
1002
1014
|
options.apply_defaults timeout: @config.rpcs.acknowledge_violation.timeout,
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module AssuredWorkloadsService
|
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 = "assuredworkloads.$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::AssuredWorkloads::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
|
header_params = {}
|
@@ -287,10 +291,11 @@ module Google
|
|
287
291
|
# Customize the options with defaults
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
289
293
|
|
290
|
-
# Set x-goog-api-client
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
293
297
|
gapic_version: ::Google::Cloud::AssuredWorkloads::V1::VERSION
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
295
300
|
|
296
301
|
header_params = {}
|
@@ -376,10 +381,11 @@ module Google
|
|
376
381
|
# Customize the options with defaults
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
378
383
|
|
379
|
-
# Set x-goog-api-client
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
382
387
|
gapic_version: ::Google::Cloud::AssuredWorkloads::V1::VERSION
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
384
390
|
|
385
391
|
header_params = {}
|
@@ -470,10 +476,11 @@ module Google
|
|
470
476
|
# Customize the options with defaults
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
472
478
|
|
473
|
-
# Set x-goog-api-client
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
482
|
gapic_version: ::Google::Cloud::AssuredWorkloads::V1::VERSION
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
478
485
|
|
479
486
|
header_params = {}
|
@@ -574,10 +581,11 @@ module Google
|
|
574
581
|
# Customize the options with defaults
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
576
583
|
|
577
|
-
# Set x-goog-api-client
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
580
587
|
gapic_version: ::Google::Cloud::AssuredWorkloads::V1::VERSION
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
582
590
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# Service to manage AssuredWorkloads.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "assuredworkloads.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -238,12 +241,13 @@ module Google
|
|
238
241
|
# Customize the options with defaults
|
239
242
|
call_metadata = @config.rpcs.create_workload.metadata.to_h
|
240
243
|
|
241
|
-
# Set x-goog-api-client
|
244
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
242
245
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
243
246
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
244
247
|
gapic_version: ::Google::Cloud::AssuredWorkloads::V1::VERSION,
|
245
248
|
transports_version_send: [:rest]
|
246
249
|
|
250
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
247
251
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
248
252
|
|
249
253
|
options.apply_defaults timeout: @config.rpcs.create_workload.timeout,
|
@@ -325,12 +329,13 @@ module Google
|
|
325
329
|
# Customize the options with defaults
|
326
330
|
call_metadata = @config.rpcs.update_workload.metadata.to_h
|
327
331
|
|
328
|
-
# Set x-goog-api-client
|
332
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
329
333
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
330
334
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
331
335
|
gapic_version: ::Google::Cloud::AssuredWorkloads::V1::VERSION,
|
332
336
|
transports_version_send: [:rest]
|
333
337
|
|
338
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
334
339
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
335
340
|
|
336
341
|
options.apply_defaults timeout: @config.rpcs.update_workload.timeout,
|
@@ -414,12 +419,13 @@ module Google
|
|
414
419
|
# Customize the options with defaults
|
415
420
|
call_metadata = @config.rpcs.restrict_allowed_resources.metadata.to_h
|
416
421
|
|
417
|
-
# Set x-goog-api-client
|
422
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
418
423
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
419
424
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
420
425
|
gapic_version: ::Google::Cloud::AssuredWorkloads::V1::VERSION,
|
421
426
|
transports_version_send: [:rest]
|
422
427
|
|
428
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
423
429
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
424
430
|
|
425
431
|
options.apply_defaults timeout: @config.rpcs.restrict_allowed_resources.timeout,
|
@@ -499,12 +505,13 @@ module Google
|
|
499
505
|
# Customize the options with defaults
|
500
506
|
call_metadata = @config.rpcs.delete_workload.metadata.to_h
|
501
507
|
|
502
|
-
# Set x-goog-api-client
|
508
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
503
509
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
504
510
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
505
511
|
gapic_version: ::Google::Cloud::AssuredWorkloads::V1::VERSION,
|
506
512
|
transports_version_send: [:rest]
|
507
513
|
|
514
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
508
515
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
509
516
|
|
510
517
|
options.apply_defaults timeout: @config.rpcs.delete_workload.timeout,
|
@@ -581,12 +588,13 @@ module Google
|
|
581
588
|
# Customize the options with defaults
|
582
589
|
call_metadata = @config.rpcs.get_workload.metadata.to_h
|
583
590
|
|
584
|
-
# Set x-goog-api-client
|
591
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
585
592
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
586
593
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
587
594
|
gapic_version: ::Google::Cloud::AssuredWorkloads::V1::VERSION,
|
588
595
|
transports_version_send: [:rest]
|
589
596
|
|
597
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
590
598
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
591
599
|
|
592
600
|
options.apply_defaults timeout: @config.rpcs.get_workload.timeout,
|
@@ -673,12 +681,13 @@ module Google
|
|
673
681
|
# Customize the options with defaults
|
674
682
|
call_metadata = @config.rpcs.list_workloads.metadata.to_h
|
675
683
|
|
676
|
-
# Set x-goog-api-client
|
684
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
677
685
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
678
686
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
679
687
|
gapic_version: ::Google::Cloud::AssuredWorkloads::V1::VERSION,
|
680
688
|
transports_version_send: [:rest]
|
681
689
|
|
690
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
682
691
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
683
692
|
|
684
693
|
options.apply_defaults timeout: @config.rpcs.list_workloads.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 = "assuredworkloads.$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::AssuredWorkloads::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::AssuredWorkloads::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::AssuredWorkloads::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::AssuredWorkloads::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
|
@@ -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-assured_workloads-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
|