Class: Google::Apis::ComputeBeta::UrlMapsScopedList

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/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.



72563
72564
72565
# File 'lib/google/apis/compute_beta/classes.rb', line 72563

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

Instance Attribute Details

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

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



72555
72556
72557
# File 'lib/google/apis/compute_beta/classes.rb', line 72555

def url_maps
  @url_maps
end

#warningGoogle::Apis::ComputeBeta::UrlMapsScopedList::Warning

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



72561
72562
72563
# File 'lib/google/apis/compute_beta/classes.rb', line 72561

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



72568
72569
72570
72571
# File 'lib/google/apis/compute_beta/classes.rb', line 72568

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