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:



27166
27167
27168
27169
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27166

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.



27166
27167
27168
27169
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27166

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.



27166
27167
27168
27169
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27166

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.



27166
27167
27168
27169
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27166

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

Returns:

  • (::Boolean)

    Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).



27166
27167
27168
27169
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27166

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.



27166
27167
27168
27169
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27166

class Router
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#interfaces::Array<::Google::Cloud::Compute::V1::RouterInterface>

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

Returns:

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

    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.



27166
27167
27168
27169
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27166

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.



27166
27167
27168
27169
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27166

class Router
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#md5_authentication_keys::Array<::Google::Cloud::Compute::V1::RouterMd5AuthenticationKey>

Returns Keys used for MD5 authentication.

Returns:



27166
27167
27168
27169
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27166

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.



27166
27167
27168
27169
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27166

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:



27166
27167
27168
27169
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27166

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.



27166
27167
27168
27169
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27166

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.



27166
27167
27168
27169
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27166

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.



27166
27167
27168
27169
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27166

class Router
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end