Class: Google::Cloud::Compute::V1::Router

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#bgp::Google::Cloud::Compute::V1::RouterBgp

Returns BGP information specific to this router.

Returns:



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.

Returns:

  • (::Array<::Google::Cloud::Compute::V1::RouterBgpPeer>)

    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.

Returns:

  • (::String)

    [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.

Returns:

  • (::String)

    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.

Returns:

  • (::Boolean)

    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.

Returns:

  • (::Integer)

    [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.

Returns:

  • (::Array<::Google::Cloud::Compute::V1::RouterInterface>)

    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.

Returns:

  • (::String)

    [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.

Returns:

  • (::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.



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.

Returns:



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.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    [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

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

Returns:

  • (::String)

    [Output Only] Server-defined URL for 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