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

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

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UrlMapsScopedList

Returns a new instance of UrlMapsScopedList.



45507
45508
45509
# File 'lib/google/apis/compute_alpha/classes.rb', line 45507

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



45499
45500
45501
# File 'lib/google/apis/compute_alpha/classes.rb', line 45499

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



45505
45506
45507
# File 'lib/google/apis/compute_alpha/classes.rb', line 45505

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



45512
45513
45514
45515
# File 'lib/google/apis/compute_alpha/classes.rb', line 45512

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