class Google::Apis::GamesV1::PushToken
This is a JSON template for a push token resource.
Attributes
The revision of the client SDK used by your application, in the same format that's used by revisions.check. Used to send backward compatible messages. Format: [PLATFORM_TYPE]:. Possible values of PLATFORM_TYPE are:
-
IOS - Push token is for iOS
Corresponds to the JSON property `clientRevision` @return [String]
This is a JSON template for a push token ID resource. Corresponds to the JSON property `id` @return [Google::Apis::GamesV1::PushTokenId]
Uniquely identifies the type of this resource. Value is always the fixed string games#pushToken. Corresponds to the JSON property `kind` @return [String]
The preferred language for notifications that are sent using this token. Corresponds to the JSON property `language` @return [String]
Public Class Methods
# File generated/google/apis/games_v1/classes.rb, line 2678 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/games_v1/classes.rb, line 2683 def update!(**args) @client_revision = args[:client_revision] if args.key?(:client_revision) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @language = args[:language] if args.key?(:language) end