(::Grafeas::V1::InTotoSlsaProvenanceV1) — In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa
spec, wrapped in an in-toto statement. This allows for direct
jsonification of a to-spec in-toto slsa statement with a to-spec
slsa provenance.
value (::Grafeas::V1::InTotoSlsaProvenanceV1) — In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa
spec, wrapped in an in-toto statement. This allows for direct
jsonification of a to-spec in-toto slsa statement with a to-spec
slsa provenance.
Returns
(::Grafeas::V1::InTotoSlsaProvenanceV1) — In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa
spec, wrapped in an in-toto statement. This allows for direct
jsonification of a to-spec in-toto slsa statement with a to-spec
slsa provenance.
(::Grafeas::V1::InTotoStatement) — In-toto Statement representation as defined in spec.
The intoto_statement can contain any type of provenance. The serialized
payload of the statement can be stored and signed in the Occurrence's
envelope.
value (::Grafeas::V1::InTotoStatement) — In-toto Statement representation as defined in spec.
The intoto_statement can contain any type of provenance. The serialized
payload of the statement can be stored and signed in the Occurrence's
envelope.
Returns
(::Grafeas::V1::InTotoStatement) — In-toto Statement representation as defined in spec.
The intoto_statement can contain any type of provenance. The serialized
payload of the statement can be stored and signed in the Occurrence's
envelope.
(::String) — Serialized JSON representation of the provenance, used in generating the
build signature in the corresponding build note. After verifying the
signature, provenance_bytes can be unmarshalled and compared to the
provenance to confirm that it is unchanged. A base64-encoded string
representation of the provenance bytes is used for the signature in order
to interoperate with openssl which expects this format for signature
verification.
The serialized form is captured both to avoid ambiguity in how the
provenance is marshalled to json as well to prevent incompatibilities with
future changes.
#provenance_bytes=
defprovenance_bytes=(value)->::String
Parameter
value (::String) — Serialized JSON representation of the provenance, used in generating the
build signature in the corresponding build note. After verifying the
signature, provenance_bytes can be unmarshalled and compared to the
provenance to confirm that it is unchanged. A base64-encoded string
representation of the provenance bytes is used for the signature in order
to interoperate with openssl which expects this format for signature
verification.
The serialized form is captured both to avoid ambiguity in how the
provenance is marshalled to json as well to prevent incompatibilities with
future changes.
Returns
(::String) — Serialized JSON representation of the provenance, used in generating the
build signature in the corresponding build note. After verifying the
signature, provenance_bytes can be unmarshalled and compared to the
provenance to confirm that it is unchanged. A base64-encoded string
representation of the provenance bytes is used for the signature in order
to interoperate with openssl which expects this format for signature
verification.
The serialized form is captured both to avoid ambiguity in how the
provenance is marshalled to json as well to prevent incompatibilities with
future changes.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Grafeas V1 API - Class Grafeas::V1::BuildOccurrence (v1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-BuildOccurrence)\n- [1.3.1](/ruby/docs/reference/grafeas-v1/1.3.1/Grafeas-V1-BuildOccurrence)\n- [1.2.0](/ruby/docs/reference/grafeas-v1/1.2.0/Grafeas-V1-BuildOccurrence)\n- [1.1.1](/ruby/docs/reference/grafeas-v1/1.1.1/Grafeas-V1-BuildOccurrence)\n- [1.0.0](/ruby/docs/reference/grafeas-v1/1.0.0/Grafeas-V1-BuildOccurrence)\n- [0.16.1](/ruby/docs/reference/grafeas-v1/0.16.1/Grafeas-V1-BuildOccurrence)\n- [0.15.0](/ruby/docs/reference/grafeas-v1/0.15.0/Grafeas-V1-BuildOccurrence)\n- [0.14.2](/ruby/docs/reference/grafeas-v1/0.14.2/Grafeas-V1-BuildOccurrence)\n- [0.13.0](/ruby/docs/reference/grafeas-v1/0.13.0/Grafeas-V1-BuildOccurrence)\n- [0.12.1](/ruby/docs/reference/grafeas-v1/0.12.1/Grafeas-V1-BuildOccurrence)\n- [0.11.0](/ruby/docs/reference/grafeas-v1/0.11.0/Grafeas-V1-BuildOccurrence)\n- [0.10.0](/ruby/docs/reference/grafeas-v1/0.10.0/Grafeas-V1-BuildOccurrence)\n- [0.9.0](/ruby/docs/reference/grafeas-v1/0.9.0/Grafeas-V1-BuildOccurrence)\n- [0.8.0](/ruby/docs/reference/grafeas-v1/0.8.0/Grafeas-V1-BuildOccurrence)\n- [0.7.0](/ruby/docs/reference/grafeas-v1/0.7.0/Grafeas-V1-BuildOccurrence)\n- [0.6.1](/ruby/docs/reference/grafeas-v1/0.6.1/Grafeas-V1-BuildOccurrence)\n- [0.5.0](/ruby/docs/reference/grafeas-v1/0.5.0/Grafeas-V1-BuildOccurrence)\n- [0.4.0](/ruby/docs/reference/grafeas-v1/0.4.0/Grafeas-V1-BuildOccurrence)\n- [0.3.1](/ruby/docs/reference/grafeas-v1/0.3.1/Grafeas-V1-BuildOccurrence) \nReference documentation and code samples for the Grafeas V1 API class Grafeas::V1::BuildOccurrence.\n\nDetails of a build occurrence. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #in_toto_slsa_provenance_v1\n\n def in_toto_slsa_provenance_v1() -\u003e ::Grafeas::V1::InTotoSlsaProvenanceV1\n\n**Returns**\n\n- ([::Grafeas::V1::InTotoSlsaProvenanceV1](./Grafeas-V1-InTotoSlsaProvenanceV1)) --- In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec, wrapped in an in-toto statement. This allows for direct jsonification of a to-spec in-toto slsa statement with a to-spec slsa provenance.\n\n### #in_toto_slsa_provenance_v1=\n\n def in_toto_slsa_provenance_v1=(value) -\u003e ::Grafeas::V1::InTotoSlsaProvenanceV1\n\n**Parameter**\n\n- **value** ([::Grafeas::V1::InTotoSlsaProvenanceV1](./Grafeas-V1-InTotoSlsaProvenanceV1)) --- In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec, wrapped in an in-toto statement. This allows for direct jsonification of a to-spec in-toto slsa statement with a to-spec slsa provenance. \n**Returns**\n\n- ([::Grafeas::V1::InTotoSlsaProvenanceV1](./Grafeas-V1-InTotoSlsaProvenanceV1)) --- In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec, wrapped in an in-toto statement. This allows for direct jsonification of a to-spec in-toto slsa statement with a to-spec slsa provenance.\n\n### #intoto_provenance\n\n def intoto_provenance() -\u003e ::Grafeas::V1::InTotoProvenance\n\n**Returns**\n\n- ([::Grafeas::V1::InTotoProvenance](./Grafeas-V1-InTotoProvenance)) --- Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.\n\n### #intoto_provenance=\n\n def intoto_provenance=(value) -\u003e ::Grafeas::V1::InTotoProvenance\n\n**Parameter**\n\n- **value** ([::Grafeas::V1::InTotoProvenance](./Grafeas-V1-InTotoProvenance)) --- Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec. \n**Returns**\n\n- ([::Grafeas::V1::InTotoProvenance](./Grafeas-V1-InTotoProvenance)) --- Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.\n\n### #intoto_statement\n\n def intoto_statement() -\u003e ::Grafeas::V1::InTotoStatement\n\n**Returns**\n\n- ([::Grafeas::V1::InTotoStatement](./Grafeas-V1-InTotoStatement)) --- In-toto Statement representation as defined in spec. The intoto_statement can contain any type of provenance. The serialized payload of the statement can be stored and signed in the Occurrence's envelope.\n\n### #intoto_statement=\n\n def intoto_statement=(value) -\u003e ::Grafeas::V1::InTotoStatement\n\n**Parameter**\n\n- **value** ([::Grafeas::V1::InTotoStatement](./Grafeas-V1-InTotoStatement)) --- In-toto Statement representation as defined in spec. The intoto_statement can contain any type of provenance. The serialized payload of the statement can be stored and signed in the Occurrence's envelope. \n**Returns**\n\n- ([::Grafeas::V1::InTotoStatement](./Grafeas-V1-InTotoStatement)) --- In-toto Statement representation as defined in spec. The intoto_statement can contain any type of provenance. The serialized payload of the statement can be stored and signed in the Occurrence's envelope.\n\n### #provenance\n\n def provenance() -\u003e ::Grafeas::V1::BuildProvenance\n\n**Returns**\n\n- ([::Grafeas::V1::BuildProvenance](./Grafeas-V1-BuildProvenance)) --- The actual provenance for the build.\n\n### #provenance=\n\n def provenance=(value) -\u003e ::Grafeas::V1::BuildProvenance\n\n**Parameter**\n\n- **value** ([::Grafeas::V1::BuildProvenance](./Grafeas-V1-BuildProvenance)) --- The actual provenance for the build. \n**Returns**\n\n- ([::Grafeas::V1::BuildProvenance](./Grafeas-V1-BuildProvenance)) --- The actual provenance for the build.\n\n### #provenance_bytes\n\n def provenance_bytes() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. After verifying the signature, `provenance_bytes` can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification.\n\n\n The serialized form is captured both to avoid ambiguity in how the\n provenance is marshalled to json as well to prevent incompatibilities with\n future changes.\n\n### #provenance_bytes=\n\n def provenance_bytes=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. After verifying the signature, `provenance_bytes` can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification.\n\n\n The serialized form is captured both to avoid ambiguity in how the\n provenance is marshalled to json as well to prevent incompatibilities with\nfuture changes. \n**Returns**\n\n- (::String) --- Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. After verifying the signature, `provenance_bytes` can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification.\n\n\n The serialized form is captured both to avoid ambiguity in how the\n provenance is marshalled to json as well to prevent incompatibilities with\n future changes."]]