class Google::Apis::GamesV1::AnonymousPlayer

This is a JSON template for an anonymous player

Attributes

avatar_image_url[RW]

The base URL for the image to display for the anonymous player. Corresponds to the JSON property `avatarImageUrl` @return [String]

display_name[RW]

The name to display for the anonymous player. Corresponds to the JSON property `displayName` @return [String]

kind[RW]

Uniquely identifies the type of this resource. Value is always the fixed string games#anonymousPlayer. 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 509
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 514
def update!(**args)
  @avatar_image_url = args[:avatar_image_url] if args.key?(:avatar_image_url)
  @display_name = args[:display_name] if args.key?(:display_name)
  @kind = args[:kind] if args.key?(:kind)
end