Class: Google::Apis::ContaineranalysisV1beta1::StepResult

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

Overview

StepResult is the declaration of a result for a build step.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StepResult

Returns a new instance of StepResult.



6986
6987
6988
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6986

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

Instance Attribute Details

#attestation_content_nameString

Corresponds to the JSON property attestationContentName

Returns:

  • (String)


6974
6975
6976
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6974

def attestation_content_name
  @attestation_content_name
end

#attestation_typeString

Corresponds to the JSON property attestationType

Returns:

  • (String)


6979
6980
6981
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6979

def attestation_type
  @attestation_type
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


6984
6985
6986
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6984

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6991
6992
6993
6994
6995
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6991

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