Class: Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SamplePlayableLocationList

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

Overview

A list of PlayableLocation objects that satisfies a single Criterion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleMapsPlayablelocationsV3SamplePlayableLocationList

Returns a new instance of GoogleMapsPlayablelocationsV3SamplePlayableLocationList.



368
369
370
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 368

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

Instance Attribute Details

#locationsArray<Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SamplePlayableLocation>

A list of playable locations for this game object type. Corresponds to the JSON property locations



366
367
368
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 366

def locations
  @locations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



373
374
375
# File 'generated/google/apis/playablelocations_v3/classes.rb', line 373

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