google-cloud-binary_authorization-v1 0.8.0 → 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/lib/google/cloud/binary_authorization/v1/binauthz_management_service/client.rb +17 -7
- data/lib/google/cloud/binary_authorization/v1/binauthz_management_service/rest/client.rb +17 -7
- data/lib/google/cloud/binary_authorization/v1/system_policy/client.rb +5 -1
- data/lib/google/cloud/binary_authorization/v1/system_policy/rest/client.rb +5 -1
- data/lib/google/cloud/binary_authorization/v1/validation_helper/client.rb +5 -1
- data/lib/google/cloud/binary_authorization/v1/validation_helper/rest/client.rb +5 -1
- data/lib/google/cloud/binary_authorization/v1/version.rb +1 -1
- 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: 61727e506ebffc91e94476934d7b4e15af6772357e3f8256d3b7c5cb970b2196
|
4
|
+
data.tar.gz: ad00da6cf50f55fc112f4ef95fe3c6c523b5144320da19d82dc7ea7a7eee7743
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dd653c022f1c2669421fb7bb2d7f31004060fe059702a9c48de869e64b2cdd8cf54fe746297dea7d17381fe458291a0503fa6427f6a01937ece2d0351e135ed
|
7
|
+
data.tar.gz: 509d524421c5173c4888ad22e540e66b1c78ce9e0a394d25a47541a66140dfba3103b39154feab994ba40b1873c042dc1fbcfe2ae5173f13d34e8ea7fc8d581b
|
@@ -36,6 +36,9 @@ module Google
|
|
36
36
|
# * {::Google::Cloud::BinaryAuthorization::V1::Attestor Attestor}
|
37
37
|
#
|
38
38
|
class Client
|
39
|
+
# @private
|
40
|
+
API_VERSION = ""
|
41
|
+
|
39
42
|
# @private
|
40
43
|
DEFAULT_ENDPOINT_TEMPLATE = "binaryauthorization.$UNIVERSE_DOMAIN$"
|
41
44
|
|
@@ -260,10 +263,11 @@ module Google
|
|
260
263
|
# Customize the options with defaults
|
261
264
|
metadata = @config.rpcs.get_policy.metadata.to_h
|
262
265
|
|
263
|
-
# Set x-goog-api-client
|
266
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
264
267
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
265
268
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
266
269
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
270
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
267
271
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
268
272
|
|
269
273
|
header_params = {}
|
@@ -351,10 +355,11 @@ module Google
|
|
351
355
|
# Customize the options with defaults
|
352
356
|
metadata = @config.rpcs.update_policy.metadata.to_h
|
353
357
|
|
354
|
-
# Set x-goog-api-client
|
358
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
359
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
360
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
361
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
362
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
358
363
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
359
364
|
|
360
365
|
header_params = {}
|
@@ -445,10 +450,11 @@ module Google
|
|
445
450
|
# Customize the options with defaults
|
446
451
|
metadata = @config.rpcs.create_attestor.metadata.to_h
|
447
452
|
|
448
|
-
# Set x-goog-api-client
|
453
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
449
454
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
450
455
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
451
456
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
457
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
452
458
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
453
459
|
|
454
460
|
header_params = {}
|
@@ -532,10 +538,11 @@ module Google
|
|
532
538
|
# Customize the options with defaults
|
533
539
|
metadata = @config.rpcs.get_attestor.metadata.to_h
|
534
540
|
|
535
|
-
# Set x-goog-api-client
|
541
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
536
542
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
537
543
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
538
544
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
545
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
539
546
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
540
547
|
|
541
548
|
header_params = {}
|
@@ -620,10 +627,11 @@ module Google
|
|
620
627
|
# Customize the options with defaults
|
621
628
|
metadata = @config.rpcs.update_attestor.metadata.to_h
|
622
629
|
|
623
|
-
# Set x-goog-api-client
|
630
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
624
631
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
625
632
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
626
633
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
634
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
627
635
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
628
636
|
|
629
637
|
header_params = {}
|
@@ -718,10 +726,11 @@ module Google
|
|
718
726
|
# Customize the options with defaults
|
719
727
|
metadata = @config.rpcs.list_attestors.metadata.to_h
|
720
728
|
|
721
|
-
# Set x-goog-api-client
|
729
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
722
730
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
723
731
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
724
732
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
733
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
725
734
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
726
735
|
|
727
736
|
header_params = {}
|
@@ -806,10 +815,11 @@ module Google
|
|
806
815
|
# Customize the options with defaults
|
807
816
|
metadata = @config.rpcs.delete_attestor.metadata.to_h
|
808
817
|
|
809
|
-
# Set x-goog-api-client
|
818
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
810
819
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
811
820
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
812
821
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
822
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
813
823
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
814
824
|
|
815
825
|
header_params = {}
|
@@ -38,6 +38,9 @@ module Google
|
|
38
38
|
# * {::Google::Cloud::BinaryAuthorization::V1::Attestor Attestor}
|
39
39
|
#
|
40
40
|
class Client
|
41
|
+
# @private
|
42
|
+
API_VERSION = ""
|
43
|
+
|
41
44
|
# @private
|
42
45
|
DEFAULT_ENDPOINT_TEMPLATE = "binaryauthorization.$UNIVERSE_DOMAIN$"
|
43
46
|
|
@@ -252,12 +255,13 @@ module Google
|
|
252
255
|
# Customize the options with defaults
|
253
256
|
call_metadata = @config.rpcs.get_policy.metadata.to_h
|
254
257
|
|
255
|
-
# Set x-goog-api-client
|
258
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
256
259
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
257
260
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
258
261
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION,
|
259
262
|
transports_version_send: [:rest]
|
260
263
|
|
264
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
261
265
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
262
266
|
|
263
267
|
options.apply_defaults timeout: @config.rpcs.get_policy.timeout,
|
@@ -336,12 +340,13 @@ module Google
|
|
336
340
|
# Customize the options with defaults
|
337
341
|
call_metadata = @config.rpcs.update_policy.metadata.to_h
|
338
342
|
|
339
|
-
# Set x-goog-api-client
|
343
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
340
344
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
341
345
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
342
346
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION,
|
343
347
|
transports_version_send: [:rest]
|
344
348
|
|
349
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
345
350
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
346
351
|
|
347
352
|
options.apply_defaults timeout: @config.rpcs.update_policy.timeout,
|
@@ -423,12 +428,13 @@ module Google
|
|
423
428
|
# Customize the options with defaults
|
424
429
|
call_metadata = @config.rpcs.create_attestor.metadata.to_h
|
425
430
|
|
426
|
-
# Set x-goog-api-client
|
431
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
427
432
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
428
433
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
429
434
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION,
|
430
435
|
transports_version_send: [:rest]
|
431
436
|
|
437
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
432
438
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
433
439
|
|
434
440
|
options.apply_defaults timeout: @config.rpcs.create_attestor.timeout,
|
@@ -503,12 +509,13 @@ module Google
|
|
503
509
|
# Customize the options with defaults
|
504
510
|
call_metadata = @config.rpcs.get_attestor.metadata.to_h
|
505
511
|
|
506
|
-
# Set x-goog-api-client
|
512
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
507
513
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
508
514
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
509
515
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION,
|
510
516
|
transports_version_send: [:rest]
|
511
517
|
|
518
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
512
519
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
513
520
|
|
514
521
|
options.apply_defaults timeout: @config.rpcs.get_attestor.timeout,
|
@@ -584,12 +591,13 @@ module Google
|
|
584
591
|
# Customize the options with defaults
|
585
592
|
call_metadata = @config.rpcs.update_attestor.metadata.to_h
|
586
593
|
|
587
|
-
# Set x-goog-api-client
|
594
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
588
595
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
589
596
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
590
597
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION,
|
591
598
|
transports_version_send: [:rest]
|
592
599
|
|
600
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
593
601
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
594
602
|
|
595
603
|
options.apply_defaults timeout: @config.rpcs.update_attestor.timeout,
|
@@ -675,12 +683,13 @@ module Google
|
|
675
683
|
# Customize the options with defaults
|
676
684
|
call_metadata = @config.rpcs.list_attestors.metadata.to_h
|
677
685
|
|
678
|
-
# Set x-goog-api-client
|
686
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
679
687
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
680
688
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
681
689
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION,
|
682
690
|
transports_version_send: [:rest]
|
683
691
|
|
692
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
684
693
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
685
694
|
|
686
695
|
options.apply_defaults timeout: @config.rpcs.list_attestors.timeout,
|
@@ -756,12 +765,13 @@ module Google
|
|
756
765
|
# Customize the options with defaults
|
757
766
|
call_metadata = @config.rpcs.delete_attestor.metadata.to_h
|
758
767
|
|
759
|
-
# Set x-goog-api-client
|
768
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
760
769
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
761
770
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
762
771
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION,
|
763
772
|
transports_version_send: [:rest]
|
764
773
|
|
774
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
765
775
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
766
776
|
|
767
777
|
options.apply_defaults timeout: @config.rpcs.delete_attestor.timeout,
|
@@ -30,6 +30,9 @@ module Google
|
|
30
30
|
# API for working with the system policy.
|
31
31
|
#
|
32
32
|
class Client
|
33
|
+
# @private
|
34
|
+
API_VERSION = ""
|
35
|
+
|
33
36
|
# @private
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "binaryauthorization.$UNIVERSE_DOMAIN$"
|
35
38
|
|
@@ -216,10 +219,11 @@ module Google
|
|
216
219
|
# Customize the options with defaults
|
217
220
|
metadata = @config.rpcs.get_system_policy.metadata.to_h
|
218
221
|
|
219
|
-
# Set x-goog-api-client
|
222
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
220
223
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
221
224
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
222
225
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
226
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
223
227
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
224
228
|
|
225
229
|
header_params = {}
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# API for working with the system policy.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "binaryauthorization.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -208,12 +211,13 @@ module Google
|
|
208
211
|
# Customize the options with defaults
|
209
212
|
call_metadata = @config.rpcs.get_system_policy.metadata.to_h
|
210
213
|
|
211
|
-
# Set x-goog-api-client
|
214
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
212
215
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
213
216
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
214
217
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION,
|
215
218
|
transports_version_send: [:rest]
|
216
219
|
|
220
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
217
221
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
218
222
|
|
219
223
|
options.apply_defaults timeout: @config.rpcs.get_system_policy.timeout,
|
@@ -30,6 +30,9 @@ module Google
|
|
30
30
|
# BinAuthz Attestor verification
|
31
31
|
#
|
32
32
|
class Client
|
33
|
+
# @private
|
34
|
+
API_VERSION = ""
|
35
|
+
|
33
36
|
# @private
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "binaryauthorization.$UNIVERSE_DOMAIN$"
|
35
38
|
|
@@ -227,10 +230,11 @@ module Google
|
|
227
230
|
# Customize the options with defaults
|
228
231
|
metadata = @config.rpcs.validate_attestation_occurrence.metadata.to_h
|
229
232
|
|
230
|
-
# Set x-goog-api-client
|
233
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
231
234
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
232
235
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
233
236
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
237
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
234
238
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
235
239
|
|
236
240
|
header_params = {}
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# BinAuthz Attestor verification
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "binaryauthorization.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -219,12 +222,13 @@ module Google
|
|
219
222
|
# Customize the options with defaults
|
220
223
|
call_metadata = @config.rpcs.validate_attestation_occurrence.metadata.to_h
|
221
224
|
|
222
|
-
# Set x-goog-api-client
|
225
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
223
226
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
224
227
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
225
228
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION,
|
226
229
|
transports_version_send: [:rest]
|
227
230
|
|
231
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
228
232
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
229
233
|
|
230
234
|
options.apply_defaults timeout: @config.rpcs.validate_attestation_occurrence.timeout,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-binary_authorization-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
|