Class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult
- 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
-
#attestation_content ⇒ String
Optional.
-
#attestation_type ⇒ String
Optional.
-
#name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult
constructor
A new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult
Returns a new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult.
3156 3157 3158 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3156 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attestation_content ⇒ String
Optional. The content of the attestation to be generated.
Corresponds to the JSON property attestationContent
3144 3145 3146 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3144 def attestation_content @attestation_content end |
#attestation_type ⇒ String
Optional. The type of attestation to be generated.
Corresponds to the JSON property attestationType
3149 3150 3151 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3149 def attestation_type @attestation_type end |
#name ⇒ String
Required. The name of the result.
Corresponds to the JSON property name
3154 3155 3156 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3154 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3161 3162 3163 3164 3165 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3161 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 |