1<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5  margin: 0;
6  padding: 0;
7  border: 0;
8  font-weight: inherit;
9  font-style: inherit;
10  font-size: 100%;
11  font-family: inherit;
12  vertical-align: baseline;
13}
14
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50  border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54  margin-top: 0.5em;
55}
56
57.firstline {
58  margin-left: 2 em;
59}
60
61.method  {
62  margin-top: 1em;
63  border: solid 1px #CCC;
64  padding: 1em;
65  background: #EEE;
66}
67
68.details {
69  font-weight: bold;
70  font-size: 14px;
71}
72
73</style>
74
75<h1><a href="compute_beta.html">Compute Engine API</a> . <a href="compute_beta.routes.html">routes</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#delete">delete(project, route, requestId=None)</a></code></p>
79<p class="firstline">Deletes the specified Route resource.</p>
80<p class="toc_element">
81  <code><a href="#get">get(project, route)</a></code></p>
82<p class="firstline">Returns the specified Route resource. Gets a list of available routes by making a list() request.</p>
83<p class="toc_element">
84  <code><a href="#insert">insert(project, body, requestId=None)</a></code></p>
85<p class="firstline">Creates a Route resource in the specified project using the data included in the request.</p>
86<p class="toc_element">
87  <code><a href="#list">list(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</a></code></p>
88<p class="firstline">Retrieves the list of Route resources available to the specified project.</p>
89<p class="toc_element">
90  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
91<p class="firstline">Retrieves the next page of results.</p>
92<p class="toc_element">
93  <code><a href="#testIamPermissions">testIamPermissions(project, resource, body)</a></code></p>
94<p class="firstline">Returns permissions that a caller has on the specified resource.</p>
95<h3>Method Details</h3>
96<div class="method">
97    <code class="details" id="delete">delete(project, route, requestId=None)</code>
98  <pre>Deletes the specified Route resource.
99
100Args:
101  project: string, Project ID for this request. (required)
102  route: string, Name of the Route resource to delete. (required)
103  requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
104
105For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
106
107The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
108
109Returns:
110  An object of the form:
111
112    { # Represents an Operation resource.
113      #
114      # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
115      #
116      # Operations can be global, regional or zonal.
117      # - For global operations, use the globalOperations resource.
118      # - For regional operations, use the regionOperations resource.
119      # - For zonal operations, use the zonalOperations resource.
120      #
121      # For more information, read  Global, Regional, and Zonal Resources. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)
122    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
123    "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
124    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
125    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
126    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
127    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
128    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
129    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
130    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
131    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.
132    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
133    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
134    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
135    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
136      {
137        "message": "A String", # [Output Only] A human-readable description of the warning code.
138        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
139        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
140            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
141          {
142            "value": "A String", # [Output Only] A warning data value corresponding to the key.
143            "key": "A String", # [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).
144          },
145        ],
146      },
147    ],
148    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
149    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
150    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
151    "name": "A String", # [Output Only] Name of the resource.
152    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
153    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
154      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
155        {
156          "message": "A String", # [Output Only] An optional, human-readable error message.
157          "code": "A String", # [Output Only] The error type identifier for this error.
158          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
159        },
160      ],
161    },
162    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
163    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
164    "targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
165  }</pre>
166</div>
167
168<div class="method">
169    <code class="details" id="get">get(project, route)</code>
170  <pre>Returns the specified Route resource. Gets a list of available routes by making a list() request.
171
172Args:
173  project: string, Project ID for this request. (required)
174  route: string, Name of the Route resource to return. (required)
175
176Returns:
177  An object of the form:
178
179    { # Represents a Route resource.
180      #
181      # 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 ==)
182    "nextHopGateway": "A String", # 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
183    "nextHopVpnTunnel": "A String", # The URL to a VpnTunnel that should handle matching packets.
184    "kind": "compute#route", # [Output Only] Type of this resource. Always compute#routes for Route resources.
185    "name": "A String", # 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.
186    "tags": [ # A list of instance tags to which this route applies.
187      "A String",
188    ],
189    "nextHopIlb": "A String", # The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets. You can only specify the forwarding rule as a partial or full URL. For example, the following are all valid URLs:
190        # - https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
191        # - regions/region/forwardingRules/forwardingRule  Note that this can only be used when the destination_range is a public (non-RFC 1918) IP CIDR range.
192    "nextHopInstance": "A String", # The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example:
193        # https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
194    "priority": 42, # 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.
195    "nextHopPeering": "A String", # [Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
196    "nextHopNetwork": "A String", # The URL of the local network if it should handle matching packets.
197    "network": "A String", # Fully-qualified URL of the network that this route applies to.
198    "nextHopIp": "A String", # The network IP address of an instance that should handle matching packets. Only IPv4 is supported.
199    "warnings": [ # [Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
200      {
201        "message": "A String", # [Output Only] A human-readable description of the warning code.
202        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
203        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
204            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
205          {
206            "value": "A String", # [Output Only] A warning data value corresponding to the key.
207            "key": "A String", # [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).
208          },
209        ],
210      },
211    ],
212    "selfLink": "A String", # [Output Only] Server-defined fully-qualified URL for this resource.
213    "destRange": "A String", # The destination range of outgoing packets that this route applies to. Only IPv4 is supported.
214    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
215    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
216    "nextHopInterconnectAttachment": "A String", # [Output Only] The URL to an InterconnectAttachment which is the next hop for the route. This field will only be populated for the dynamic routes generated by Cloud Router with a linked interconnectAttachment.
217    "description": "A String", # An optional description of this resource. Provide this field when you create the resource.
218  }</pre>
219</div>
220
221<div class="method">
222    <code class="details" id="insert">insert(project, body, requestId=None)</code>
223  <pre>Creates a Route resource in the specified project using the data included in the request.
224
225Args:
226  project: string, Project ID for this request. (required)
227  body: object, The request body. (required)
228    The object takes the form of:
229
230{ # Represents a Route resource.
231    #
232    # 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 ==)
233  "nextHopGateway": "A String", # 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
234  "nextHopVpnTunnel": "A String", # The URL to a VpnTunnel that should handle matching packets.
235  "kind": "compute#route", # [Output Only] Type of this resource. Always compute#routes for Route resources.
236  "name": "A String", # 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.
237  "tags": [ # A list of instance tags to which this route applies.
238    "A String",
239  ],
240  "nextHopIlb": "A String", # The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets. You can only specify the forwarding rule as a partial or full URL. For example, the following are all valid URLs:
241      # - https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
242      # - regions/region/forwardingRules/forwardingRule  Note that this can only be used when the destination_range is a public (non-RFC 1918) IP CIDR range.
243  "nextHopInstance": "A String", # The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example:
244      # https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
245  "priority": 42, # 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.
246  "nextHopPeering": "A String", # [Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
247  "nextHopNetwork": "A String", # The URL of the local network if it should handle matching packets.
248  "network": "A String", # Fully-qualified URL of the network that this route applies to.
249  "nextHopIp": "A String", # The network IP address of an instance that should handle matching packets. Only IPv4 is supported.
250  "warnings": [ # [Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
251    {
252      "message": "A String", # [Output Only] A human-readable description of the warning code.
253      "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
254      "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
255          # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
256        {
257          "value": "A String", # [Output Only] A warning data value corresponding to the key.
258          "key": "A String", # [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).
259        },
260      ],
261    },
262  ],
263  "selfLink": "A String", # [Output Only] Server-defined fully-qualified URL for this resource.
264  "destRange": "A String", # The destination range of outgoing packets that this route applies to. Only IPv4 is supported.
265  "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
266  "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
267  "nextHopInterconnectAttachment": "A String", # [Output Only] The URL to an InterconnectAttachment which is the next hop for the route. This field will only be populated for the dynamic routes generated by Cloud Router with a linked interconnectAttachment.
268  "description": "A String", # An optional description of this resource. Provide this field when you create the resource.
269}
270
271  requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
272
273For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
274
275The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
276
277Returns:
278  An object of the form:
279
280    { # Represents an Operation resource.
281      #
282      # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
283      #
284      # Operations can be global, regional or zonal.
285      # - For global operations, use the globalOperations resource.
286      # - For regional operations, use the regionOperations resource.
287      # - For zonal operations, use the zonalOperations resource.
288      #
289      # For more information, read  Global, Regional, and Zonal Resources. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)
290    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
291    "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
292    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
293    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
294    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
295    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
296    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
297    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
298    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
299    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.
300    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
301    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
302    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
303    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
304      {
305        "message": "A String", # [Output Only] A human-readable description of the warning code.
306        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
307        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
308            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
309          {
310            "value": "A String", # [Output Only] A warning data value corresponding to the key.
311            "key": "A String", # [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).
312          },
313        ],
314      },
315    ],
316    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
317    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
318    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
319    "name": "A String", # [Output Only] Name of the resource.
320    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
321    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
322      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
323        {
324          "message": "A String", # [Output Only] An optional, human-readable error message.
325          "code": "A String", # [Output Only] The error type identifier for this error.
326          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
327        },
328      ],
329    },
330    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
331    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
332    "targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
333  }</pre>
334</div>
335
336<div class="method">
337    <code class="details" id="list">list(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</code>
338  <pre>Retrieves the list of Route resources available to the specified project.
339
340Args:
341  project: string, Project ID for this request. (required)
342  orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
343
344You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
345
346Currently, only sorting by name or creationTimestamp desc is supported.
347  maxResults: integer, The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
348  pageToken: string, Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
349  filter: string, A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
350
351For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
352
353You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
354
355To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
356
357Returns:
358  An object of the form:
359
360    { # Contains a list of Route resources.
361    "nextPageToken": "A String", # [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
362    "kind": "compute#routeList", # Type of resource.
363    "items": [ # A list of Route resources.
364      { # Represents a Route resource.
365          #
366          # 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 ==)
367        "nextHopGateway": "A String", # 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
368        "nextHopVpnTunnel": "A String", # The URL to a VpnTunnel that should handle matching packets.
369        "kind": "compute#route", # [Output Only] Type of this resource. Always compute#routes for Route resources.
370        "name": "A String", # 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.
371        "tags": [ # A list of instance tags to which this route applies.
372          "A String",
373        ],
374        "nextHopIlb": "A String", # The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets. You can only specify the forwarding rule as a partial or full URL. For example, the following are all valid URLs:
375            # - https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
376            # - regions/region/forwardingRules/forwardingRule  Note that this can only be used when the destination_range is a public (non-RFC 1918) IP CIDR range.
377        "nextHopInstance": "A String", # The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example:
378            # https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
379        "priority": 42, # 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.
380        "nextHopPeering": "A String", # [Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.
381        "nextHopNetwork": "A String", # The URL of the local network if it should handle matching packets.
382        "network": "A String", # Fully-qualified URL of the network that this route applies to.
383        "nextHopIp": "A String", # The network IP address of an instance that should handle matching packets. Only IPv4 is supported.
384        "warnings": [ # [Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
385          {
386            "message": "A String", # [Output Only] A human-readable description of the warning code.
387            "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
388            "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
389                # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
390              {
391                "value": "A String", # [Output Only] A warning data value corresponding to the key.
392                "key": "A String", # [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).
393              },
394            ],
395          },
396        ],
397        "selfLink": "A String", # [Output Only] Server-defined fully-qualified URL for this resource.
398        "destRange": "A String", # The destination range of outgoing packets that this route applies to. Only IPv4 is supported.
399        "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
400        "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
401        "nextHopInterconnectAttachment": "A String", # [Output Only] The URL to an InterconnectAttachment which is the next hop for the route. This field will only be populated for the dynamic routes generated by Cloud Router with a linked interconnectAttachment.
402        "description": "A String", # An optional description of this resource. Provide this field when you create the resource.
403      },
404    ],
405    "warning": { # [Output Only] Informational warning message.
406      "message": "A String", # [Output Only] A human-readable description of the warning code.
407      "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
408      "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
409          # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
410        {
411          "value": "A String", # [Output Only] A warning data value corresponding to the key.
412          "key": "A String", # [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).
413        },
414      ],
415    },
416    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
417    "selfLink": "A String", # [Output Only] Server-defined URL for this resource.
418  }</pre>
419</div>
420
421<div class="method">
422    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
423  <pre>Retrieves the next page of results.
424
425Args:
426  previous_request: The request for the previous page. (required)
427  previous_response: The response from the request for the previous page. (required)
428
429Returns:
430  A request object that you can call 'execute()' on to request the next
431  page. Returns None if there are no more items in the collection.
432    </pre>
433</div>
434
435<div class="method">
436    <code class="details" id="testIamPermissions">testIamPermissions(project, resource, body)</code>
437  <pre>Returns permissions that a caller has on the specified resource.
438
439Args:
440  project: string, Project ID for this request. (required)
441  resource: string, Name or id of the resource for this request. (required)
442  body: object, The request body. (required)
443    The object takes the form of:
444
445{
446    "permissions": [ # The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
447      "A String",
448    ],
449  }
450
451
452Returns:
453  An object of the form:
454
455    {
456    "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
457      "A String",
458    ],
459  }</pre>
460</div>
461
462</body></html>