Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::RouterStatusBgpPeerStatus (v1.4.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::RouterStatusBgpPeerStatus.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#advertised_routes

def advertised_routes() -> ::Array<::Google::Cloud::Compute::V1::Route>
Returns

#advertised_routes=

def advertised_routes=(value) -> ::Array<::Google::Cloud::Compute::V1::Route>
Parameter
Returns

#bfd_status

def bfd_status() -> ::Google::Cloud::Compute::V1::BfdStatus

#bfd_status=

def bfd_status=(value) -> ::Google::Cloud::Compute::V1::BfdStatus

#ip_address

def ip_address() -> ::String
Returns
  • (::String) — IP address of the local BGP interface.

#ip_address=

def ip_address=(value) -> ::String
Parameter
  • value (::String) — IP address of the local BGP interface.
Returns
  • (::String) — IP address of the local BGP interface.

#linked_vpn_tunnel

def linked_vpn_tunnel() -> ::String
Returns
  • (::String) — URL of the VPN tunnel that this BGP peer controls.

#linked_vpn_tunnel=

def linked_vpn_tunnel=(value) -> ::String
Parameter
  • value (::String) — URL of the VPN tunnel that this BGP peer controls.
Returns
  • (::String) — URL of the VPN tunnel that this BGP peer controls.

#name

def name() -> ::String
Returns
  • (::String) — Name of this BGP peer. Unique within the Routers resource.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Name of this BGP peer. Unique within the Routers resource.
Returns
  • (::String) — Name of this BGP peer. Unique within the Routers resource.

#num_learned_routes

def num_learned_routes() -> ::Integer
Returns
  • (::Integer) — Number of routes learned from the remote BGP Peer.

#num_learned_routes=

def num_learned_routes=(value) -> ::Integer
Parameter
  • value (::Integer) — Number of routes learned from the remote BGP Peer.
Returns
  • (::Integer) — Number of routes learned from the remote BGP Peer.

#peer_ip_address

def peer_ip_address() -> ::String
Returns
  • (::String) — IP address of the remote BGP interface.

#peer_ip_address=

def peer_ip_address=(value) -> ::String
Parameter
  • value (::String) — IP address of the remote BGP interface.
Returns
  • (::String) — IP address of the remote BGP interface.

#router_appliance_instance

def router_appliance_instance() -> ::String
Returns
  • (::String) — [Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session.

#router_appliance_instance=

def router_appliance_instance=(value) -> ::String
Parameter
  • value (::String) — [Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session.
Returns
  • (::String) — [Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session.

#state

def state() -> ::String
Returns
  • (::String) — The state of the BGP session. For a list of possible values for this field, see BGP session states.

#state=

def state=(value) -> ::String
Parameter
  • value (::String) — The state of the BGP session. For a list of possible values for this field, see BGP session states.
Returns
  • (::String) — The state of the BGP session. For a list of possible values for this field, see BGP session states.

#status

def status() -> ::String
Returns
  • (::String) — Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.

#status=

def status=(value) -> ::String
Parameter
  • value (::String) — Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.
Returns
  • (::String) — Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.

#uptime

def uptime() -> ::String
Returns
  • (::String) — Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds

#uptime=

def uptime=(value) -> ::String
Parameter
  • value (::String) — Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds
Returns
  • (::String) — Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds

#uptime_seconds

def uptime_seconds() -> ::String
Returns
  • (::String) — Time this session has been up, in seconds. Format: 145

#uptime_seconds=

def uptime_seconds=(value) -> ::String
Parameter
  • value (::String) — Time this session has been up, in seconds. Format: 145
Returns
  • (::String) — Time this session has been up, in seconds. Format: 145