Class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/ondemandscanning_v1beta1/classes.rb,
lib/google/apis/ondemandscanning_v1beta1/representations.rb,
lib/google/apis/ondemandscanning_v1beta1/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.



1123
1124
1125
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1123

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

Instance Attribute Details

#digestHash<String,String>

Corresponds to the JSON property digest

Returns:

  • (Hash<String,String>)


1111
1112
1113
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1111

def digest
  @digest
end

#entry_pointString

Corresponds to the JSON property entryPoint

Returns:

  • (String)


1116
1117
1118
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1116

def entry_point
  @entry_point
end

#uriString

Corresponds to the JSON property uri

Returns:

  • (String)


1121
1122
1123
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1121

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1128
1129
1130
1131
1132
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1128

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