Class: Google::Cloud::Compute::V1::Router
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::Router
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Overview
Represents a Cloud Router resource. For more information about Cloud Router, read the Cloud Router overview.
Instance Attribute Summary collapse
-
#bgp ⇒ ::Google::Cloud::Compute::V1::RouterBgp
BGP information specific to this router.
-
#bgp_peers ⇒ ::Array<::Google::Cloud::Compute::V1::RouterBgpPeer>
BGP information that must be configured into the routing stack to establish BGP peering.
-
#creation_timestamp ⇒ ::String
[Output Only] Creation timestamp in RFC3339 text format.
-
#description ⇒ ::String
An optional description of this resource.
-
#encrypted_interconnect_router ⇒ ::Boolean
Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).
-
#id ⇒ ::Integer
[Output Only] The unique identifier for the resource.
-
#interfaces ⇒ ::Array<::Google::Cloud::Compute::V1::RouterInterface>
Router interfaces.
-
#kind ⇒ ::String
[Output Only] Type of resource.
-
#name ⇒ ::String
Name of the resource.
-
#nats ⇒ ::Array<::Google::Cloud::Compute::V1::RouterNat>
A list of NAT services created in this router.
-
#network ⇒ ::String
URI of the network to which this router belongs.
-
#region ⇒ ::String
[Output Only] URI of the region where the router resides.
-
#self_link ⇒ ::String
[Output Only] Server-defined URL for the resource.
Instance Attribute Details
#bgp ⇒ ::Google::Cloud::Compute::V1::RouterBgp
Returns BGP information specific to this router.
21206 21207 21208 21209 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21206 class Router include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#bgp_peers ⇒ ::Array<::Google::Cloud::Compute::V1::RouterBgpPeer>
Returns 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.
21206 21207 21208 21209 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21206 class Router include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#creation_timestamp ⇒ ::String
Returns [Output Only] Creation timestamp in RFC3339 text format.
21206 21207 21208 21209 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21206 class Router include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#description ⇒ ::String
Returns An optional description of this resource. Provide this property when you create the resource.
21206 21207 21208 21209 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21206 class Router include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#encrypted_interconnect_router ⇒ ::Boolean
Returns Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments). Not currently available publicly.
21206 21207 21208 21209 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21206 class Router include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#id ⇒ ::Integer
Returns [Output Only] The unique identifier for the resource. This identifier is defined by the server.
21206 21207 21208 21209 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21206 class Router include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#interfaces ⇒ ::Array<::Google::Cloud::Compute::V1::RouterInterface>
Returns Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
21206 21207 21208 21209 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21206 class Router include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#kind ⇒ ::String
Returns [Output Only] Type of resource. Always compute#router for routers.
21206 21207 21208 21209 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21206 class Router include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns 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.
21206 21207 21208 21209 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21206 class Router include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#nats ⇒ ::Array<::Google::Cloud::Compute::V1::RouterNat>
Returns A list of NAT services created in this router.
21206 21207 21208 21209 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21206 class Router include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#network ⇒ ::String
Returns URI of the network to which this router belongs.
21206 21207 21208 21209 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21206 class Router include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#region ⇒ ::String
Returns [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.
21206 21207 21208 21209 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21206 class Router include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |