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.



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

Returns:

  • (Array<String>)


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