Class: Google::Apis::GamesV1::ApplicationVerifyResponse

Inherits:
Object
  • Object
show all
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

A third party application verification response resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ApplicationVerifyResponse

Returns a new instance of ApplicationVerifyResponse.



571
572
573
# File 'generated/google/apis/games_v1/classes.rb', line 571

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

Instance Attribute Details

#alternate_player_idString

An alternate ID that was once used for the player that was issued the auth token used in this request. (This field is not normally populated.) Corresponds to the JSON property alternate_player_id

Returns:

  • (String)


558
559
560
# File 'generated/google/apis/games_v1/classes.rb', line 558

def alternate_player_id
  @alternate_player_id
end

#kindString

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

Returns:

  • (String)


564
565
566
# File 'generated/google/apis/games_v1/classes.rb', line 564

def kind
  @kind
end

#player_idString

The ID of the player that was issued the auth token used in this request. Corresponds to the JSON property player_id

Returns:

  • (String)


569
570
571
# File 'generated/google/apis/games_v1/classes.rb', line 569

def player_id
  @player_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



576
577
578
579
580
# File 'generated/google/apis/games_v1/classes.rb', line 576

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