Class: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation

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

Overview

Identifies the event that kicked off the build.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation

Returns a new instance of GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation.



4063
4064
4065
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 4063

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

Instance Attribute Details

#config_sourceGoogle::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource

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



4049
4050
4051
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 4049

def config_source
  @config_source
end

#environmentHash<String,Object>

Any other builder-controlled inputs necessary for correctly evaluating the build. Corresponds to the JSON property environment

Returns:

  • (Hash<String,Object>)


4055
4056
4057
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 4055

def environment
  @environment
end

#parametersHash<String,Object>

Collection of all external inputs that influenced the build on top of invocation.configSource. Corresponds to the JSON property parameters

Returns:

  • (Hash<String,Object>)


4061
4062
4063
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 4061

def parameters
  @parameters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4068
4069
4070
4071
4072
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 4068

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