Class: Google::Apis::BinaryauthorizationV1::AttestationSource
- Inherits:
-
Object
- Object
- Google::Apis::BinaryauthorizationV1::AttestationSource
- 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
-
#container_analysis_attestation_projects ⇒ Array<String>
The IDs of the GCP projects storing the SLSA attestations as Container Analysis Occurrences.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AttestationSource
constructor
A new instance of AttestationSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_projects ⇒ Array<String>
The IDs of the GCP projects storing the SLSA attestations as Container
Analysis Occurrences.
Corresponds to the JSON property containerAnalysisAttestationProjects
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 |