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.



1673
1674
1675
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1673

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

Instance Attribute Details

#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)


1666
1667
1668
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1666

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)


1671
1672
1673
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1671

def rendering_state
  @rendering_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1678
1679
1680
1681
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1678

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