Class TargetRender (1.13.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 Cloud Deploy has insufficient permissions. See required permission <https://cloud.google.com/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 Cloud Deploy's request. See failure_message for additional details. CUSTOM_ACTION_NOT_FOUND (5): The render operation did not complete successfully because the custom action required for predeploy or postdeploy was not found in the skaffold configuration. 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.