Class PostdeployJobRun (1.14.0)

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

PostdeployJobRun contains information specific to a postdeploy JobRun.

Attributes

NameDescription
build str
Output only. The resource name of the Cloud Build Build object that is used to execute the custom actions associated with the postdeploy Job. Format is projects/{project}/locations/{location}/builds/{build}.
failure_cause google.cloud.deploy_v1.types.PostdeployJobRun.FailureCause
Output only. The reason the postdeploy failed. This will always be unspecified while the postdeploy is in progress or if it succeeded.
failure_message str
Output only. Additional information about the postdeploy failure, if available.

Classes

FailureCause

FailureCause(value)

Well-known postdeploy 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 postdeploy operation did not complete successfully; check Cloud Build logs. DEADLINE_EXCEEDED (3): The postdeploy job run did not complete within the alloted time. CLOUD_BUILD_REQUEST_FAILED (4): Cloud Build failed to fulfill Cloud Deploy's request. See failure_message for additional details.