GrafeasV1beta1BuildDetailsResponse class
Details of a build occurrence.
Constructors
-
GrafeasV1beta1BuildDetailsResponse({required Input<
InTotoSlsaProvenanceV1ResponseContaineranalysisV1beta1> inTotoSlsaProvenanceV1, required Input<BuildProvenanceResponseContaineranalysisV1beta1> provenance, required Input<String> provenanceBytes}) -
Creates a new GrafeasV1beta1BuildDetailsResponse.
inTotoSlsaProvenanceV1Required.provenanceThe actual provenance for the build.provenanceBytesSerialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. After verifying the signature,provenance_bytescan 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.const -
GrafeasV1beta1BuildDetailsResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inTotoSlsaProvenanceV1
→ Input<
InTotoSlsaProvenanceV1ResponseContaineranalysisV1beta1> -
final
-
provenance
→ Input<
BuildProvenanceResponseContaineranalysisV1beta1> -
The actual provenance for the build.
final
-
provenanceBytes
→ Input<
String> -
Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. After verifying the signature,
provenance_bytescan 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.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited