Class DeployJobRun (1.6.1)

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

DeployJobRun contains information specific to a deploy JobRun.

Attributes

NameDescription
build str
Output only. The resource name of the Cloud Build Build object that is used to deploy. Format is projects/{project}/locations/{location}/builds/{build}.
failure_cause google.cloud.deploy_v1.types.DeployJobRun.FailureCause
Output only. The reason the deploy failed. This will always be unspecified while the deploy is in progress or if it succeeded.
failure_message str
Output only. Additional information about the deploy failure, if available.
metadata google.cloud.deploy_v1.types.DeployJobRunMetadata
Output only. Metadata containing information about the deploy job run.

Classes

FailureCause

FailureCause(value)

Well-known deploy 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 deploy operation did not complete successfully; check Cloud Build logs. DEADLINE_EXCEEDED (3): The deploy build did not complete within the alloted time.