class Google::Apis::ComputeBeta::RoutersScopedList

Attributes

routers[RW]

List of routers contained in this scope. Corresponds to the JSON property `routers` @return [Array<Google::Apis::ComputeBeta::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::ComputeBeta::RoutersScopedList::Warning]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/compute_beta/classes.rb, line 7102
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/compute_beta/classes.rb, line 7107
def update!(**args)
  @routers = args[:routers] if args.key?(:routers)
  @warning = args[:warning] if args.key?(:warning)
end