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.



2985
2986
2987
# File 'lib/google/apis/games_v1/classes.rb', line 2985

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)


2972
2973
2974
# File 'lib/google/apis/games_v1/classes.rb', line 2972

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)


2978
2979
2980
# File 'lib/google/apis/games_v1/classes.rb', line 2978

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)


2983
2984
2985
# File 'lib/google/apis/games_v1/classes.rb', line 2983

def token
  @token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2990
2991
2992
2993
2994
# File 'lib/google/apis/games_v1/classes.rb', line 2990

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