class Google::Apis::GamesV1::PushTokenId

This is a JSON template for a push token ID resource.

Attributes

ios[RW]

A push token ID for iOS devices. Corresponds to the JSON property `ios` @return [Google::Apis::GamesV1::PushTokenId::Ios]

kind[RW]

Uniquely identifies the type of this resource. Value is always the fixed string games#pushTokenId. Corresponds to the JSON property `kind` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/games_v1/classes.rb, line 2711
def update!(**args)
  @ios = args[:ios] if args.key?(:ios)
  @kind = args[:kind] if args.key?(:kind)
end