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.



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

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>)


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

def container_analysis_attestation_projects
  @container_analysis_attestation_projects
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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