Compute V1 Client - Class Code (2.0.0)

Reference documentation and code samples for the Compute V1 Client class Code.

[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.

Protobuf type google.cloud.compute.v1.QuotaStatusWarning.Code

Namespace

Google \ Cloud \ Compute \ V1 \ QuotaStatusWarning

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

UNDEFINED_CODE

Value: 0

A value indicating that the enum field is not set.

Generated from protobuf enum UNDEFINED_CODE = 0;

CLEANUP_FAILED

Value: 150308440

Warning about failed cleanup of transient changes made by a failed operation.

Generated from protobuf enum CLEANUP_FAILED = 150308440;

DEPRECATED_RESOURCE_USED

Value: 391835586

A link to a deprecated resource was created.

Generated from protobuf enum DEPRECATED_RESOURCE_USED = 391835586;

DEPRECATED_TYPE_USED

Value: 346526230

When deploying and at least one of the resources has a type marked as deprecated

Generated from protobuf enum DEPRECATED_TYPE_USED = 346526230;

DISK_SIZE_LARGER_THAN_IMAGE_SIZE

Value: 369442967

The user created a boot disk that is larger than image size.

Generated from protobuf enum DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 369442967;

EXPERIMENTAL_TYPE_USED

Value: 451954443

When deploying and at least one of the resources has a type marked as experimental

Generated from protobuf enum EXPERIMENTAL_TYPE_USED = 451954443;

EXTERNAL_API_WARNING

Value: 175546307

Warning that is present in an external api call

Generated from protobuf enum EXTERNAL_API_WARNING = 175546307;

FIELD_VALUE_OVERRIDEN

Value: 329669423

Warning that value of a field has been overridden. Deprecated unused field.

Generated from protobuf enum FIELD_VALUE_OVERRIDEN = 329669423;

INJECTED_KERNELS_DEPRECATED

Value: 417377419

The operation involved use of an injected kernel, which is deprecated.

Generated from protobuf enum INJECTED_KERNELS_DEPRECATED = 417377419;

INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB

Value: 401542606

A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.

Generated from protobuf enum INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB = 401542606;

LARGE_DEPLOYMENT_WARNING

Value: 481440678

When deploying a deployment with a exceedingly large number of resources

Generated from protobuf enum LARGE_DEPLOYMENT_WARNING = 481440678;

LIST_OVERHEAD_QUOTA_EXCEED

Value: 47618117

Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.

Generated from protobuf enum LIST_OVERHEAD_QUOTA_EXCEED = 47618117;

MISSING_TYPE_DEPENDENCY

Value: 344505463

A resource depends on a missing type

Generated from protobuf enum MISSING_TYPE_DEPENDENCY = 344505463;

NEXT_HOP_ADDRESS_NOT_ASSIGNED

Value: 324964999

The route's nextHopIp address is not assigned to an instance on the network.

Generated from protobuf enum NEXT_HOP_ADDRESS_NOT_ASSIGNED = 324964999;

NEXT_HOP_CANNOT_IP_FORWARD

Value: 383382887

The route's next hop instance cannot ip forward.

Generated from protobuf enum NEXT_HOP_CANNOT_IP_FORWARD = 383382887;

NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE

Value: 146748434

The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.

Generated from protobuf enum NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE = 146748434;

NEXT_HOP_INSTANCE_NOT_FOUND

Value: 464250446

The route's nextHopInstance URL refers to an instance that does not exist.

Generated from protobuf enum NEXT_HOP_INSTANCE_NOT_FOUND = 464250446;

NEXT_HOP_INSTANCE_NOT_ON_NETWORK

Value: 243758146

The route's nextHopInstance URL refers to an instance that is not on the same network as the route.

Generated from protobuf enum NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 243758146;

NEXT_HOP_NOT_RUNNING

Value: 417081265

The route's next hop instance does not have a status of RUNNING.

Generated from protobuf enum NEXT_HOP_NOT_RUNNING = 417081265;

NOT_CRITICAL_ERROR

Value: 105763924

Error which is not critical. We decided to continue the process despite the mentioned error.

Generated from protobuf enum NOT_CRITICAL_ERROR = 105763924;

NO_RESULTS_ON_PAGE

Value: 30036744

No results are present on a particular list page.

Generated from protobuf enum NO_RESULTS_ON_PAGE = 30036744;

PARTIAL_SUCCESS

Value: 39966469

Success is reported, but some results may be missing due to errors

Generated from protobuf enum PARTIAL_SUCCESS = 39966469;

QUOTA_INFO_UNAVAILABLE

Value: 304294182

Quota information is not available to client requests (e.g: regions.list).

Generated from protobuf enum QUOTA_INFO_UNAVAILABLE = 304294182;

REQUIRED_TOS_AGREEMENT

Value: 3745539

The user attempted to use a resource that requires a TOS they have not accepted.

Generated from protobuf enum REQUIRED_TOS_AGREEMENT = 3745539;

RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING

Value: 496728641

Warning that a resource is in use.

Generated from protobuf enum RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641;

RESOURCE_NOT_DELETED

Value: 168598460

One or more of the resources set to auto-delete could not be deleted because they were in use.

Generated from protobuf enum RESOURCE_NOT_DELETED = 168598460;

SCHEMA_VALIDATION_IGNORED

Value: 275245642

When a resource schema validation is ignored.

Generated from protobuf enum SCHEMA_VALIDATION_IGNORED = 275245642;

SINGLE_INSTANCE_PROPERTY_TEMPLATE

Value: 268305617

Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.

Generated from protobuf enum SINGLE_INSTANCE_PROPERTY_TEMPLATE = 268305617;

UNDECLARED_PROPERTIES

Value: 390513439

When undeclared properties in the schema are present

Generated from protobuf enum UNDECLARED_PROPERTIES = 390513439;

UNREACHABLE

Value: 13328052

A given scope cannot be reached.

Generated from protobuf enum UNREACHABLE = 13328052;