class Google::Apis::GamesV1::EventChild

This is a JSON template for an event child relationship resource.

Attributes

child_id[RW]

The ID of the child event. Corresponds to the JSON property `childId` @return [String]

kind[RW]

Uniquely identifies the type of this resource. Value is always the fixed string games#eventChild. Corresponds to the JSON property `kind` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 804
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 809
def update!(**args)
  @child_id = args[:child_id] if args.key?(:child_id)
  @kind = args[:kind] if args.key?(:kind)
end