Class LinkPersonaRequest
Request to link an in-game account with a PGS principal (encoded in the session id).
Implements
Inherited Members
Namespace: Google.Apis.Games.v1.Data
Assembly: Google.Apis.Games.v1.dll
Syntax
public class LinkPersonaRequest : IDirectResponseSchema
Properties
CardinalityConstraint
Required. Cardinality constraint to observe when linking a persona to a player in the scope of a game.
Declaration
[JsonProperty("cardinalityConstraint")]
public virtual string CardinalityConstraint { get; set; }
Property Value
Type | Description |
---|---|
string |
ConflictingLinksResolutionPolicy
Required. Resolution policy to apply when the linking of a persona to a player would result in violating the specified cardinality constraint.
Declaration
[JsonProperty("conflictingLinksResolutionPolicy")]
public virtual string ConflictingLinksResolutionPolicy { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExpireTime
object representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ExpireTimeDateTimeOffset instead.")]
public virtual object ExpireTime { get; set; }
Property Value
Type | Description |
---|---|
object |
ExpireTimeDateTimeOffset
DateTimeOffset representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ExpireTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
ExpireTimeRaw
Input only. Optional expiration time.
Declaration
[JsonProperty("expireTime")]
public virtual string ExpireTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Persona
Required. Stable identifier of the in-game account. Please refrain from re-using the same persona for different games.
Declaration
[JsonProperty("persona")]
public virtual string Persona { get; set; }
Property Value
Type | Description |
---|---|
string |
SessionId
Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.
Declaration
[JsonProperty("sessionId")]
public virtual string SessionId { get; set; }
Property Value
Type | Description |
---|---|
string |
Token
Required. Value of the token to create. Opaque to Play Games and assumed to be non-stable (encrypted with key rotation).
Declaration
[JsonProperty("token")]
public virtual string Token { get; set; }
Property Value
Type | Description |
---|---|
string |
Ttl
Input only. Optional time-to-live.
Declaration
[JsonProperty("ttl")]
public virtual object Ttl { get; set; }
Property Value
Type | Description |
---|---|
object |