proto_docs/grafeas/v1/build.rb in grafeas-v1-0.2.2 vs proto_docs/grafeas/v1/build.rb in grafeas-v1-0.3.0

- old
+ new

@@ -30,11 +30,11 @@ end # Details of a build occurrence. # @!attribute [rw] provenance # @return [::Grafeas::V1::BuildProvenance] - # Required. The actual provenance for the build. + # The actual provenance for the build. # @!attribute [rw] provenance_bytes # @return [::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 @@ -44,9 +44,19 @@ # 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. + # @!attribute [rw] intoto_provenance + # @return [::Grafeas::V1::InTotoProvenance] + # Deprecated. See InTotoStatement for the replacement. + # In-toto Provenance representation as defined in spec. + # @!attribute [rw] intoto_statement + # @return [::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. class BuildOccurrence include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end