Class: Google::Apis::GamesV1::UnlinkPersonaRequest

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

Request to remove a Recall token linking PGS principal and an in-game account

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UnlinkPersonaRequest

Returns a new instance of UnlinkPersonaRequest.



2919
2920
2921
# File 'lib/google/apis/games_v1/classes.rb', line 2919

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

Instance Attribute Details

#personaString

Value of the 'persona' field as it was provided by the client in LinkPersona RPC Corresponds to the JSON property persona

Returns:

  • (String)


2906
2907
2908
# File 'lib/google/apis/games_v1/classes.rb', line 2906

def persona
  @persona
end

#session_idString

Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application. Corresponds to the JSON property sessionId

Returns:

  • (String)


2912
2913
2914
# File 'lib/google/apis/games_v1/classes.rb', line 2912

def session_id
  @session_id
end

#tokenString

Value of the Recall token as it was provided by the client in LinkPersona RPC Corresponds to the JSON property token

Returns:

  • (String)


2917
2918
2919
# File 'lib/google/apis/games_v1/classes.rb', line 2917

def token
  @token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2924
2925
2926
2927
2928
# File 'lib/google/apis/games_v1/classes.rb', line 2924

def update!(**args)
  @persona = args[:persona] if args.key?(:persona)
  @session_id = args[:session_id] if args.key?(:session_id)
  @token = args[:token] if args.key?(:token)
end