Class: Google::Apis::BinaryauthorizationV1::SigstoreSignatureCheck

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/binaryauthorization_v1/classes.rb,
lib/google/apis/binaryauthorization_v1/representations.rb,
lib/google/apis/binaryauthorization_v1/representations.rb

Overview

A Sigstore signature check, which verifies the Sigstore signature associated with an image.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SigstoreSignatureCheck

Returns a new instance of SigstoreSignatureCheck.



1545
1546
1547
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1545

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#sigstore_authoritiesArray<Google::Apis::BinaryauthorizationV1::SigstoreAuthority>

Required. The authorities required by this check to verify the signature. A signature only needs to be verified by one authority to pass the check. Corresponds to the JSON property sigstoreAuthorities



1543
1544
1545
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1543

def sigstore_authorities
  @sigstore_authorities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1550
1551
1552
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1550

def update!(**args)
  @sigstore_authorities = args[:sigstore_authorities] if args.key?(:sigstore_authorities)
end