Show / Hide Table of Contents

Class TurnBasedMatchesResource.LeaveTurnRequest

Leave a turn-based match during the current player's turn, without canceling the match.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<TurnBasedMatch>
GamesBaseServiceRequest<TurnBasedMatch>
TurnBasedMatchesResource.LeaveTurnRequest
Implements
IClientServiceRequest<TurnBasedMatch>
IClientServiceRequest
Inherited Members
GamesBaseServiceRequest<TurnBasedMatch>.Alt
GamesBaseServiceRequest<TurnBasedMatch>.Fields
GamesBaseServiceRequest<TurnBasedMatch>.Key
GamesBaseServiceRequest<TurnBasedMatch>.OauthToken
GamesBaseServiceRequest<TurnBasedMatch>.PrettyPrint
GamesBaseServiceRequest<TurnBasedMatch>.QuotaUser
GamesBaseServiceRequest<TurnBasedMatch>.UserIp
ClientServiceRequest<TurnBasedMatch>.Execute()
ClientServiceRequest<TurnBasedMatch>.ExecuteAsStream()
ClientServiceRequest<TurnBasedMatch>.ExecuteAsync()
ClientServiceRequest<TurnBasedMatch>.ExecuteAsync(CancellationToken)
ClientServiceRequest<TurnBasedMatch>.ExecuteAsStreamAsync()
ClientServiceRequest<TurnBasedMatch>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<TurnBasedMatch>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<TurnBasedMatch>.GenerateRequestUri()
ClientServiceRequest<TurnBasedMatch>.GetBody()
ClientServiceRequest<TurnBasedMatch>.GetDefaultETagAction(String)
ClientServiceRequest<TurnBasedMatch>.ETagAction
ClientServiceRequest<TurnBasedMatch>.ModifyRequest
ClientServiceRequest<TurnBasedMatch>.RequestParameters
ClientServiceRequest<TurnBasedMatch>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.Finalize()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Games.v1
Assembly: Google.Apis.Games.v1.dll
Syntax
public class LeaveTurnRequest : GamesBaseServiceRequest<TurnBasedMatch>, IClientServiceRequest<TurnBasedMatch>, IClientServiceRequest

Constructors

LeaveTurnRequest(IClientService, String, Int32)

Constructs a new LeaveTurn request.

Declaration
public LeaveTurnRequest(IClientService service, string matchId, int matchVersion)
Parameters
Type Name Description
IClientService service
System.String matchId
System.Int32 matchVersion

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Games.v1.Data.TurnBasedMatch>.HttpMethod

Language

The preferred language to use for strings returned by this method.

Declaration
public virtual string Language { get; set; }
Property Value
Type Description
System.String

MatchId

The ID of the match.

Declaration
public virtual string MatchId { get; }
Property Value
Type Description
System.String

MatchVersion

The version of the match being updated.

Declaration
public virtual int MatchVersion { get; }
Property Value
Type Description
System.Int32

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Games.v1.Data.TurnBasedMatch>.MethodName

PendingParticipantId

The ID of another participant who should take their turn next. If not set, the match will wait for other player(s) to join via automatching; this is only valid if automatch criteria is set on the match with remaining slots for automatched players.

Declaration
public virtual string PendingParticipantId { get; set; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Games.v1.Data.TurnBasedMatch>.RestPath

Methods

InitParameters()

Initializes LeaveTurn parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Games.v1.GamesBaseServiceRequest<Google.Apis.Games.v1.Data.TurnBasedMatch>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top