v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-131,0021,0174.3 MB
routers

Preview fields auto-generated during router create andupdate operations. Calling this method does NOT create or update the router.

post/projects/{project}/regions/{region}/routers/{router}/preview

Path parameters

projectstring required

Project ID for this request.

regionstring required

Name of the region for this request.

routerstring required

Name of the Router resource to query.

Request body

creationTimestampstring

Output only. [Output Only] Creation timestamp inRFC3339 text format.

encryptedInterconnectRouterboolean

Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).

descriptionstring

An optional description of this resource. Provide this property when you create the resource.

regionstring

[Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

kindstring

Output only. [Output Only] Type of resource. Always compute#router for routers.

namestring

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

idstring uint64

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

nccGatewaystring

URI of the ncc_gateway to which this router associated.

networkstring

URI of the network to which this router belongs.

selfLinkstring

[Output Only] Server-defined URL for the resource.

Response

Successful response