Class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness

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

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.



1091
1092
1093
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1091

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

Instance Attribute Details

#environmentBoolean Also known as: environment?

Corresponds to the JSON property environment

Returns:

  • (Boolean)


1076
1077
1078
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1076

def environment
  @environment
end

#materialsBoolean Also known as: materials?

Corresponds to the JSON property materials

Returns:

  • (Boolean)


1082
1083
1084
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1082

def materials
  @materials
end

#parametersBoolean Also known as: parameters?

Corresponds to the JSON property parameters

Returns:

  • (Boolean)


1088
1089
1090
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1088

def parameters
  @parameters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1096
1097
1098
1099
1100
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1096

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