class Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SampleFilter

Specifies the filters to use when searching for playable locations.

Attributes

included_types[RW]

Restricts the set of playable locations to just the [types](/maps/ documentation/gaming/tt/types) that you want. Corresponds to the JSON property `includedTypes` @return [Array<String>]

max_location_count[RW]

Specifies the maximum number of playable locations to return. This value must not be greater than 1000. The default value is 100. Only the top-ranking playable locations are returned. Corresponds to the JSON property `maxLocationCount` @return [Fixnum]

spacing[RW]

A set of options that specifies the separation between playable locations. Corresponds to the JSON property `spacing` @return [Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SampleSpacingOptions]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/playablelocations_v3/classes.rb, line 290
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/playablelocations_v3/classes.rb, line 295
def update!(**args)
  @included_types = args[:included_types] if args.key?(:included_types)
  @max_location_count = args[:max_location_count] if args.key?(:max_location_count)
  @spacing = args[:spacing] if args.key?(:spacing)
end