class Google::Apis::ComputeBeta::RouterStatusBgpPeerStatus
Attributes
Routes that were advertised to the remote BGP peer Corresponds to the JSON property `advertisedRoutes` @return [Array<Google::Apis::ComputeBeta::Route>]
IP address of the local BGP interface. Corresponds to the JSON property `ipAddress` @return [String]
URL of the VPN tunnel that this BGP peer controls. Corresponds to the JSON property `linkedVpnTunnel` @return [String]
Name of this BGP peer. Unique within the Routers resource. Corresponds to the JSON property `name` @return [String]
Number of routes learned from the remote BGP Peer. Corresponds to the JSON property `numLearnedRoutes` @return [Fixnum]
IP address of the remote BGP interface. Corresponds to the JSON property `peerIpAddress` @return [String]
BGP state as specified in RFC1771. Corresponds to the JSON property `state` @return [String]
Status of the BGP peer: `UP, DOWN` Corresponds to the JSON property `status` @return [String]
Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds Corresponds to the JSON property `uptime` @return [String]
Time this session has been up, in seconds. Format: 145 Corresponds to the JSON property `uptimeSeconds` @return [String]
Public Class Methods
# File generated/google/apis/compute_beta/classes.rb, line 7043 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/compute_beta/classes.rb, line 7048 def update!(**args) @advertised_routes = args[:advertised_routes] if args.key?(:advertised_routes) @ip_address = args[:ip_address] if args.key?(:ip_address) @linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel) @name = args[:name] if args.key?(:name) @num_learned_routes = args[:num_learned_routes] if args.key?(:num_learned_routes) @peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address) @state = args[:state] if args.key?(:state) @status = args[:status] if args.key?(:status) @uptime = args[:uptime] if args.key?(:uptime) @uptime_seconds = args[:uptime_seconds] if args.key?(:uptime_seconds) end