Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::Subject.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#digest
def digest() -> ::Google::Protobuf::Map{::String => ::String}
Returns
-
(::Google::Protobuf::Map{::String => ::String}) —
"<ALGORITHM>": "<HEX_VALUE>"
Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
#digest=
def digest=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
-
value (::Google::Protobuf::Map{::String => ::String}) —
"<ALGORITHM>": "<HEX_VALUE>"
Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
Returns
-
(::Google::Protobuf::Map{::String => ::String}) —
"<ALGORITHM>": "<HEX_VALUE>"
Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
#name
def name() -> ::String
Returns
- (::String)
#name=
def name=(value) -> ::String
Parameter
- value (::String)
Returns
- (::String)