Class: Google::Apis::GamesV1::EventChild
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GamesV1::EventChild
 
- 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 an event child relationship resource.
Instance Attribute Summary collapse
- 
  
    
      #child_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID of the child event. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Uniquely identifies the type of this resource. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ EventChild 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of EventChild. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EventChild
Returns a new instance of EventChild
| 804 805 806 | # File 'generated/google/apis/games_v1/classes.rb', line 804 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#child_id ⇒ String
The ID of the child event.
Corresponds to the JSON property childId
| 796 797 798 | # File 'generated/google/apis/games_v1/classes.rb', line 796 def child_id @child_id end | 
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#eventChild.
Corresponds to the JSON property kind
| 802 803 804 | # File 'generated/google/apis/games_v1/classes.rb', line 802 def kind @kind end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 809 810 811 812 | # File 'generated/google/apis/games_v1/classes.rb', line 809 def update!(**args) @child_id = args[:child_id] if args.key?(:child_id) @kind = args[:kind] if args.key?(:kind) end |