Class: Google::Apis::ComputeAlpha::UrlMapsScopedList

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ UrlMapsScopedList

Returns a new instance of UrlMapsScopedList



31263
31264
31265
# File 'generated/google/apis/compute_alpha/classes.rb', line 31263

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#url_mapsArray<Google::Apis::ComputeAlpha::UrlMap>

A list of UrlMaps contained in this scope. Corresponds to the JSON property urlMaps



31255
31256
31257
# File 'generated/google/apis/compute_alpha/classes.rb', line 31255

def url_maps
  @url_maps
end

#warningGoogle::Apis::ComputeAlpha::UrlMapsScopedList::Warning

Informational warning which replaces the list of backend services when the list is empty. Corresponds to the JSON property warning



31261
31262
31263
# File 'generated/google/apis/compute_alpha/classes.rb', line 31261

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31268
31269
31270
31271
# File 'generated/google/apis/compute_alpha/classes.rb', line 31268

def update!(**args)
  @url_maps = args[:url_maps] if args.key?(:url_maps)
  @warning = args[:warning] if args.key?(:warning)
end