Class: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness

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

Indicates that the builder claims certain fields in this message to be complete.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness

Returns a new instance of GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness.



4185
4186
4187
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 4185

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

Instance Attribute Details

#environmentBoolean Also known as: environment?

If true, the builder claims that invocation.environment is complete. Corresponds to the JSON property environment

Returns:

  • (Boolean)


4170
4171
4172
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 4170

def environment
  @environment
end

#materialsBoolean Also known as: materials?

If true, the builder claims that materials is complete. Corresponds to the JSON property materials

Returns:

  • (Boolean)


4176
4177
4178
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 4176

def materials
  @materials
end

#parametersBoolean Also known as: parameters?

If true, the builder claims that invocation.parameters is complete. Corresponds to the JSON property parameters

Returns:

  • (Boolean)


4182
4183
4184
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 4182

def parameters
  @parameters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4190
4191
4192
4193
4194
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 4190

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