class Google::Apis::GamesV1::PushTokenId::Ios
A push token ID for iOS devices.
Attributes
apns_device_token[RW]
Device token supplied by an iOS system call to register for remote notifications. Encode this field as web-safe base64. Corresponds to the JSON property `apns_device_token` @return [String]
apns_environment[RW]
Indicates whether this token should be used for the production or sandbox APNS server. Corresponds to the JSON property `apns_environment` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 2732 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 2737 def update!(**args) @apns_device_token = args[:apns_device_token] if args.key?(:apns_device_token) @apns_environment = args[:apns_environment] if args.key?(:apns_environment) end