Class: Google::Apis::ClouddeployV1::TargetRender

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

Overview

Details of rendering for a single target.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TargetRender

Returns a new instance of TargetRender.



6025
6026
6027
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6025

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

Instance Attribute Details

#failure_causeString

Output only. Reason this render failed. This will always be unspecified while the render in progress. Corresponds to the JSON property failureCause

Returns:

  • (String)


6001
6002
6003
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6001

def failure_cause
  @failure_cause
end

#failure_messageString

Output only. Additional information about the render failure, if available. Corresponds to the JSON property failureMessage

Returns:

  • (String)


6006
6007
6008
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6006

def failure_message
  @failure_message
end

#metadataGoogle::Apis::ClouddeployV1::RenderMetadata

RenderMetadata includes information associated with a Release render. Corresponds to the JSON property metadata



6011
6012
6013
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6011

def 
  @metadata
end

#rendering_buildString

Output only. The resource name of the Cloud Build Build object that is used to render the manifest for this target. Format is projects/project/ locations/location/builds/build`. Corresponds to the JSON propertyrenderingBuild`

Returns:

  • (String)


6018
6019
6020
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6018

def rendering_build
  @rendering_build
end

#rendering_stateString

Output only. Current state of the render operation for this Target. Corresponds to the JSON property renderingState

Returns:

  • (String)


6023
6024
6025
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6023

def rendering_state
  @rendering_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6030
6031
6032
6033
6034
6035
6036
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6030

def update!(**args)
  @failure_cause = args[:failure_cause] if args.key?(:failure_cause)
  @failure_message = args[:failure_message] if args.key?(:failure_message)
  @metadata = args[:metadata] if args.key?(:metadata)
  @rendering_build = args[:rendering_build] if args.key?(:rendering_build)
  @rendering_state = args[:rendering_state] if args.key?(:rendering_state)
end