Class: Google::Apis::ContaineranalysisV1::GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness

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

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) ⇒ GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness

Returns a new instance of GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness.



3622
3623
3624
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3622

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

Instance Attribute Details

#environmentBoolean Also known as: environment?

Corresponds to the JSON property environment

Returns:

  • (Boolean)


3607
3608
3609
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3607

def environment
  @environment
end

#materialsBoolean Also known as: materials?

Corresponds to the JSON property materials

Returns:

  • (Boolean)


3613
3614
3615
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3613

def materials
  @materials
end

#parametersBoolean Also known as: parameters?

Corresponds to the JSON property parameters

Returns:

  • (Boolean)


3619
3620
3621
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3619

def parameters
  @parameters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3627
3628
3629
3630
3631
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3627

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