Grafeas V1 API - Class Grafeas::V1::SbomReferenceIntotoPayload (v1.2.0)

Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::SbomReferenceIntotoPayload.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#predicate

def predicate() -> ::Grafeas::V1::SbomReferenceIntotoPredicate
Returns

#predicate=

def predicate=(value) -> ::Grafeas::V1::SbomReferenceIntotoPredicate
Parameter
Returns

#predicate_type

def predicate_type() -> ::String
Returns
  • (::String) — URI identifying the type of the Predicate.

#predicate_type=

def predicate_type=(value) -> ::String
Parameter
  • value (::String) — URI identifying the type of the Predicate.
Returns
  • (::String) — URI identifying the type of the Predicate.

#subject

def subject() -> ::Array<::Grafeas::V1::Subject>
Returns
  • (::Array<::Grafeas::V1::Subject>) — Set of software artifacts that the attestation applies to. Each element represents a single software artifact.

#subject=

def subject=(value) -> ::Array<::Grafeas::V1::Subject>
Parameter
  • value (::Array<::Grafeas::V1::Subject>) — Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
Returns
  • (::Array<::Grafeas::V1::Subject>) — Set of software artifacts that the attestation applies to. Each element represents a single software artifact.

#type

def type() -> ::String
Returns
  • (::String) — Identifier for the schema of the Statement.

#type=

def type=(value) -> ::String
Parameter
  • value (::String) — Identifier for the schema of the Statement.
Returns
  • (::String) — Identifier for the schema of the Statement.