Class: Google::Apis::ContaineranalysisV1beta1::ByProducts

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

Overview

Defines an object for the byproducts field in in-toto links. The suggested fields are "stderr", "stdout", and "return-value".

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ByProducts

Returns a new instance of ByProducts.



567
568
569
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 567

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

Instance Attribute Details

#custom_valuesHash<String,String>

Corresponds to the JSON property customValues

Returns:

  • (Hash<String,String>)


565
566
567
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 565

def custom_values
  @custom_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



572
573
574
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 572

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