google-cloud-binary_authorization-v1 0.1.0 → 0.1.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/binary_authorization/v1/binauthz_management_service/client.rb +146 -21
- data/lib/google/cloud/binary_authorization/v1/system_policy/client.rb +20 -3
- data/lib/google/cloud/binary_authorization/v1/validation_helper/client.rb +20 -3
- data/lib/google/cloud/binary_authorization/v1/version.rb +1 -1
- data/lib/google/cloud/binaryauthorization/v1/resources_pb.rb +2 -2
- data/lib/google/cloud/binaryauthorization/v1/service_pb.rb +2 -2
- data/proto_docs/grafeas/v1/attestation.rb +21 -0
- data/proto_docs/grafeas/v1/common.rb +31 -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: 64a246cdb79d3a87b35ef9a2633b9188cd333fe09b9daf7f75fad9d4bc6e27d3
|
4
|
+
data.tar.gz: dc4393d0e85e13be9686c79dbe89c446958cc83543d355d077b66346df061656
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99038b494add38c2d9ae6cda234d00212a3e0b7f07c5dd11cce9aee8e655dff726c9592f63bf32f731287f566fa27c403869a21cb22d908b5fc0c0e9e00b4d4f
|
7
|
+
data.tar.gz: 04a3205a133b78def469af1b39659adbb4d9a85386a16d28bf03a92a24f1f34e909cee984f3058f2523eb2256320ac0a24daf83761a6df39862904f9af6baf2a
|
@@ -218,6 +218,21 @@ module Google
|
|
218
218
|
#
|
219
219
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
220
220
|
#
|
221
|
+
# @example Basic example
|
222
|
+
# require "google/cloud/binary_authorization/v1"
|
223
|
+
#
|
224
|
+
# # Create a client object. The client can be reused for multiple calls.
|
225
|
+
# client = Google::Cloud::BinaryAuthorization::V1::BinauthzManagementService::Client.new
|
226
|
+
#
|
227
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
228
|
+
# request = Google::Cloud::BinaryAuthorization::V1::GetPolicyRequest.new
|
229
|
+
#
|
230
|
+
# # Call the get_policy method.
|
231
|
+
# result = client.get_policy request
|
232
|
+
#
|
233
|
+
# # The returned object is of type Google::Cloud::BinaryAuthorization::V1::Policy.
|
234
|
+
# p result
|
235
|
+
#
|
221
236
|
def get_policy request, options = nil
|
222
237
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
223
238
|
|
@@ -235,9 +250,11 @@ module Google
|
|
235
250
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
236
251
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
237
252
|
|
238
|
-
header_params = {
|
239
|
-
|
240
|
-
|
253
|
+
header_params = {}
|
254
|
+
if request.name
|
255
|
+
header_params["name"] = request.name
|
256
|
+
end
|
257
|
+
|
241
258
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
242
259
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
243
260
|
|
@@ -292,6 +309,21 @@ module Google
|
|
292
309
|
#
|
293
310
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
294
311
|
#
|
312
|
+
# @example Basic example
|
313
|
+
# require "google/cloud/binary_authorization/v1"
|
314
|
+
#
|
315
|
+
# # Create a client object. The client can be reused for multiple calls.
|
316
|
+
# client = Google::Cloud::BinaryAuthorization::V1::BinauthzManagementService::Client.new
|
317
|
+
#
|
318
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
319
|
+
# request = Google::Cloud::BinaryAuthorization::V1::UpdatePolicyRequest.new
|
320
|
+
#
|
321
|
+
# # Call the update_policy method.
|
322
|
+
# result = client.update_policy request
|
323
|
+
#
|
324
|
+
# # The returned object is of type Google::Cloud::BinaryAuthorization::V1::Policy.
|
325
|
+
# p result
|
326
|
+
#
|
295
327
|
def update_policy request, options = nil
|
296
328
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
297
329
|
|
@@ -309,9 +341,11 @@ module Google
|
|
309
341
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
310
342
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
311
343
|
|
312
|
-
header_params = {
|
313
|
-
|
314
|
-
|
344
|
+
header_params = {}
|
345
|
+
if request.policy&.name
|
346
|
+
header_params["policy.name"] = request.policy.name
|
347
|
+
end
|
348
|
+
|
315
349
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
316
350
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
317
351
|
|
@@ -369,6 +403,21 @@ module Google
|
|
369
403
|
#
|
370
404
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
371
405
|
#
|
406
|
+
# @example Basic example
|
407
|
+
# require "google/cloud/binary_authorization/v1"
|
408
|
+
#
|
409
|
+
# # Create a client object. The client can be reused for multiple calls.
|
410
|
+
# client = Google::Cloud::BinaryAuthorization::V1::BinauthzManagementService::Client.new
|
411
|
+
#
|
412
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
413
|
+
# request = Google::Cloud::BinaryAuthorization::V1::CreateAttestorRequest.new
|
414
|
+
#
|
415
|
+
# # Call the create_attestor method.
|
416
|
+
# result = client.create_attestor request
|
417
|
+
#
|
418
|
+
# # The returned object is of type Google::Cloud::BinaryAuthorization::V1::Attestor.
|
419
|
+
# p result
|
420
|
+
#
|
372
421
|
def create_attestor request, options = nil
|
373
422
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
374
423
|
|
@@ -386,9 +435,11 @@ module Google
|
|
386
435
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
387
436
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
388
437
|
|
389
|
-
header_params = {
|
390
|
-
|
391
|
-
|
438
|
+
header_params = {}
|
439
|
+
if request.parent
|
440
|
+
header_params["parent"] = request.parent
|
441
|
+
end
|
442
|
+
|
392
443
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
393
444
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
394
445
|
|
@@ -439,6 +490,21 @@ module Google
|
|
439
490
|
#
|
440
491
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
441
492
|
#
|
493
|
+
# @example Basic example
|
494
|
+
# require "google/cloud/binary_authorization/v1"
|
495
|
+
#
|
496
|
+
# # Create a client object. The client can be reused for multiple calls.
|
497
|
+
# client = Google::Cloud::BinaryAuthorization::V1::BinauthzManagementService::Client.new
|
498
|
+
#
|
499
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
500
|
+
# request = Google::Cloud::BinaryAuthorization::V1::GetAttestorRequest.new
|
501
|
+
#
|
502
|
+
# # Call the get_attestor method.
|
503
|
+
# result = client.get_attestor request
|
504
|
+
#
|
505
|
+
# # The returned object is of type Google::Cloud::BinaryAuthorization::V1::Attestor.
|
506
|
+
# p result
|
507
|
+
#
|
442
508
|
def get_attestor request, options = nil
|
443
509
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
444
510
|
|
@@ -456,9 +522,11 @@ module Google
|
|
456
522
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
457
523
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
458
524
|
|
459
|
-
header_params = {
|
460
|
-
|
461
|
-
|
525
|
+
header_params = {}
|
526
|
+
if request.name
|
527
|
+
header_params["name"] = request.name
|
528
|
+
end
|
529
|
+
|
462
530
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
463
531
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
464
532
|
|
@@ -510,6 +578,21 @@ module Google
|
|
510
578
|
#
|
511
579
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
512
580
|
#
|
581
|
+
# @example Basic example
|
582
|
+
# require "google/cloud/binary_authorization/v1"
|
583
|
+
#
|
584
|
+
# # Create a client object. The client can be reused for multiple calls.
|
585
|
+
# client = Google::Cloud::BinaryAuthorization::V1::BinauthzManagementService::Client.new
|
586
|
+
#
|
587
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
588
|
+
# request = Google::Cloud::BinaryAuthorization::V1::UpdateAttestorRequest.new
|
589
|
+
#
|
590
|
+
# # Call the update_attestor method.
|
591
|
+
# result = client.update_attestor request
|
592
|
+
#
|
593
|
+
# # The returned object is of type Google::Cloud::BinaryAuthorization::V1::Attestor.
|
594
|
+
# p result
|
595
|
+
#
|
513
596
|
def update_attestor request, options = nil
|
514
597
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
515
598
|
|
@@ -527,9 +610,11 @@ module Google
|
|
527
610
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
528
611
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
529
612
|
|
530
|
-
header_params = {
|
531
|
-
|
532
|
-
|
613
|
+
header_params = {}
|
614
|
+
if request.attestor&.name
|
615
|
+
header_params["attestor.name"] = request.attestor.name
|
616
|
+
end
|
617
|
+
|
533
618
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
534
619
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
535
620
|
|
@@ -587,6 +672,27 @@ module Google
|
|
587
672
|
#
|
588
673
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
589
674
|
#
|
675
|
+
# @example Basic example
|
676
|
+
# require "google/cloud/binary_authorization/v1"
|
677
|
+
#
|
678
|
+
# # Create a client object. The client can be reused for multiple calls.
|
679
|
+
# client = Google::Cloud::BinaryAuthorization::V1::BinauthzManagementService::Client.new
|
680
|
+
#
|
681
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
682
|
+
# request = Google::Cloud::BinaryAuthorization::V1::ListAttestorsRequest.new
|
683
|
+
#
|
684
|
+
# # Call the list_attestors method.
|
685
|
+
# result = client.list_attestors request
|
686
|
+
#
|
687
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
688
|
+
# # iterate over all elements by calling #each, and the enumerable
|
689
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
690
|
+
# # methods are also available for managing paging directly.
|
691
|
+
# result.each do |response|
|
692
|
+
# # Each element is of type ::Google::Cloud::BinaryAuthorization::V1::Attestor.
|
693
|
+
# p response
|
694
|
+
# end
|
695
|
+
#
|
590
696
|
def list_attestors request, options = nil
|
591
697
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
592
698
|
|
@@ -604,9 +710,11 @@ module Google
|
|
604
710
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
605
711
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
606
712
|
|
607
|
-
header_params = {
|
608
|
-
|
609
|
-
|
713
|
+
header_params = {}
|
714
|
+
if request.parent
|
715
|
+
header_params["parent"] = request.parent
|
716
|
+
end
|
717
|
+
|
610
718
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
611
719
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
612
720
|
|
@@ -658,6 +766,21 @@ module Google
|
|
658
766
|
#
|
659
767
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
660
768
|
#
|
769
|
+
# @example Basic example
|
770
|
+
# require "google/cloud/binary_authorization/v1"
|
771
|
+
#
|
772
|
+
# # Create a client object. The client can be reused for multiple calls.
|
773
|
+
# client = Google::Cloud::BinaryAuthorization::V1::BinauthzManagementService::Client.new
|
774
|
+
#
|
775
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
776
|
+
# request = Google::Cloud::BinaryAuthorization::V1::DeleteAttestorRequest.new
|
777
|
+
#
|
778
|
+
# # Call the delete_attestor method.
|
779
|
+
# result = client.delete_attestor request
|
780
|
+
#
|
781
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
782
|
+
# p result
|
783
|
+
#
|
661
784
|
def delete_attestor request, options = nil
|
662
785
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
663
786
|
|
@@ -675,9 +798,11 @@ module Google
|
|
675
798
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
676
799
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
677
800
|
|
678
|
-
header_params = {
|
679
|
-
|
680
|
-
|
801
|
+
header_params = {}
|
802
|
+
if request.name
|
803
|
+
header_params["name"] = request.name
|
804
|
+
end
|
805
|
+
|
681
806
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
682
807
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
683
808
|
|
@@ -174,6 +174,21 @@ module Google
|
|
174
174
|
#
|
175
175
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
176
176
|
#
|
177
|
+
# @example Basic example
|
178
|
+
# require "google/cloud/binary_authorization/v1"
|
179
|
+
#
|
180
|
+
# # Create a client object. The client can be reused for multiple calls.
|
181
|
+
# client = Google::Cloud::BinaryAuthorization::V1::SystemPolicy::Client.new
|
182
|
+
#
|
183
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
184
|
+
# request = Google::Cloud::BinaryAuthorization::V1::GetSystemPolicyRequest.new
|
185
|
+
#
|
186
|
+
# # Call the get_system_policy method.
|
187
|
+
# result = client.get_system_policy request
|
188
|
+
#
|
189
|
+
# # The returned object is of type Google::Cloud::BinaryAuthorization::V1::Policy.
|
190
|
+
# p result
|
191
|
+
#
|
177
192
|
def get_system_policy request, options = nil
|
178
193
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
179
194
|
|
@@ -191,9 +206,11 @@ module Google
|
|
191
206
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
192
207
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
193
208
|
|
194
|
-
header_params = {
|
195
|
-
|
196
|
-
|
209
|
+
header_params = {}
|
210
|
+
if request.name
|
211
|
+
header_params["name"] = request.name
|
212
|
+
end
|
213
|
+
|
197
214
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
198
215
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
199
216
|
|
@@ -185,6 +185,21 @@ module Google
|
|
185
185
|
#
|
186
186
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
187
187
|
#
|
188
|
+
# @example Basic example
|
189
|
+
# require "google/cloud/binary_authorization/v1"
|
190
|
+
#
|
191
|
+
# # Create a client object. The client can be reused for multiple calls.
|
192
|
+
# client = Google::Cloud::BinaryAuthorization::V1::ValidationHelper::Client.new
|
193
|
+
#
|
194
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
195
|
+
# request = Google::Cloud::BinaryAuthorization::V1::ValidateAttestationOccurrenceRequest.new
|
196
|
+
#
|
197
|
+
# # Call the validate_attestation_occurrence method.
|
198
|
+
# result = client.validate_attestation_occurrence request
|
199
|
+
#
|
200
|
+
# # The returned object is of type Google::Cloud::BinaryAuthorization::V1::ValidateAttestationOccurrenceResponse.
|
201
|
+
# p result
|
202
|
+
#
|
188
203
|
def validate_attestation_occurrence request, options = nil
|
189
204
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
190
205
|
|
@@ -202,9 +217,11 @@ module Google
|
|
202
217
|
gapic_version: ::Google::Cloud::BinaryAuthorization::V1::VERSION
|
203
218
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
204
219
|
|
205
|
-
header_params = {
|
206
|
-
|
207
|
-
|
220
|
+
header_params = {}
|
221
|
+
if request.attestor
|
222
|
+
header_params["attestor"] = request.attestor
|
223
|
+
end
|
224
|
+
|
208
225
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
209
226
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
210
227
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/binaryauthorization/v1/resources.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/api/resource_pb'
|
8
6
|
require 'google/protobuf/timestamp_pb'
|
9
7
|
require 'google/api/annotations_pb'
|
8
|
+
require 'google/protobuf'
|
9
|
+
|
10
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
11
|
add_file("google/cloud/binaryauthorization/v1/resources.proto", :syntax => :proto3) do
|
12
12
|
add_message "google.cloud.binaryauthorization.v1.Policy" do
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/binaryauthorization/v1/service.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/field_behavior_pb'
|
@@ -10,6 +8,8 @@ require 'google/api/resource_pb'
|
|
10
8
|
require 'google/cloud/binaryauthorization/v1/resources_pb'
|
11
9
|
require 'google/protobuf/empty_pb'
|
12
10
|
require 'grafeas/v1/attestation_pb'
|
11
|
+
require 'google/protobuf'
|
12
|
+
|
13
13
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
14
|
add_file("google/cloud/binaryauthorization/v1/service.proto", :syntax => :proto3) do
|
15
15
|
add_message "google.cloud.binaryauthorization.v1.GetPolicyRequest" do
|
@@ -51,6 +51,16 @@ module Grafeas
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
# @!attribute [rw] compact_jwt
|
55
|
+
# @return [::String]
|
56
|
+
# The compact encoding of a JWS, which is always three base64 encoded strings
|
57
|
+
# joined by periods. For details, see:
|
58
|
+
# https://tools.ietf.org/html/rfc7515.html#section-3.1
|
59
|
+
class Jwt
|
60
|
+
include ::Google::Protobuf::MessageExts
|
61
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
62
|
+
end
|
63
|
+
|
54
64
|
# Occurrence that represents a single "attestation". The authenticity of an
|
55
65
|
# attestation can be verified using the attached signature. If the verifier
|
56
66
|
# trusts the public key of the signer, then verifying the signature is
|
@@ -69,6 +79,17 @@ module Grafeas
|
|
69
79
|
# should consider this attestation message verified if at least one
|
70
80
|
# `signature` verifies `serialized_payload`. See `Signature` in common.proto
|
71
81
|
# for more details on signature structure and verification.
|
82
|
+
# @!attribute [rw] jwts
|
83
|
+
# @return [::Array<::Grafeas::V1::Jwt>]
|
84
|
+
# One or more JWTs encoding a self-contained attestation.
|
85
|
+
# Each JWT encodes the payload that it verifies within the JWT itself.
|
86
|
+
# Verifier implementation SHOULD ignore the `serialized_payload` field
|
87
|
+
# when verifying these JWTs.
|
88
|
+
# If only JWTs are present on this AttestationOccurrence, then the
|
89
|
+
# `serialized_payload` SHOULD be left empty.
|
90
|
+
# Each JWT SHOULD encode a claim specific to the `resource_uri` of this
|
91
|
+
# Occurrence, but this is not validated by Grafeas metadata API
|
92
|
+
# implementations. The JWT itself is opaque to Grafeas.
|
72
93
|
class AttestationOccurrence
|
73
94
|
include ::Google::Protobuf::MessageExts
|
74
95
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -65,7 +65,7 @@ module Grafeas
|
|
65
65
|
# @return [::String]
|
66
66
|
# The identifier for the public key that verifies this signature.
|
67
67
|
# * The `public_key_id` is required.
|
68
|
-
# * The `public_key_id`
|
68
|
+
# * The `public_key_id` SHOULD be an RFC3986 conformant URI.
|
69
69
|
# * When possible, the `public_key_id` SHOULD be an immutable reference,
|
70
70
|
# such as a cryptographic digest.
|
71
71
|
#
|
@@ -85,9 +85,32 @@ module Grafeas
|
|
85
85
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
86
86
|
end
|
87
87
|
|
88
|
+
# MUST match
|
89
|
+
# https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An
|
90
|
+
# authenticated message of arbitrary type.
|
91
|
+
# @!attribute [rw] payload
|
92
|
+
# @return [::String]
|
93
|
+
# @!attribute [rw] payload_type
|
94
|
+
# @return [::String]
|
95
|
+
# @!attribute [rw] signatures
|
96
|
+
# @return [::Array<::Grafeas::V1::EnvelopeSignature>]
|
97
|
+
class Envelope
|
98
|
+
include ::Google::Protobuf::MessageExts
|
99
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
100
|
+
end
|
101
|
+
|
102
|
+
# @!attribute [rw] sig
|
103
|
+
# @return [::String]
|
104
|
+
# @!attribute [rw] keyid
|
105
|
+
# @return [::String]
|
106
|
+
class EnvelopeSignature
|
107
|
+
include ::Google::Protobuf::MessageExts
|
108
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
109
|
+
end
|
110
|
+
|
88
111
|
# Kind represents the kinds of notes supported.
|
89
112
|
module NoteKind
|
90
|
-
#
|
113
|
+
# Default value. This value is unused.
|
91
114
|
NOTE_KIND_UNSPECIFIED = 0
|
92
115
|
|
93
116
|
# The note and occurrence represent a package vulnerability.
|
@@ -113,6 +136,12 @@ module Grafeas
|
|
113
136
|
|
114
137
|
# This represents an available package upgrade.
|
115
138
|
UPGRADE = 8
|
139
|
+
|
140
|
+
# This represents a Compliance Note
|
141
|
+
COMPLIANCE = 9
|
142
|
+
|
143
|
+
# This represents a DSSE attestation Note
|
144
|
+
DSSE_ATTESTATION = 10
|
116
145
|
end
|
117
146
|
end
|
118
147
|
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.1.
|
4
|
+
version: 0.1.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: 2021-
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|