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 Google Cloud projects that store the SLSA attestations as Container Analysis Occurrences, in the format
projects/[PROJECT_ID]
.
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.
201 202 203 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 201 def initialize(**args) update!(**args) end |
Instance Attribute Details
#container_analysis_attestation_projects ⇒ Array<String>
The IDs of the Google Cloud projects that store the SLSA attestations as
Container Analysis Occurrences, in the format projects/[PROJECT_ID]
. Maximum
number of container_analysis_attestation_projects
allowed in each
AttestationSource
is 10.
Corresponds to the JSON property containerAnalysisAttestationProjects
199 200 201 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 199 def container_analysis_attestation_projects @container_analysis_attestation_projects end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
206 207 208 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 206 def update!(**args) @container_analysis_attestation_projects = args[:container_analysis_attestation_projects] if args.key?(:container_analysis_attestation_projects) end |