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
- (::Array<::Google::Cloud::Compute::V1::Route>) — Routes that were advertised to the remote BGP peer
#advertised_routes=
def advertised_routes=(value) -> ::Array<::Google::Cloud::Compute::V1::Route>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::Route>) — Routes that were advertised to the remote BGP peer
Returns
- (::Array<::Google::Cloud::Compute::V1::Route>) — Routes that were advertised to the remote BGP peer
#bfd_status
def bfd_status() -> ::Google::Cloud::Compute::V1::BfdStatus
Returns
#bfd_status=
def bfd_status=(value) -> ::Google::Cloud::Compute::V1::BfdStatus
Parameter
Returns
#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) — BGP state as specified in RFC1771.
#state=
def state=(value) -> ::String
Parameter
- value (::String) — BGP state as specified in RFC1771.
Returns
- (::String) — BGP state as specified in RFC1771.
#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