Class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation

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

Identifies the event that kicked off the build.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation

Returns a new instance of GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation.



1189
1190
1191
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1189

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

Instance Attribute Details

#config_sourceGoogle::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource

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



1177
1178
1179
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1177

def config_source
  @config_source
end

#environmentHash<String,Object>

Corresponds to the JSON property environment

Returns:

  • (Hash<String,Object>)


1182
1183
1184
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1182

def environment
  @environment
end

#parametersHash<String,Object>

Corresponds to the JSON property parameters

Returns:

  • (Hash<String,Object>)


1187
1188
1189
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1187

def parameters
  @parameters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1194
1195
1196
1197
1198
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1194

def update!(**args)
  @config_source = args[:config_source] if args.key?(:config_source)
  @environment = args[:environment] if args.key?(:environment)
  @parameters = args[:parameters] if args.key?(:parameters)
end