Class: Google::Apis::OndemandscanningV1beta1::SlsaCompleteness

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

Returns a new instance of SlsaCompleteness.



2058
2059
2060
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2058

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

Instance Attribute Details

#argumentsBoolean Also known as: arguments?

If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe. Corresponds to the JSON property arguments

Returns:

  • (Boolean)


2042
2043
2044
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2042

def arguments
  @arguments
end

#environmentBoolean Also known as: environment?

If true, the builder claims that recipe.environment is claimed to be complete. Corresponds to the JSON property environment

Returns:

  • (Boolean)


2048
2049
2050
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2048

def environment
  @environment
end

#materialsBoolean Also known as: materials?

If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called "hermetic". Corresponds to the JSON property materials

Returns:

  • (Boolean)


2055
2056
2057
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2055

def materials
  @materials
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2063
2064
2065
2066
2067
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2063

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