Class: Google::Apis::ComputeV1::UrlMapsScopedList

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



47385
47386
47387
# File 'lib/google/apis/compute_v1/classes.rb', line 47385

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

Instance Attribute Details

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

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



47377
47378
47379
# File 'lib/google/apis/compute_v1/classes.rb', line 47377

def url_maps
  @url_maps
end

#warningGoogle::Apis::ComputeV1::UrlMapsScopedList::Warning

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



47383
47384
47385
# File 'lib/google/apis/compute_v1/classes.rb', line 47383

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47390
47391
47392
47393
# File 'lib/google/apis/compute_v1/classes.rb', line 47390

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