class Google::Apis::BinaryauthorizationV1::ValidateAttestationOccurrenceRequest

Request message for ValidationHelperV1.ValidateAttestationOccurrence.

Attributes

attestation[RW]

Occurrence that represents a single “attestation”. The authenticity of an attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the authority to which this attestation is attached is primarily useful for lookup (how to find this attestation if you already know the authority and artifact to be verified) and intent (for which authority this attestation was intended to sign. Corresponds to the JSON property `attestation` @return [Google::Apis::BinaryauthorizationV1::AttestationOccurrence]

occurrence_note[RW]

Required. The resource name of the Note to which the containing Occurrence is associated. Corresponds to the JSON property `occurrenceNote` @return [String]

occurrence_resource_uri[RW]

Required. The URI of the artifact (e.g. container image) that is the subject of the containing Occurrence. Corresponds to the JSON property `occurrenceResourceUri` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/binaryauthorization_v1/classes.rb, line 834
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/binaryauthorization_v1/classes.rb, line 839
def update!(**args)
  @attestation = args[:attestation] if args.key?(:attestation)
  @occurrence_note = args[:occurrence_note] if args.key?(:occurrence_note)
  @occurrence_resource_uri = args[:occurrence_resource_uri] if args.key?(:occurrence_resource_uri)
end