Class TargetRender (1.8.0)

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.
metadata google.cloud.deploy_v1.types.RenderMetadata
Output only. Metadata related to the Release render 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. CLOUD_BUILD_REQUEST_FAILED (3): Cloud Build failed to fulfill Google Cloud Deploy's request. See failure_message for additional details.

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.