Class: Google::Apis::GamesV1::PushTokenId
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::GamesV1::PushTokenId
 
 
- 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
This is a JSON template for a push token ID resource.
Defined Under Namespace
Classes: Ios
Instance Attribute Summary collapse
- 
  
    
      #ios  ⇒ Google::Apis::GamesV1::PushTokenId::Ios 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A push token ID for iOS devices.
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Uniquely identifies the type of this resource.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PushTokenId 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of PushTokenId.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PushTokenId
Returns a new instance of PushTokenId
      2740 2741 2742  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 2740 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#ios ⇒ Google::Apis::GamesV1::PushTokenId::Ios
A push token ID for iOS devices.
Corresponds to the JSON property ios
      2732 2733 2734  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 2732 def ios @ios end  | 
  
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#pushTokenId.
Corresponds to the JSON property kind
      2738 2739 2740  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 2738 def kind @kind end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2745 2746 2747 2748  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 2745 def update!(**args) @ios = args[:ios] if args.key?(:ios) @kind = args[:kind] if args.key?(:kind) end  |