Class: Google::Apis::OndemandscanningV1beta1::SbomReferenceIntotoPayload
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1beta1::SbomReferenceIntotoPayload
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ondemandscanning_v1beta1/classes.rb,
lib/google/apis/ondemandscanning_v1beta1/representations.rb,
lib/google/apis/ondemandscanning_v1beta1/representations.rb
Overview
The actual payload that contains the SBOM Reference data. The payload follows the intoto statement specification. See https://github.com/in-toto/attestation/ blob/main/spec/v1.0/statement.md for more details.
Instance Attribute Summary collapse
-
#_type ⇒ String
Identifier for the schema of the Statement.
-
#predicate ⇒ Google::Apis::OndemandscanningV1beta1::SbomReferenceIntotoPredicate
A predicate which describes the SBOM being referenced.
-
#predicate_type ⇒ String
URI identifying the type of the Predicate.
-
#subject ⇒ Array<Google::Apis::OndemandscanningV1beta1::Subject>
Set of software artifacts that the attestation applies to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SbomReferenceIntotoPayload
constructor
A new instance of SbomReferenceIntotoPayload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SbomReferenceIntotoPayload
Returns a new instance of SbomReferenceIntotoPayload.
2524 2525 2526 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2524 def initialize(**args) update!(**args) end |
Instance Attribute Details
#_type ⇒ String
Identifier for the schema of the Statement.
Corresponds to the JSON property _type
2506 2507 2508 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2506 def _type @_type end |
#predicate ⇒ Google::Apis::OndemandscanningV1beta1::SbomReferenceIntotoPredicate
A predicate which describes the SBOM being referenced.
Corresponds to the JSON property predicate
2511 2512 2513 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2511 def predicate @predicate end |
#predicate_type ⇒ String
URI identifying the type of the Predicate.
Corresponds to the JSON property predicateType
2516 2517 2518 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2516 def predicate_type @predicate_type end |
#subject ⇒ Array<Google::Apis::OndemandscanningV1beta1::Subject>
Set of software artifacts that the attestation applies to. Each element
represents a single software artifact.
Corresponds to the JSON property subject
2522 2523 2524 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2522 def subject @subject end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2529 2530 2531 2532 2533 2534 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2529 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 |