Class: Google::Apis::ContaineranalysisV1beta1::InTotoSlsaProvenanceV1
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::InTotoSlsaProvenanceV1
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1beta1/classes.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#_type ⇒ String
InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec# statement Corresponds to the JSON property
_type. -
#predicate ⇒ Google::Apis::ContaineranalysisV1beta1::SlsaProvenanceV1
Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/ docs/provenance/schema/v1/provenance.proto Builder renamed to ProvenanceBuilder because of Java conflicts.
-
#predicate_type ⇒ String
Corresponds to the JSON property
predicateType. -
#subject ⇒ Array<Google::Apis::ContaineranalysisV1beta1::Subject>
Corresponds to the JSON property
subject.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InTotoSlsaProvenanceV1
constructor
A new instance of InTotoSlsaProvenanceV1.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InTotoSlsaProvenanceV1
Returns a new instance of InTotoSlsaProvenanceV1.
5199 5200 5201 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5199 def initialize(**args) update!(**args) end |
Instance Attribute Details
#_type ⇒ String
InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#
statement
Corresponds to the JSON property _type
5180 5181 5182 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5180 def _type @_type end |
#predicate ⇒ Google::Apis::ContaineranalysisV1beta1::SlsaProvenanceV1
Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
docs/provenance/schema/v1/provenance.proto Builder renamed to
ProvenanceBuilder because of Java conflicts.
Corresponds to the JSON property predicate
5187 5188 5189 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5187 def predicate @predicate end |
#predicate_type ⇒ String
Corresponds to the JSON property predicateType
5192 5193 5194 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5192 def predicate_type @predicate_type end |
#subject ⇒ Array<Google::Apis::ContaineranalysisV1beta1::Subject>
Corresponds to the JSON property subject
5197 5198 5199 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5197 def subject @subject end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5204 5205 5206 5207 5208 5209 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5204 def update!(**args) @_type = args[:_type] if args.key?(:_type) @predicate = args[:predicate] if args.key?(:predicate) @predicate_type = args[:predicate_type] if args.key?(:predicate_type) @subject = args[:subject] if args.key?(:subject) end |