Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::QuotaStatusWarning::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.
Constants
UNDEFINED_CODE
value: 0 A value indicating that the enum field is not set.
CLEANUP_FAILED
value: 150_308_440 Warning about failed cleanup of transient changes made by a failed operation.
DEPRECATED_RESOURCE_USED
value: 391_835_586 A link to a deprecated resource was created.
DEPRECATED_TYPE_USED
value: 346_526_230 When deploying and at least one of the resources has a type marked as deprecated
DISK_SIZE_LARGER_THAN_IMAGE_SIZE
value: 369_442_967 The user created a boot disk that is larger than image size.
EXPERIMENTAL_TYPE_USED
value: 451_954_443 When deploying and at least one of the resources has a type marked as experimental
EXTERNAL_API_WARNING
value: 175_546_307 Warning that is present in an external api call
FIELD_VALUE_OVERRIDEN
value: 329_669_423 Warning that value of a field has been overridden. Deprecated unused field.
INJECTED_KERNELS_DEPRECATED
value: 417_377_419 The operation involved use of an injected kernel, which is deprecated.
INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB
value: 401_542_606 A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.
LARGE_DEPLOYMENT_WARNING
value: 481_440_678 When deploying a deployment with a exceedingly large number of resources
LIST_OVERHEAD_QUOTA_EXCEED
value: 47_618_117 Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.
MISSING_TYPE_DEPENDENCY
value: 344_505_463 A resource depends on a missing type
NEXT_HOP_ADDRESS_NOT_ASSIGNED
value: 324_964_999 The route's nextHopIp address is not assigned to an instance on the network.
NEXT_HOP_CANNOT_IP_FORWARD
value: 383_382_887 The route's next hop instance cannot ip forward.
NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE
value: 146_748_434 The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.
NEXT_HOP_INSTANCE_NOT_FOUND
value: 464_250_446 The route's nextHopInstance URL refers to an instance that does not exist.
NEXT_HOP_INSTANCE_NOT_ON_NETWORK
value: 243_758_146 The route's nextHopInstance URL refers to an instance that is not on the same network as the route.
NEXT_HOP_NOT_RUNNING
value: 417_081_265 The route's next hop instance does not have a status of RUNNING.
NOT_CRITICAL_ERROR
value: 105_763_924 Error which is not critical. We decided to continue the process despite the mentioned error.
NO_RESULTS_ON_PAGE
value: 30_036_744 No results are present on a particular list page.
PARTIAL_SUCCESS
value: 39_966_469 Success is reported, but some results may be missing due to errors
QUOTA_INFO_UNAVAILABLE
value: 304_294_182 Quota information is not available to client requests (e.g: regions.list).
REQUIRED_TOS_AGREEMENT
value: 3_745_539 The user attempted to use a resource that requires a TOS they have not accepted.
RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING
value: 496_728_641 Warning that a resource is in use.
RESOURCE_NOT_DELETED
value: 168_598_460 One or more of the resources set to auto-delete could not be deleted because they were in use.
SCHEMA_VALIDATION_IGNORED
value: 275_245_642 When a resource schema validation is ignored.
SINGLE_INSTANCE_PROPERTY_TEMPLATE
value: 268_305_617 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.
UNDECLARED_PROPERTIES
value: 390_513_439 When undeclared properties in the schema are present
UNREACHABLE
value: 13_328_052 A given scope cannot be reached.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::QuotaStatusWarning::Code (v3.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.0.0 (latest)](/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.22.0](/ruby/docs/reference/google-cloud-compute-v1/2.22.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.21.1](/ruby/docs/reference/google-cloud-compute-v1/2.21.1/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.20.0](/ruby/docs/reference/google-cloud-compute-v1/2.20.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.19.1](/ruby/docs/reference/google-cloud-compute-v1/2.19.1/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.18.0](/ruby/docs/reference/google-cloud-compute-v1/2.18.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.17.0](/ruby/docs/reference/google-cloud-compute-v1/2.17.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.16.0](/ruby/docs/reference/google-cloud-compute-v1/2.16.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.15.0](/ruby/docs/reference/google-cloud-compute-v1/2.15.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.14.0](/ruby/docs/reference/google-cloud-compute-v1/2.14.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.13.0](/ruby/docs/reference/google-cloud-compute-v1/2.13.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.12.0](/ruby/docs/reference/google-cloud-compute-v1/2.12.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.11.0](/ruby/docs/reference/google-cloud-compute-v1/2.11.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.10.0](/ruby/docs/reference/google-cloud-compute-v1/2.10.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.9.0](/ruby/docs/reference/google-cloud-compute-v1/2.9.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.8.0](/ruby/docs/reference/google-cloud-compute-v1/2.8.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.7.2](/ruby/docs/reference/google-cloud-compute-v1/2.7.2/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.6.0](/ruby/docs/reference/google-cloud-compute-v1/2.6.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.5.0](/ruby/docs/reference/google-cloud-compute-v1/2.5.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.4.0](/ruby/docs/reference/google-cloud-compute-v1/2.4.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.3.0](/ruby/docs/reference/google-cloud-compute-v1/2.3.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.2.0](/ruby/docs/reference/google-cloud-compute-v1/2.2.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.1.0](/ruby/docs/reference/google-cloud-compute-v1/2.1.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [2.0.0](/ruby/docs/reference/google-cloud-compute-v1/2.0.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [1.10.0](/ruby/docs/reference/google-cloud-compute-v1/1.10.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [1.9.0](/ruby/docs/reference/google-cloud-compute-v1/1.9.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [1.8.0](/ruby/docs/reference/google-cloud-compute-v1/1.8.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [1.7.1](/ruby/docs/reference/google-cloud-compute-v1/1.7.1/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [1.6.0](/ruby/docs/reference/google-cloud-compute-v1/1.6.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [1.5.0](/ruby/docs/reference/google-cloud-compute-v1/1.5.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [1.4.0](/ruby/docs/reference/google-cloud-compute-v1/1.4.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [1.3.0](/ruby/docs/reference/google-cloud-compute-v1/1.3.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [1.2.0](/ruby/docs/reference/google-cloud-compute-v1/1.2.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [1.1.0](/ruby/docs/reference/google-cloud-compute-v1/1.1.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [1.0.0](/ruby/docs/reference/google-cloud-compute-v1/1.0.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code)\n- [0.5.0](/ruby/docs/reference/google-cloud-compute-v1/0.5.0/Google-Cloud-Compute-V1-QuotaStatusWarning-Code) \nReference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::QuotaStatusWarning::Code.\n\n\\[Output Only\\] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.\n\nConstants\n---------\n\n### UNDEFINED_CODE\n\n**value:** 0 \nA value indicating that the enum field is not set.\n\n### CLEANUP_FAILED\n\n**value:** 150_308_440 \nWarning about failed cleanup of transient changes made by a failed operation.\n\n### DEPRECATED_RESOURCE_USED\n\n**value:** 391_835_586 \nA link to a deprecated resource was created.\n\n### DEPRECATED_TYPE_USED\n\n**value:** 346_526_230 \nWhen deploying and at least one of the resources has a type marked as deprecated\n\n### DISK_SIZE_LARGER_THAN_IMAGE_SIZE\n\n**value:** 369_442_967 \nThe user created a boot disk that is larger than image size.\n\n### EXPERIMENTAL_TYPE_USED\n\n**value:** 451_954_443 \nWhen deploying and at least one of the resources has a type marked as experimental\n\n### EXTERNAL_API_WARNING\n\n**value:** 175_546_307 \nWarning that is present in an external api call\n\n### FIELD_VALUE_OVERRIDEN\n\n**value:** 329_669_423 \nWarning that value of a field has been overridden. Deprecated unused field.\n\n### INJECTED_KERNELS_DEPRECATED\n\n**value:** 417_377_419 \nThe operation involved use of an injected kernel, which is deprecated.\n\n### INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB\n\n**value:** 401_542_606 \nA WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.\n\n### LARGE_DEPLOYMENT_WARNING\n\n**value:** 481_440_678 \nWhen deploying a deployment with a exceedingly large number of resources\n\n### LIST_OVERHEAD_QUOTA_EXCEED\n\n**value:** 47_618_117 \nResource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.\n\n### MISSING_TYPE_DEPENDENCY\n\n**value:** 344_505_463 \nA resource depends on a missing type\n\n### NEXT_HOP_ADDRESS_NOT_ASSIGNED\n\n**value:** 324_964_999 \nThe route's nextHopIp address is not assigned to an instance on the network.\n\n### NEXT_HOP_CANNOT_IP_FORWARD\n\n**value:** 383_382_887 \nThe route's next hop instance cannot ip forward.\n\n### NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE\n\n**value:** 146_748_434 \nThe route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.\n\n### NEXT_HOP_INSTANCE_NOT_FOUND\n\n**value:** 464_250_446 \nThe route's nextHopInstance URL refers to an instance that does not exist.\n\n### NEXT_HOP_INSTANCE_NOT_ON_NETWORK\n\n**value:** 243_758_146 \nThe route's nextHopInstance URL refers to an instance that is not on the same network as the route.\n\n### NEXT_HOP_NOT_RUNNING\n\n**value:** 417_081_265 \nThe route's next hop instance does not have a status of RUNNING.\n\n### NOT_CRITICAL_ERROR\n\n**value:** 105_763_924 \nError which is not critical. We decided to continue the process despite the mentioned error.\n\n### NO_RESULTS_ON_PAGE\n\n**value:** 30_036_744 \nNo results are present on a particular list page.\n\n### PARTIAL_SUCCESS\n\n**value:** 39_966_469 \nSuccess is reported, but some results may be missing due to errors\n\n### QUOTA_INFO_UNAVAILABLE\n\n**value:** 304_294_182 \nQuota information is not available to client requests (e.g: regions.list).\n\n### REQUIRED_TOS_AGREEMENT\n\n**value:** 3_745_539 \nThe user attempted to use a resource that requires a TOS they have not accepted.\n\n### RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING\n\n**value:** 496_728_641 \nWarning that a resource is in use.\n\n### RESOURCE_NOT_DELETED\n\n**value:** 168_598_460 \nOne or more of the resources set to auto-delete could not be deleted because they were in use.\n\n### SCHEMA_VALIDATION_IGNORED\n\n**value:** 275_245_642 \nWhen a resource schema validation is ignored.\n\n### SINGLE_INSTANCE_PROPERTY_TEMPLATE\n\n**value:** 268_305_617 \nInstance 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.\n\n### UNDECLARED_PROPERTIES\n\n**value:** 390_513_439 \nWhen undeclared properties in the schema are present\n\n### UNREACHABLE\n\n**value:** 13_328_052 \nA given scope cannot be reached."]]