Show / Hide Table of Contents

Class PeopleResource.GetRequest

Get a person's profile. If your app uses scope https://www.googleapis.com/auth/plus.login, this method is guaranteed to return ageRange and language.

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

Constructors

GetRequest(IClientService, String)

Constructs a new Get request.

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

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.Plus.v1.Data.Person>.HttpMethod

MethodName

Gets the method name.

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

RestPath

Gets the REST path.

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

UserId

The ID of the person to get the profile for. The special value "me" can be used to indicate the authenticated user.

Declaration
[RequestParameter("userId", RequestParameterType.Path)]
public virtual string UserId { get; }
Property Value
Type Description
System.String

Methods

InitParameters()

Initializes Get parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Plus.v1.PlusBaseServiceRequest<Google.Apis.Plus.v1.Data.Person>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top