Show / Hide Table of Contents

Class PlayersResource.GetRequest

Retrieves the Player resource with the given ID. To retrieve the player for the currently authenticated user, set playerId to me.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Player>
GamesBaseServiceRequest<Player>
PlayersResource.GetRequest
Implements
IClientServiceRequest<Player>
IClientServiceRequest
Inherited Members
GamesBaseServiceRequest<Player>.Alt
GamesBaseServiceRequest<Player>.Fields
GamesBaseServiceRequest<Player>.Key
GamesBaseServiceRequest<Player>.OauthToken
GamesBaseServiceRequest<Player>.PrettyPrint
GamesBaseServiceRequest<Player>.QuotaUser
GamesBaseServiceRequest<Player>.UserIp
ClientServiceRequest<Player>.Execute()
ClientServiceRequest<Player>.ExecuteAsStream()
ClientServiceRequest<Player>.ExecuteAsync()
ClientServiceRequest<Player>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Player>.ExecuteAsStreamAsync()
ClientServiceRequest<Player>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Player>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<Player>.GenerateRequestUri()
ClientServiceRequest<Player>.GetBody()
ClientServiceRequest<Player>.GetDefaultETagAction(String)
ClientServiceRequest<Player>.ETagAction
ClientServiceRequest<Player>.ModifyRequest
ClientServiceRequest<Player>.RequestParameters
ClientServiceRequest<Player>.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 GetRequest : GamesBaseServiceRequest<Player>, IClientServiceRequest<Player>, IClientServiceRequest

Constructors

GetRequest(IClientService, String)

Constructs a new Get request.

Declaration
public GetRequest(IClientService service, string playerId)
Parameters
Type Name Description
IClientService service
System.String playerId

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.Player>.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

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.Player>.MethodName

PlayerId

A player ID. A value of me may be used in place of the authenticated player's ID.

Declaration
public virtual string PlayerId { get; }
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.Player>.RestPath

Methods

InitParameters()

Initializes Get parameter list.

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

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top