class Google::Apis::ComputeBeta::RouterStatus

Attributes

best_routes[RW]

Best routes for this router's network. Corresponds to the JSON property `bestRoutes` @return [Array<Google::Apis::ComputeBeta::Route>]

best_routes_for_router[RW]

Best routes learned by this router. Corresponds to the JSON property `bestRoutesForRouter` @return [Array<Google::Apis::ComputeBeta::Route>]

bgp_peer_status[RW]

Corresponds to the JSON property `bgpPeerStatus` @return [Array<Google::Apis::ComputeBeta::RouterStatusBgpPeerStatus>]

nat_status[RW]

Corresponds to the JSON property `natStatus` @return [Array<Google::Apis::ComputeBeta::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_beta/classes.rb, line 30070
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_beta/classes.rb, line 30075
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