Class TargetRender (1.6.1)

TargetRender(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Details of rendering for a single target.

Attributes

NameDescription
rendering_build str
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}.
rendering_state google.cloud.deploy_v1.types.Release.TargetRender.TargetRenderState
Output only. Current state of the render operation for this Target.
failure_cause google.cloud.deploy_v1.types.Release.TargetRender.FailureCause
Output only. Reason this render failed. This will always be unspecified while the render in progress.
failure_message str
Output only. Additional information about the render failure, if available.

Classes

FailureCause

FailureCause(value)

Well-known rendering failures.

Values: FAILURE_CAUSE_UNSPECIFIED (0): No reason for failure is specified. CLOUD_BUILD_UNAVAILABLE (1): Cloud Build is not available, either because it is not enabled or because Google Cloud Deploy has insufficient permissions. See required permission </deploy/docs/cloud-deploy-service-account#required_permissions>__. EXECUTION_FAILED (2): The render operation did not complete successfully; check Cloud Build logs.

TargetRenderState

TargetRenderState(value)

Valid states of the render operation.

Values: TARGET_RENDER_STATE_UNSPECIFIED (0): The render operation state is unspecified. SUCCEEDED (1): The render operation has completed successfully. FAILED (2): The render operation has failed. IN_PROGRESS (3): The render operation is in progress.