Class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult

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

Returns a new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1StepResult.



3187
3188
3189
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3187

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)


3175
3176
3177
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3175

def attestation_content
  @attestation_content
end

#attestation_typeString

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

Returns:

  • (String)


3180
3181
3182
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3180

def attestation_type
  @attestation_type
end

#nameString

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

Returns:

  • (String)


3185
3186
3187
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3185

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3192
3193
3194
3195
3196
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3192

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