REST Resource: projects.locations.privateConnections.routes

Resource: Route

The route resource is the child of the private connection resource, used for defining a route for a private connection.

JSON representation
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "labels": {
    string: string,
    ...
  },
  "displayName": string,
  "destinationAddress": string,
  "destinationPort": integer
}
Fields
name

string

Output only. The resource's name.

createTime

string (Timestamp format)

Output only. The create time of the resource.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. The update time of the resource.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

labels

map (key: string, value: string)

Labels.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

displayName

string

Required. Display name.

destinationAddress

string

Required. Destination address for connection

destinationPort

integer

Destination port for connection

Methods

create

Use this method to create a route for a private connectivity configuration in a project and location.

delete

Use this method to delete a route.

get

Use this method to get details about a route.

list

Use this method to list routes created for a private connectivity configuration in a project and location.