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.
2985 2986 2987 |
# File 'lib/google/apis/games_v1/classes.rb', line 2985 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
2972 2973 2974 |
# File 'lib/google/apis/games_v1/classes.rb', line 2972 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
2978 2979 2980 |
# File 'lib/google/apis/games_v1/classes.rb', line 2978 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
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 |