Class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1StepResult

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/run_v2/classes.rb,
lib/google/apis/run_v2/representations.rb,
lib/google/apis/run_v2/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) ⇒ GoogleDevtoolsCloudbuildV1StepResult

Returns a new instance of GoogleDevtoolsCloudbuildV1StepResult.



6556
6557
6558
# File 'lib/google/apis/run_v2/classes.rb', line 6556

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

Instance Attribute Details

#attestation_contentString

Optional. The content of the attestation to be generated. Corresponds to the JSON property attestationContent

Returns:

  • (String)


6544
6545
6546
# File 'lib/google/apis/run_v2/classes.rb', line 6544

def attestation_content
  @attestation_content
end

#attestation_typeString

Optional. The type of attestation to be generated. Corresponds to the JSON property attestationType

Returns:

  • (String)


6549
6550
6551
# File 'lib/google/apis/run_v2/classes.rb', line 6549

def attestation_type
  @attestation_type
end

#nameString

Required. The name of the result. Corresponds to the JSON property name

Returns:

  • (String)


6554
6555
6556
# File 'lib/google/apis/run_v2/classes.rb', line 6554

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6561
6562
6563
6564
6565
# File 'lib/google/apis/run_v2/classes.rb', line 6561

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