Clean and regen docs (#401)
diff --git a/docs/dyn/compute_v1.routers.html b/docs/dyn/compute_v1.routers.html
index 3acd825..c6e9215 100644
--- a/docs/dyn/compute_v1.routers.html
+++ b/docs/dyn/compute_v1.routers.html
@@ -100,7 +100,7 @@
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#patch">patch(project, region, router, body)</a></code></p>
-<p class="firstline">Updates the specified Router resource with the data included in the request. This method supports patch semantics.</p>
+<p class="firstline">Patches the specified Router resource with the data included in the request. This method supports patch semantics.</p>
<p class="toc_element">
<code><a href="#preview">preview(project, region, router, body)</a></code></p>
<p class="firstline">Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router.</p>
@@ -144,7 +144,7 @@
"description": "A String", # An optional description of this resource. Provide this property when you create the resource.
"interfaces": [ # Router interfaces. Each interface requires either one linked resource (e.g. linkedVpnTunnel), or IP address and IP address range (e.g. ipRange), or both.
{
- "linkedVpnTunnel": "A String", # URI of linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource.
+ "linkedVpnTunnel": "A String", # URI of the linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource and it could either be a VPN Tunnel or an interconnect attachment.
"ipRange": "A String", # IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
"name": "A String", # Name of this interface entry. The name must be 1-63 characters long and comply with RFC1035.
},
@@ -279,7 +279,7 @@
"description": "A String", # An optional description of this resource. Provide this property when you create the resource.
"interfaces": [ # Router interfaces. Each interface requires either one linked resource (e.g. linkedVpnTunnel), or IP address and IP address range (e.g. ipRange), or both.
{
- "linkedVpnTunnel": "A String", # URI of linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource.
+ "linkedVpnTunnel": "A String", # URI of the linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource and it could either be a VPN Tunnel or an interconnect attachment.
"ipRange": "A String", # IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
"name": "A String", # Name of this interface entry. The name must be 1-63 characters long and comply with RFC1035.
},
@@ -373,6 +373,45 @@
"numLearnedRoutes": 42, # Number of routes learned from the remote BGP Peer.
},
],
+ "bestRoutesForRouter": [ # Best routes learned by this router.
+ { # Represents a Route resource. A route specifies how certain packets should be handled by the network. Routes are associated with instances by tags and the set of routes for a particular instance is called its routing table.
+ #
+ # For each packet leaving a instance, the system searches that instance's routing table for a single best matching route. Routes match packets by destination IP address, preferring smaller or more specific ranges over larger ones. If there is a tie, the system selects the route with the smallest priority value. If there is still a tie, it uses the layer three and four packet headers to select just one of the remaining matching routes. The packet is then forwarded as specified by the nextHop field of the winning route - either to another instance destination, an instance gateway, or a Google Compute Engine-operated gateway.
+ #
+ # Packets that do not match any route in the sending instance's routing table are dropped.
+ "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-id>/global/gateways/default-internet-gateway
+ "nextHopVpnTunnel": "A String", # The URL to a VpnTunnel that should handle matching packets.
+ "kind": "compute#route", # [Output Only] Type of this resource. Always compute#routes for Route resources.
+ "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])? 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.
+ "tags": [ # A list of instance tags to which this route applies.
+ "A String",
+ ],
+ "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:
+ # https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
+ "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 the case of two routes with equal prefix length, the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 through 65535.
+ "nextHopNetwork": "A String", # The URL of the local network if it should handle matching packets.
+ "network": "A String", # Fully-qualified URL of the network that this route applies to.
+ "selfLink": "A String", # [Output Only] Server-defined fully-qualified URL for this resource.
+ "warnings": [ # [Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
+ {
+ "message": "A String", # [Output Only] A human-readable description of the warning code.
+ "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.
+ "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
+ # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+ {
+ "value": "A String", # [Output Only] A warning data value corresponding to the key.
+ "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).
+ },
+ ],
+ },
+ ],
+ "destRange": "A String", # The destination range of outgoing packets that this route applies to. Only IPv4 is supported.
+ "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+ "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+ "nextHopIp": "A String", # The network IP address of an instance that should handle matching packets. Only IPv4 is supported.
+ "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
+ },
+ ],
"network": "A String", # URI of the network to which this router belongs.
"bestRoutes": [ # Best routes for this router's network.
{ # Represents a Route resource. A route specifies how certain packets should be handled by the network. Routes are associated with instances by tags and the set of routes for a particular instance is called its routing table.
@@ -432,7 +471,7 @@
"description": "A String", # An optional description of this resource. Provide this property when you create the resource.
"interfaces": [ # Router interfaces. Each interface requires either one linked resource (e.g. linkedVpnTunnel), or IP address and IP address range (e.g. ipRange), or both.
{
- "linkedVpnTunnel": "A String", # URI of linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource.
+ "linkedVpnTunnel": "A String", # URI of the linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource and it could either be a VPN Tunnel or an interconnect attachment.
"ipRange": "A String", # IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
"name": "A String", # Name of this interface entry. The name must be 1-63 characters long and comply with RFC1035.
},
@@ -544,7 +583,7 @@
"description": "A String", # An optional description of this resource. Provide this property when you create the resource.
"interfaces": [ # Router interfaces. Each interface requires either one linked resource (e.g. linkedVpnTunnel), or IP address and IP address range (e.g. ipRange), or both.
{
- "linkedVpnTunnel": "A String", # URI of linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource.
+ "linkedVpnTunnel": "A String", # URI of the linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource and it could either be a VPN Tunnel or an interconnect attachment.
"ipRange": "A String", # IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
"name": "A String", # Name of this interface entry. The name must be 1-63 characters long and comply with RFC1035.
},
@@ -592,12 +631,12 @@
<div class="method">
<code class="details" id="patch">patch(project, region, router, body)</code>
- <pre>Updates the specified Router resource with the data included in the request. This method supports patch semantics.
+ <pre>Patches the specified Router resource with the data included in the request. This method supports patch semantics.
Args:
project: string, Project ID for this request. (required)
region: string, Name of the region for this request. (required)
- router: string, Name of the Router resource to update. (required)
+ router: string, Name of the Router resource to patch. (required)
body: object, The request body. (required)
The object takes the form of:
@@ -606,7 +645,7 @@
"description": "A String", # An optional description of this resource. Provide this property when you create the resource.
"interfaces": [ # Router interfaces. Each interface requires either one linked resource (e.g. linkedVpnTunnel), or IP address and IP address range (e.g. ipRange), or both.
{
- "linkedVpnTunnel": "A String", # URI of linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource.
+ "linkedVpnTunnel": "A String", # URI of the linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource and it could either be a VPN Tunnel or an interconnect attachment.
"ipRange": "A String", # IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
"name": "A String", # Name of this interface entry. The name must be 1-63 characters long and comply with RFC1035.
},
@@ -699,7 +738,7 @@
"description": "A String", # An optional description of this resource. Provide this property when you create the resource.
"interfaces": [ # Router interfaces. Each interface requires either one linked resource (e.g. linkedVpnTunnel), or IP address and IP address range (e.g. ipRange), or both.
{
- "linkedVpnTunnel": "A String", # URI of linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource.
+ "linkedVpnTunnel": "A String", # URI of the linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource and it could either be a VPN Tunnel or an interconnect attachment.
"ipRange": "A String", # IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
"name": "A String", # Name of this interface entry. The name must be 1-63 characters long and comply with RFC1035.
},
@@ -735,7 +774,7 @@
"description": "A String", # An optional description of this resource. Provide this property when you create the resource.
"interfaces": [ # Router interfaces. Each interface requires either one linked resource (e.g. linkedVpnTunnel), or IP address and IP address range (e.g. ipRange), or both.
{
- "linkedVpnTunnel": "A String", # URI of linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource.
+ "linkedVpnTunnel": "A String", # URI of the linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource and it could either be a VPN Tunnel or an interconnect attachment.
"ipRange": "A String", # IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
"name": "A String", # Name of this interface entry. The name must be 1-63 characters long and comply with RFC1035.
},
@@ -779,7 +818,7 @@
"description": "A String", # An optional description of this resource. Provide this property when you create the resource.
"interfaces": [ # Router interfaces. Each interface requires either one linked resource (e.g. linkedVpnTunnel), or IP address and IP address range (e.g. ipRange), or both.
{
- "linkedVpnTunnel": "A String", # URI of linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource.
+ "linkedVpnTunnel": "A String", # URI of the linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource and it could either be a VPN Tunnel or an interconnect attachment.
"ipRange": "A String", # IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
"name": "A String", # Name of this interface entry. The name must be 1-63 characters long and comply with RFC1035.
},