code property

String code
read / write

Output Only A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. Possible string values are:

  • "CLEANUP_FAILED"
  • "DEPRECATED_RESOURCE_USED"
  • "DEPRECATED_TYPE_USED"
  • "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
  • "EXPERIMENTAL_TYPE_USED"
  • "EXTERNAL_API_WARNING"
  • "FIELD_VALUE_OVERRIDEN"
  • "INJECTED_KERNELS_DEPRECATED"
  • "MISSING_TYPE_DEPENDENCY"
  • "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
  • "NEXT_HOP_CANNOT_IP_FORWARD"
  • "NEXT_HOP_INSTANCE_NOT_FOUND"
  • "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
  • "NEXT_HOP_NOT_RUNNING"
  • "NOT_CRITICAL_ERROR"
  • "NO_RESULTS_ON_PAGE"
  • "REQUIRED_TOS_AGREEMENT"
  • "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"
  • "RESOURCE_NOT_DELETED"
  • "SCHEMA_VALIDATION_IGNORED"
  • "SINGLE_INSTANCE_PROPERTY_TEMPLATE"
  • "UNDECLARED_PROPERTIES"
  • "UNREACHABLE"

Implementation

core.String code