Class PredeployJobRun (1.18.0)

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

PredeployJobRun contains information specific to a predeploy JobRun.

Attributes

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

Classes

FailureCause

FailureCause(value)

Well-known predeploy 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 predeploy operation did not complete successfully; check Cloud Build logs. DEADLINE_EXCEEDED (3): The predeploy 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.