Class: Google::Apis::GamesV1::UnlinkPersonaRequest
- Inherits:
-
Object
- Object
- Google::Apis::GamesV1::UnlinkPersonaRequest
- 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
-
#persona ⇒ String
Value of the 'persona' field as it was provided by the client in LinkPersona RPC Corresponds to the JSON property
persona. -
#session_id ⇒ String
Required.
-
#token ⇒ String
Value of the Recall token as it was provided by the client in LinkPersona RPC Corresponds to the JSON property
token.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UnlinkPersonaRequest
constructor
A new instance of UnlinkPersonaRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UnlinkPersonaRequest
Returns a new instance of UnlinkPersonaRequest.
3042 3043 3044 |
# File 'lib/google/apis/games_v1/classes.rb', line 3042 def initialize(**args) update!(**args) end |
Instance Attribute Details
#persona ⇒ String
Value of the 'persona' field as it was provided by the client in LinkPersona
RPC
Corresponds to the JSON property persona
3029 3030 3031 |
# File 'lib/google/apis/games_v1/classes.rb', line 3029 def persona @persona end |
#session_id ⇒ String
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
3035 3036 3037 |
# File 'lib/google/apis/games_v1/classes.rb', line 3035 def session_id @session_id end |
#token ⇒ String
Value of the Recall token as it was provided by the client in LinkPersona RPC
Corresponds to the JSON property token
3040 3041 3042 |
# File 'lib/google/apis/games_v1/classes.rb', line 3040 def token @token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3047 3048 3049 3050 3051 |
# File 'lib/google/apis/games_v1/classes.rb', line 3047 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 |