class Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3PlayerReport
A report submitted by a player about a playable location that is considered inappropriate for use in the game.
Attributes
Language code (in BCP-47 format) indicating the language of the freeform description provided in `reason_details`. Examples are “en”, “en-US” or “ja- Latn”. For more information, see www.unicode.org/reports/tr35/# Unicode_locale_identifier. Corresponds to the JSON property `languageCode` @return [String]
Required. The name of the playable location. Corresponds to the JSON property `locationName` @return [String]
Required. A free-form description detailing why the playable location is considered bad. Corresponds to the JSON property `reasonDetails` @return [String]
Required. One or more reasons why this playable location is considered bad. Corresponds to the JSON property `reasons` @return [Array<String>]
Public Class Methods
# File lib/google/apis/playablelocations_v3/classes.rb, line 190 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/playablelocations_v3/classes.rb, line 195 def update!(**args) @language_code = args[:language_code] if args.key?(:language_code) @location_name = args[:location_name] if args.key?(:location_name) @reason_details = args[:reason_details] if args.key?(:reason_details) @reasons = args[:reasons] if args.key?(:reasons) end