google_api_compute v0.9.0 GoogleApi.Compute.V1.Model.Route View Source
Represents a Route resource. A route defines a path from VM instances in the VPC network to a specific destination. This destination can be inside or outside the VPC network. For more information, read the Routes overview. (== resource_for beta.routes ==) (== resource_for v1.routes ==)
Attributes
- tags ([String.t]): A list of instance tags to which this route applies. Defaults to:
null. - creationTimestamp (String.t): [Output Only] Creation timestamp in RFC3339 text format. Defaults to:
null. - description (String.t): An optional description of this resource. Provide this field when you create the resource. Defaults to:
null. - destRange (String.t): The destination range of outgoing packets that this route applies to. Only IPv4 is supported. Defaults to:
null. - id (String.t): [Output Only] The unique identifier for the resource. This identifier is defined by the server. Defaults to:
null. - kind (String.t): [Output Only] Type of this resource. Always compute#routes for Route resources. Defaults to:
null. - name (String.t): 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?`. 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. Defaults to:
null. - network (String.t): Fully-qualified URL of the network that this route applies to. Defaults to:
null. - nextHopGateway (String.t): 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 Defaults to:
null. - nextHopInstance (String.t): 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/ Defaults to:
null. - nextHopIp (String.t): The network IP address of an instance that should handle matching packets. Only IPv4 is supported. Defaults to:
null. - nextHopNetwork (String.t): The URL of the local network if it should handle matching packets. Defaults to:
null. - nextHopPeering (String.t): [Output Only] The network peering name that should handle matching packets, which should conform to RFC1035. Defaults to:
null. - nextHopVpnTunnel (String.t): The URL to a VpnTunnel that should handle matching packets. Defaults to:
null. - priority (integer()): 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. Defaults to:
null. - selfLink (String.t): [Output Only] Server-defined fully-qualified URL for this resource. Defaults to:
null. - warnings ([OperationWarnings]): [Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages. Defaults to:
null.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Compute.V1.Model.Route{
creationTimestamp: any(),
description: any(),
destRange: any(),
id: any(),
kind: any(),
name: any(),
network: any(),
nextHopGateway: any(),
nextHopInstance: any(),
nextHopIp: any(),
nextHopNetwork: any(),
nextHopPeering: any(),
nextHopVpnTunnel: any(),
priority: any(),
selfLink: any(),
tags: [any()],
warnings: [GoogleApi.Compute.V1.Model.OperationWarnings.t()]
}
t() :: %GoogleApi.Compute.V1.Model.Route{
creationTimestamp: any(),
description: any(),
destRange: any(),
id: any(),
kind: any(),
name: any(),
network: any(),
nextHopGateway: any(),
nextHopInstance: any(),
nextHopIp: any(),
nextHopNetwork: any(),
nextHopPeering: any(),
nextHopVpnTunnel: any(),
priority: any(),
selfLink: any(),
tags: [any()],
warnings: [GoogleApi.Compute.V1.Model.OperationWarnings.t()]
}
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.