This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project, feel free to reach out to us!

gcp_compute_route

ancestors

Type: UNORDERED_LIST_STRING

as_paths

Type: UNORDERED_LIST_STRUCT
Provider name: asPaths
Description: [Output Only] AS path.

  • as_lists
    Type: UNORDERED_LIST_INT32
    Provider name: asLists
    Description: [Output Only] The AS numbers of the AS Path.
  • path_segment_type
    Type: STRING
    Provider name: pathSegmentType
    Description: [Output Only] The type of the AS Path, which can be one of the following values: - ‘AS_SET’: unordered set of autonomous systems that the route in has traversed - ‘AS_SEQUENCE’: ordered set of autonomous systems that the route has traversed - ‘AS_CONFED_SEQUENCE’: ordered set of Member Autonomous Systems in the local confederation that the route has traversed - ‘AS_CONFED_SET’: unordered set of Member Autonomous Systems in the local confederation that the route has traversed
    Possible values:
    • AS_CONFED_SEQUENCE
    • AS_CONFED_SET
    • AS_SEQUENCE
    • AS_SET

creation_timestamp

Type: TIMESTAMP
Provider name: creationTimestamp
Description: [Output Only] Creation timestamp in RFC3339 text format.

description

Type: STRING
Provider name: description
Description: An optional description of this resource. Provide this field when you create the resource.

dest_range

Type: STRING
Provider name: destRange
Description: The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported.

id

Type: STRING
Provider name: id
Description: [Output Only] The unique identifier for the resource. This identifier is defined by the server.

kind

Type: STRING
Provider name: kind
Description: [Output Only] Type of this resource. Always compute#routes for Route resources.

labels

Type: UNORDERED_LIST_STRING

name

Type: STRING
Provider name: name
Description: Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.

network

Type: STRING
Provider name: network
Description: Fully-qualified URL of the network that this route applies to.

next_hop_gateway

Type: STRING
Provider name: nextHopGateway
Description: The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: projects/ project/global/gateways/default-internet-gateway

next_hop_hub

Type: STRING
Provider name: nextHopHub
Description: [Output Only] The full resource name of the Network Connectivity Center hub that will handle matching packets.

next_hop_ilb

Type: STRING
Provider name: nextHopIlb
Description: The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule

next_hop_instance

Type: STRING
Provider name: nextHopInstance
Description: The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/

next_hop_ip

Type: STRING
Provider name: nextHopIp
Description: The network IP address of an instance that should handle matching packets. Only IPv4 is supported.

next_hop_network

Type: STRING
Provider name: nextHopNetwork
Description: The URL of the local network if it should handle matching packets.

next_hop_peering

Type: STRING
Provider name: nextHopPeering
Description: [Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.

next_hop_vpn_tunnel

Type: STRING
Provider name: nextHopVpnTunnel
Description: The URL to a VpnTunnel that should handle matching packets.

organization_id

Type: STRING

parent

Type: STRING

priority

Type: INT32
Provider name: priority
Description: The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In cases where multiple routes have equal prefix length, the one with the lowest-numbered priority value wins. The default value is 1000. The priority value must be from 0 to 65535, inclusive.

project_id

Type: STRING

project_number

Type: STRING

resource_name

Type: STRING

route_status

Type: STRING
Provider name: routeStatus
Description: [Output only] The status of the route.
Possible values:

  • ACTIVE - This route is processed and active.
  • DROPPED - The route is dropped due to the VPC exceeding the dynamic route limit. For dynamic route limit, please refer to the Learned route example
  • INACTIVE - This route is processed but inactive due to failure from the backend. The backend may have rejected the route
  • PENDING - This route is being processed internally. The status will change once processed.

route_type

Type: STRING
Provider name: routeType
Description: [Output Only] The type of this route, which can be one of the following values: - ‘TRANSIT’ for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - ‘SUBNET’ for a route from a subnet of the VPC - ‘BGP’ for a route learned from a BGP peer of this router - ‘STATIC’ for a static route
Possible values:

  • BGP
  • STATIC
  • SUBNET
  • TRANSIT

Type: STRING
Provider name: selfLink
Description: [Output Only] Server-defined fully-qualified URL for this resource.

tags

Type: UNORDERED_LIST_STRING

warnings

Type: UNORDERED_LIST_STRUCT
Provider name: warnings
Description: [Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.

  • code
    Type: STRING
    Provider name: code
    Description: [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 values:
    • CLEANUP_FAILED - Warning about failed cleanup of transient changes made by a failed operation.
    • DEPRECATED_RESOURCE_USED - A link to a deprecated resource was created.
    • DEPRECATED_TYPE_USED - When deploying and at least one of the resources has a type marked as deprecated
    • DISK_SIZE_LARGER_THAN_IMAGE_SIZE - The user created a boot disk that is larger than image size.
    • EXPERIMENTAL_TYPE_USED - When deploying and at least one of the resources has a type marked as experimental
    • EXTERNAL_API_WARNING - Warning that is present in an external api call
    • FIELD_VALUE_OVERRIDEN - Warning that value of a field has been overridden. Deprecated unused field.
    • INJECTED_KERNELS_DEPRECATED - The operation involved use of an injected kernel, which is deprecated.
    • INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB - A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.
    • LARGE_DEPLOYMENT_WARNING - When deploying a deployment with a exceedingly large number of resources
    • LIST_OVERHEAD_QUOTA_EXCEED - 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 - A resource depends on a missing type
    • NEXT_HOP_ADDRESS_NOT_ASSIGNED - The route’s nextHopIp address is not assigned to an instance on the network.
    • NEXT_HOP_CANNOT_IP_FORWARD - The route’s next hop instance cannot ip forward.
    • NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE - 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 - The route’s nextHopInstance URL refers to an instance that does not exist.
    • NEXT_HOP_INSTANCE_NOT_ON_NETWORK - The route’s nextHopInstance URL refers to an instance that is not on the same network as the route.
    • NEXT_HOP_NOT_RUNNING - The route’s next hop instance does not have a status of RUNNING.
    • NOT_CRITICAL_ERROR - Error which is not critical. We decided to continue the process despite the mentioned error.
    • NO_RESULTS_ON_PAGE - No results are present on a particular list page.
    • PARTIAL_SUCCESS - Success is reported, but some results may be missing due to errors
    • REQUIRED_TOS_AGREEMENT - The user attempted to use a resource that requires a TOS they have not accepted.
    • RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING - Warning that a resource is in use.
    • RESOURCE_NOT_DELETED - One or more of the resources set to auto-delete could not be deleted because they were in use.
    • SCHEMA_VALIDATION_IGNORED - When a resource schema validation is ignored.
    • SINGLE_INSTANCE_PROPERTY_TEMPLATE - 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 - When undeclared properties in the schema are present
    • UNREACHABLE - A given scope cannot be reached.
  • data
    Type: UNORDERED_LIST_STRUCT
    Provider name: data
    Description: [Output Only] Metadata about this warning in key: value format. For example: “data”: [ { “key”: “scope”, “value”: “zones/us-east1-d” }
    • key
      Type: STRING
      Provider name: key
      Description: [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
    • value
      Type: STRING
      Provider name: value
      Description: [Output Only] A warning data value corresponding to the key.
  • message
    Type: STRING
    Provider name: message
    Description: [Output Only] A human-readable description of the warning code.