Class: Google::Apis::ContaineranalysisV1::GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/containeranalysis_v1/classes.rb,
lib/google/apis/containeranalysis_v1/representations.rb,
lib/google/apis/containeranalysis_v1/representations.rb

Overview

Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource

Returns a new instance of GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource.



3999
4000
4001
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3999

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#digestHash<String,String>

Corresponds to the JSON property digest

Returns:

  • (Hash<String,String>)


3987
3988
3989
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3987

def digest
  @digest
end

#entry_pointString

Corresponds to the JSON property entryPoint

Returns:

  • (String)


3992
3993
3994
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3992

def entry_point
  @entry_point
end

#uriString

Corresponds to the JSON property uri

Returns:

  • (String)


3997
3998
3999
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3997

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4004
4005
4006
4007
4008
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4004

def update!(**args)
  @digest = args[:digest] if args.key?(:digest)
  @entry_point = args[:entry_point] if args.key?(:entry_point)
  @uri = args[:uri] if args.key?(:uri)
end