Show / Hide Table of Contents

Class ProjectsResource.GetRequest

Returns the specified Project resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the quotas field). To exclude one or more fields, set your request's fields query parameter to only include the fields you need. For example, to only include the id and selfLink fields, add the query parameter ?fields=id,selfLink to your request.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Project>
ComputeBaseServiceRequest<Project>
ProjectsResource.GetRequest
Implements
IClientServiceRequest<Project>
IClientServiceRequest
Inherited Members
ComputeBaseServiceRequest<Project>.Xgafv
ComputeBaseServiceRequest<Project>.AccessToken
ComputeBaseServiceRequest<Project>.Alt
ComputeBaseServiceRequest<Project>.Callback
ComputeBaseServiceRequest<Project>.Fields
ComputeBaseServiceRequest<Project>.Key
ComputeBaseServiceRequest<Project>.OauthToken
ComputeBaseServiceRequest<Project>.PrettyPrint
ComputeBaseServiceRequest<Project>.QuotaUser
ComputeBaseServiceRequest<Project>.UploadType
ComputeBaseServiceRequest<Project>.UploadProtocol
ComputeBaseServiceRequest<Project>.UserIp
ClientServiceRequest<Project>.Execute()
ClientServiceRequest<Project>.ExecuteAsStream()
ClientServiceRequest<Project>.ExecuteAsync()
ClientServiceRequest<Project>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Project>.ExecuteAsStreamAsync()
ClientServiceRequest<Project>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Project>.CreateRequest(bool?)
ClientServiceRequest<Project>.GenerateRequestUri()
ClientServiceRequest<Project>.GetBody()
ClientServiceRequest<Project>.GetDefaultETagAction(string)
ClientServiceRequest<Project>.ETagAction
ClientServiceRequest<Project>.ModifyRequest
ClientServiceRequest<Project>.ValidateParameters
ClientServiceRequest<Project>.RequestParameters
ClientServiceRequest<Project>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class ProjectsResource.GetRequest : ComputeBaseServiceRequest<Project>, IClientServiceRequest<Project>, IClientServiceRequest

Constructors

GetRequest(IClientService, string)

Constructs a new Get request.

Declaration
public GetRequest(IClientService service, string project)
Parameters
Type Name Description
IClientService service
string project

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.beta.Data.Project>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.beta.Data.Project>.MethodName

Project

Project ID for this request.

Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.beta.Data.Project>.RestPath

Methods

InitParameters()

Initializes Get parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Compute.beta.ComputeBaseServiceRequest<Google.Apis.Compute.beta.Data.Project>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX