class Google::Apis::ComputeV1::RoutersScopedList

Attributes

routers[RW]

A list of routers contained in this scope. Corresponds to the JSON property `routers` @return [Array<Google::Apis::ComputeV1::Router>]

warning[RW]

Informational warning which replaces the list of routers when the list is empty. Corresponds to the JSON property `warning` @return [Google::Apis::ComputeV1::RoutersScopedList::Warning]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 31321
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 31326
def update!(**args)
  @routers = args[:routers] if args.key?(:routers)
  @warning = args[:warning] if args.key?(:warning)
end