Class: Google::Apis::GamesV1::PushTokenId::Ios
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GamesV1::PushTokenId::Ios
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/games_v1/classes.rb,
 generated/google/apis/games_v1/representations.rb,
 generated/google/apis/games_v1/representations.rb
Overview
A push token ID for iOS devices.
Instance Attribute Summary collapse
- 
  
    
      #apns_device_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Device token supplied by an iOS system call to register for remote notifications. 
- 
  
    
      #apns_environment  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates whether this token should be used for the production or sandbox APNS server. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Ios 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Ios. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Ios
Returns a new instance of Ios
| 2767 2768 2769 | # File 'generated/google/apis/games_v1/classes.rb', line 2767 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#apns_device_token ⇒ String
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
NOTE: Values are automatically base64 encoded/decoded in the client library.
| 2759 2760 2761 | # File 'generated/google/apis/games_v1/classes.rb', line 2759 def apns_device_token @apns_device_token end | 
#apns_environment ⇒ String
Indicates whether this token should be used for the production or sandbox APNS
server.
Corresponds to the JSON property apns_environment
| 2765 2766 2767 | # File 'generated/google/apis/games_v1/classes.rb', line 2765 def apns_environment @apns_environment end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2772 2773 2774 2775 | # File 'generated/google/apis/games_v1/classes.rb', line 2772 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 |