Class: Google::Apis::BinaryauthorizationV1::AttestationSource

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

Specifies the locations for fetching the provenance attestations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AttestationSource

Returns a new instance of AttestationSource.



179
180
181
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 179

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

Instance Attribute Details

#container_analysis_attestation_projectsArray<String>

The ids of the GCP projects storing the SLSA attestations as container analysis Occurrences. Corresponds to the JSON property containerAnalysisAttestationProjects

Returns:

  • (Array<String>)


177
178
179
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 177

def container_analysis_attestation_projects
  @container_analysis_attestation_projects
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



184
185
186
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 184

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