Class: Google::Apis::ClouddeployV1::TargetRender
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::TargetRender
- 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
-
#failure_cause ⇒ String
Output only.
-
#failure_message ⇒ String
Output only.
-
#metadata ⇒ Google::Apis::ClouddeployV1::RenderMetadata
RenderMetadata includes information associated with a
Releaserender. -
#rendering_build ⇒ String
Output only.
-
#rendering_state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TargetRender
constructor
A new instance of TargetRender.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TargetRender
Returns a new instance of TargetRender.
3237 3238 3239 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3237 def initialize(**args) update!(**args) end |
Instance Attribute Details
#failure_cause ⇒ String
Output only. Reason this render failed. This will always be unspecified while
the render in progress.
Corresponds to the JSON property failureCause
3213 3214 3215 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3213 def failure_cause @failure_cause end |
#failure_message ⇒ String
Output only. Additional information about the render failure, if available.
Corresponds to the JSON property failureMessage
3218 3219 3220 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3218 def @failure_message end |
#metadata ⇒ Google::Apis::ClouddeployV1::RenderMetadata
RenderMetadata includes information associated with a Release render.
Corresponds to the JSON property metadata
3223 3224 3225 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3223 def @metadata end |
#rendering_build ⇒ String
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`
3230 3231 3232 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3230 def rendering_build @rendering_build end |
#rendering_state ⇒ String
Output only. Current state of the render operation for this Target.
Corresponds to the JSON property renderingState
3235 3236 3237 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3235 def rendering_state @rendering_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3242 3243 3244 3245 3246 3247 3248 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3242 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 |