class Google::Apis::ComputeV1::RouterStatus
Attributes
best_routes[RW]
Best routes for this router's network. Corresponds to the JSON property `bestRoutes` @return [Array<Google::Apis::ComputeV1::Route>]
best_routes_for_router[RW]
Best routes learned by this router. Corresponds to the JSON property `bestRoutesForRouter` @return [Array<Google::Apis::ComputeV1::Route>]
bgp_peer_status[RW]
Corresponds to the JSON property `bgpPeerStatus` @return [Array<Google::Apis::ComputeV1::RouterStatusBgpPeerStatus>]
nat_status[RW]
Corresponds to the JSON property `natStatus` @return [Array<Google::Apis::ComputeV1::RouterStatusNatStatus>]
network[RW]
URI of the network to which this router belongs. Corresponds to the JSON property `network` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 30582 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 30587 def update!(**args) @best_routes = args[:best_routes] if args.key?(:best_routes) @best_routes_for_router = args[:best_routes_for_router] if args.key?(:best_routes_for_router) @bgp_peer_status = args[:bgp_peer_status] if args.key?(:bgp_peer_status) @nat_status = args[:nat_status] if args.key?(:nat_status) @network = args[:network] if args.key?(:network) end