Distributed Cloud Edge Network V1 API - Class Google::Cloud::EdgeNetwork::V1::Router (v0.3.0)

Reference documentation and code samples for the Distributed Cloud Edge Network V1 API class Google::Cloud::EdgeNetwork::V1::Router.

Message describing Router object

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bgp

def bgp() -> ::Google::Cloud::EdgeNetwork::V1::Router::Bgp
Returns

#bgp=

def bgp=(value) -> ::Google::Cloud::EdgeNetwork::V1::Router::Bgp
Parameter
Returns

#bgp_peer

def bgp_peer() -> ::Array<::Google::Cloud::EdgeNetwork::V1::Router::BgpPeer>
Returns

#bgp_peer=

def bgp_peer=(value) -> ::Array<::Google::Cloud::EdgeNetwork::V1::Router::BgpPeer>
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. A free-text description of the resource. Max length 1024 characters.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. A free-text description of the resource. Max length 1024 characters.
Returns
  • (::String) — Optional. A free-text description of the resource. Max length 1024 characters.

#interface

def interface() -> ::Array<::Google::Cloud::EdgeNetwork::V1::Router::Interface>
Returns

#interface=

def interface=(value) -> ::Array<::Google::Cloud::EdgeNetwork::V1::Router::Interface>
Parameter
Returns

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels associated with this resource.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Labels associated with this resource.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels associated with this resource.

#name

def name() -> ::String
Returns
  • (::String) — Required. The canonical resource name of the router.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The canonical resource name of the router.
Returns
  • (::String) — Required. The canonical resource name of the router.

#network

def network() -> ::String
Returns
  • (::String) — Required. The canonical name of the network to which this router belongs. The name is in the form of projects/{project}/locations/{location}/zones/{zone}/networks/{network}.

#network=

def network=(value) -> ::String
Parameter
  • value (::String) — Required. The canonical name of the network to which this router belongs. The name is in the form of projects/{project}/locations/{location}/zones/{zone}/networks/{network}.
Returns
  • (::String) — Required. The canonical name of the network to which this router belongs. The name is in the form of projects/{project}/locations/{location}/zones/{zone}/networks/{network}.

#route_advertisements

def route_advertisements() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. A list of CIDRs in IP/Length format to advertise northbound as static routes from this router.

#route_advertisements=

def route_advertisements=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. A list of CIDRs in IP/Length format to advertise northbound as static routes from this router.
Returns
  • (::Array<::String>) — Optional. A list of CIDRs in IP/Length format to advertise northbound as static routes from this router.

#state

def state() -> ::Google::Cloud::EdgeNetwork::V1::ResourceState
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns