Class: Google::Apis::GamesV1::EventChild

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/games_v1/classes.rb,
lib/google/apis/games_v1/representations.rb,
lib/google/apis/games_v1/representations.rb

Overview

An event child relationship resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EventChild

Returns a new instance of EventChild.



738
739
740
# File 'lib/google/apis/games_v1/classes.rb', line 738

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#child_idString

The ID of the child event. Corresponds to the JSON property childId

Returns:

  • (String)


730
731
732
# File 'lib/google/apis/games_v1/classes.rb', line 730

def child_id
  @child_id
end

#kindString

Uniquely identifies the type of this resource. Value is always the fixed string games#eventChild. Corresponds to the JSON property kind

Returns:

  • (String)


736
737
738
# File 'lib/google/apis/games_v1/classes.rb', line 736

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



743
744
745
746
# File 'lib/google/apis/games_v1/classes.rb', line 743

def update!(**args)
  @child_id = args[:child_id] if args.key?(:child_id)
  @kind = args[:kind] if args.key?(:kind)
end