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
- (::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
#enable_ipv4
def enable_ipv4() -> ::Boolean
Returns
- (::Boolean) — Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
#enable_ipv4=
def enable_ipv4=(value) -> ::Boolean
Parameter
- value (::Boolean) — Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
Returns
- (::Boolean) — Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
#enable_ipv6
def enable_ipv6() -> ::Boolean
Returns
- (::Boolean) — Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
#enable_ipv6=
def enable_ipv6=(value) -> ::Boolean
Parameter
- value (::Boolean) — Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
Returns
- (::Boolean) — Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
#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.
#ipv4_nexthop_address
def ipv4_nexthop_address() -> ::String
Returns
- (::String) — IPv4 address of the local BGP interface.
#ipv4_nexthop_address=
def ipv4_nexthop_address=(value) -> ::String
Parameter
- value (::String) — IPv4 address of the local BGP interface.
Returns
- (::String) — IPv4 address of the local BGP interface.
#ipv6_nexthop_address
def ipv6_nexthop_address() -> ::String
Returns
- (::String) — IPv6 address of the local BGP interface.
#ipv6_nexthop_address=
def ipv6_nexthop_address=(value) -> ::String
Parameter
- value (::String) — IPv6 address of the local BGP interface.
Returns
- (::String) — IPv6 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.
#md5_auth_enabled
def md5_auth_enabled() -> ::Boolean
Returns
- (::Boolean) — Informs whether MD5 authentication is enabled on this BGP peer.
#md5_auth_enabled=
def md5_auth_enabled=(value) -> ::Boolean
Parameter
- value (::Boolean) — Informs whether MD5 authentication is enabled on this BGP peer.
Returns
- (::Boolean) — Informs whether MD5 authentication is enabled on this BGP peer.
#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.
#peer_ipv4_nexthop_address
def peer_ipv4_nexthop_address() -> ::String
Returns
- (::String) — IPv4 address of the remote BGP interface.
#peer_ipv4_nexthop_address=
def peer_ipv4_nexthop_address=(value) -> ::String
Parameter
- value (::String) — IPv4 address of the remote BGP interface.
Returns
- (::String) — IPv4 address of the remote BGP interface.
#peer_ipv6_nexthop_address
def peer_ipv6_nexthop_address() -> ::String
Returns
- (::String) — IPv6 address of the remote BGP interface.
#peer_ipv6_nexthop_address=
def peer_ipv6_nexthop_address=(value) -> ::String
Parameter
- value (::String) — IPv6 address of the remote BGP interface.
Returns
- (::String) — IPv6 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.
#status_reason
def status_reason() -> ::String
Returns
- (::String) — Indicates why particular status was returned. Check the StatusReason enum for the list of possible values.
#status_reason=
def status_reason=(value) -> ::String
Parameter
- value (::String) — Indicates why particular status was returned. Check the StatusReason enum for the list of possible values.
Returns
- (::String) — Indicates why particular status was returned. Check the StatusReason 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