google-cloud-binary_authorization-v1 0.7.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff19709ab2caae72ac26bb3c6fb5904c5234fc07cbf36754e5b49f90fab9df33
4
- data.tar.gz: 8a56b343519caf3731fa2550abea13ca82190e26062e3c37d95989b9ea535f5c
3
+ metadata.gz: 61727e506ebffc91e94476934d7b4e15af6772357e3f8256d3b7c5cb970b2196
4
+ data.tar.gz: ad00da6cf50f55fc112f4ef95fe3c6c523b5144320da19d82dc7ea7a7eee7743
5
5
  SHA512:
6
- metadata.gz: feeeae4ef06ac19f53356d97bf670192b5e02dfb372d68197a06f761394a209f33786e1af98f40ee88e7844cbb98e5cfbbb5ac7164e21c60aaf645f127b5d4ff
7
- data.tar.gz: 1505be545c5e3f0d096f79b459fec194ba89c52d2a09ea7ec5b04b1e34b54a9941fbf665985273aec60b3875e7ca1dc3ea299fe0e6fcd45dccbf96375eba71f3
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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 and x-goog-user-project headers
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,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module BinaryAuthorization
23
23
  module V1
24
- VERSION = "0.7.0"
24
+ VERSION = "1.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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
@@ -183,6 +183,9 @@ module Grafeas
183
183
 
184
184
  # This represents a Vulnerability Assessment.
185
185
  VULNERABILITY_ASSESSMENT = 11
186
+
187
+ # This represents an SBOM Reference.
188
+ SBOM_REFERENCE = 12
186
189
  end
187
190
  end
188
191
  end
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.7.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-02-26 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common