class Google::Apis::ContaineranalysisV1::Subject

Attributes

digest[RW]

‘“”: “”` Algorithms can be e.g. sha256, sha512 See github.com/in-toto/ attestation/blob/main/spec/field_types.md#DigestSet Corresponds to the JSON property `digest` @return [Hash<String,String>]

name[RW]

Corresponds to the JSON property ‘name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1/classes.rb, line 4540
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/containeranalysis_v1/classes.rb, line 4545
def update!(**args)
  @digest = args[:digest] if args.key?(:digest)
  @name = args[:name] if args.key?(:name)
end