class Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SampleCriterion
Encapsulates a filter criterion for searching for a set of playable locations.
Attributes
Specifies which `PlayableLocation` fields are returned. `name` (which is used for logging impressions), `center_point` and `place_id` (or `plus_code`) are always returned. The following fields are omitted unless you specify them here:
-
snapped_point * types Note: The more fields you include, the more expensive
in terms of data and associated latency your query will be. Corresponds to the JSON property `fieldsToReturn` @return [String]
Specifies the filters to use when searching for playable locations. Corresponds to the JSON property `filter` @return [Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SampleFilter]
Required. An arbitrary, developer-defined identifier of the type of game object that the playable location is used for. This field allows you to specify criteria per game object type when searching for playable locations. You should assign a unique `game_object_type` ID across all `request_criteria` to represent a distinct type of game object. For example, 1=monster location, 2=powerup location. The response contains a map. Corresponds to the JSON property `gameObjectType` @return [Fixnum]
Public Class Methods
# File lib/google/apis/playablelocations_v3/classes.rb, line 256 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/playablelocations_v3/classes.rb, line 261 def update!(**args) @fields_to_return = args[:fields_to_return] if args.key?(:fields_to_return) @filter = args[:filter] if args.key?(:filter) @game_object_type = args[:game_object_type] if args.key?(:game_object_type) end