Enum DeployJobRun.FailureCause (1.27.0)

public enum DeployJobRun.FailureCause extends Enum<DeployJobRun.FailureCause> implements ProtocolMessageEnum

Well-known deploy failures.

Protobuf enum google.cloud.deploy.v1.DeployJobRun.FailureCause

Implements

ProtocolMessageEnum

Static Fields

NameDescription
CLOUD_BUILD_REQUEST_FAILED

Cloud Build failed to fulfill Cloud Deploy's request. See failure_message for additional details.

CLOUD_BUILD_REQUEST_FAILED = 5;

CLOUD_BUILD_REQUEST_FAILED_VALUE

Cloud Build failed to fulfill Cloud Deploy's request. See failure_message for additional details.

CLOUD_BUILD_REQUEST_FAILED = 5;

CLOUD_BUILD_UNAVAILABLE

Cloud Build is not available, either because it is not enabled or because Cloud Deploy has insufficient permissions. See Required permission.

CLOUD_BUILD_UNAVAILABLE = 1;

CLOUD_BUILD_UNAVAILABLE_VALUE

Cloud Build is not available, either because it is not enabled or because Cloud Deploy has insufficient permissions. See Required permission.

CLOUD_BUILD_UNAVAILABLE = 1;

DEADLINE_EXCEEDED

The deploy build did not complete within the alloted time.

DEADLINE_EXCEEDED = 3;

DEADLINE_EXCEEDED_VALUE

The deploy build did not complete within the alloted time.

DEADLINE_EXCEEDED = 3;

EXECUTION_FAILED

The deploy operation did not complete successfully; check Cloud Build logs.

EXECUTION_FAILED = 2;

EXECUTION_FAILED_VALUE

The deploy operation did not complete successfully; check Cloud Build logs.

EXECUTION_FAILED = 2;

FAILURE_CAUSE_UNSPECIFIED

No reason for failure is specified.

FAILURE_CAUSE_UNSPECIFIED = 0;

FAILURE_CAUSE_UNSPECIFIED_VALUE

No reason for failure is specified.

FAILURE_CAUSE_UNSPECIFIED = 0;

MISSING_RESOURCES_FOR_CANARY

There were missing resources in the runtime environment required for a canary deployment. Check the Cloud Build logs for more information.

MISSING_RESOURCES_FOR_CANARY = 4;

MISSING_RESOURCES_FOR_CANARY_VALUE

There were missing resources in the runtime environment required for a canary deployment. Check the Cloud Build logs for more information.

MISSING_RESOURCES_FOR_CANARY = 4;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()