Class Router
Represents a Cloud Router resource. For more information about Cloud Router, read the Cloud Router overview.
Implements
Inherited Members
Namespace: Google.Apis.Compute.v1.Data
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class Router : IDirectResponseSchema
Properties
Bgp
BGP information specific to this router.
Declaration
[JsonProperty("bgp")]
public virtual RouterBgp Bgp { get; set; }
Property Value
Type | Description |
---|---|
RouterBgp |
BgpPeers
BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.
Declaration
[JsonProperty("bgpPeers")]
public virtual IList<RouterBgpPeer> BgpPeers { get; set; }
Property Value
Type | Description |
---|---|
IList<RouterBgpPeer> |
CreationTimestamp
[Output Only] Creation timestamp in RFC3339 text format.
Declaration
[JsonProperty("creationTimestamp")]
public virtual string CreationTimestamp { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
An optional description of this resource. Provide this property when you create the resource.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EncryptedInterconnectRouter
Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).
Declaration
[JsonProperty("encryptedInterconnectRouter")]
public virtual bool? EncryptedInterconnectRouter { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Id
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
Declaration
[JsonProperty("id")]
public virtual ulong? Id { get; set; }
Property Value
Type | Description |
---|---|
ulong? |
Interfaces
Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
Declaration
[JsonProperty("interfaces")]
public virtual IList<RouterInterface> Interfaces { get; set; }
Property Value
Type | Description |
---|---|
IList<RouterInterface> |
Kind
[Output Only] Type of resource. Always compute#router for routers.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Md5AuthenticationKeys
Keys used for MD5 authentication.
Declaration
[JsonProperty("md5AuthenticationKeys")]
public virtual IList<RouterMd5AuthenticationKey> Md5AuthenticationKeys { get; set; }
Property Value
Type | Description |
---|---|
IList<RouterMd5AuthenticationKey> |
Name
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.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Nats
A list of NAT services created in this router.
Declaration
[JsonProperty("nats")]
public virtual IList<RouterNat> Nats { get; set; }
Property Value
Type | Description |
---|---|
IList<RouterNat> |
Network
URI of the network to which this router belongs.
Declaration
[JsonProperty("network")]
public virtual string Network { get; set; }
Property Value
Type | Description |
---|---|
string |
Region
[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.
Declaration
[JsonProperty("region")]
public virtual string Region { get; set; }
Property Value
Type | Description |
---|---|
string |
SelfLink
[Output Only] Server-defined URL for the resource.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type | Description |
---|---|
string |