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

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



30551
30552
30553
# File 'generated/google/apis/compute_v1/classes.rb', line 30551

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



30543
30544
30545
# File 'generated/google/apis/compute_v1/classes.rb', line 30543

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



30549
30550
30551
# File 'generated/google/apis/compute_v1/classes.rb', line 30549

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30556
30557
30558
30559
# File 'generated/google/apis/compute_v1/classes.rb', line 30556

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