View Source GoogleApi.NetworkConnectivity.V1.Model.Route (google_api_network_connectivity v0.4.0)

A route defines a path from VM instances within a spoke to a specific destination resource. Only VPC spokes have routes.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The time the route was created.
  • description (type: String.t, default: nil) - An optional description of the route.
  • ipCidrRange (type: String.t, default: nil) - The destination IP address range.
  • labels (type: map(), default: nil) - Optional labels in key-value pair format. For more information about labels, see Requirements for labels.
  • location (type: String.t, default: nil) - Output only. The origin location of the route. Uses the following form: "projects/{project}/locations/{location}" Example: projects/1234/locations/us-central1
  • name (type: String.t, default: nil) - Immutable. The name of the route. Route names must be unique. Route names use the following form: projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}/routes/{route_id}
  • nextHopVpcNetwork (type: GoogleApi.NetworkConnectivity.V1.Model.NextHopVpcNetwork.t, default: nil) - Immutable. The destination VPC network for packets on this route.
  • spoke (type: String.t, default: nil) - Immutable. The spoke that this route leads to. Example: projects/12345/locations/global/spokes/SPOKE
  • state (type: String.t, default: nil) - Output only. The current lifecycle state of the route.
  • type (type: String.t, default: nil) - Output only. The route's type. Its type is determined by the properties of its IP address range.
  • uid (type: String.t, default: nil) - Output only. The Google-generated UUID for the route. This value is unique across all Network Connectivity Center route resources. If a route is deleted and another with the same name is created, the new route is assigned a different uid.
  • updateTime (type: DateTime.t, default: nil) - Output only. The time the route was last updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.NetworkConnectivity.V1.Model.Route{
  createTime: DateTime.t() | nil,
  description: String.t() | nil,
  ipCidrRange: String.t() | nil,
  labels: map() | nil,
  location: String.t() | nil,
  name: String.t() | nil,
  nextHopVpcNetwork:
    GoogleApi.NetworkConnectivity.V1.Model.NextHopVpcNetwork.t() | nil,
  spoke: String.t() | nil,
  state: String.t() | nil,
  type: String.t() | nil,
  uid: String.t() | nil,
  updateTime: DateTime.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.