Show / Hide Table of Contents

Class AdviceResource.CapacityRequest

Advice on making real-time decisions (such as choosing zone or machine types) during deployment to maximize your chances of obtaining capacity.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<CapacityAdviceResponse>
ComputeBaseServiceRequest<CapacityAdviceResponse>
AdviceResource.CapacityRequest
Implements
IClientServiceRequest<CapacityAdviceResponse>
IClientServiceRequest
Inherited Members
ComputeBaseServiceRequest<CapacityAdviceResponse>.Xgafv
ComputeBaseServiceRequest<CapacityAdviceResponse>.AccessToken
ComputeBaseServiceRequest<CapacityAdviceResponse>.Alt
ComputeBaseServiceRequest<CapacityAdviceResponse>.Callback
ComputeBaseServiceRequest<CapacityAdviceResponse>.Fields
ComputeBaseServiceRequest<CapacityAdviceResponse>.Key
ComputeBaseServiceRequest<CapacityAdviceResponse>.OauthToken
ComputeBaseServiceRequest<CapacityAdviceResponse>.PrettyPrint
ComputeBaseServiceRequest<CapacityAdviceResponse>.QuotaUser
ComputeBaseServiceRequest<CapacityAdviceResponse>.UploadType
ComputeBaseServiceRequest<CapacityAdviceResponse>.UploadProtocol
ComputeBaseServiceRequest<CapacityAdviceResponse>.UserIp
ClientServiceRequest<CapacityAdviceResponse>.Execute()
ClientServiceRequest<CapacityAdviceResponse>.ExecuteAsStream()
ClientServiceRequest<CapacityAdviceResponse>.ExecuteAsync()
ClientServiceRequest<CapacityAdviceResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<CapacityAdviceResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<CapacityAdviceResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<CapacityAdviceResponse>.CreateRequest(bool?)
ClientServiceRequest<CapacityAdviceResponse>.GenerateRequestUri()
ClientServiceRequest<CapacityAdviceResponse>.GetDefaultETagAction(string)
ClientServiceRequest<CapacityAdviceResponse>.ETagAction
ClientServiceRequest<CapacityAdviceResponse>.ModifyRequest
ClientServiceRequest<CapacityAdviceResponse>.ValidateParameters
ClientServiceRequest<CapacityAdviceResponse>.ApiVersion
ClientServiceRequest<CapacityAdviceResponse>.RequestParameters
ClientServiceRequest<CapacityAdviceResponse>.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.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class AdviceResource.CapacityRequest : ComputeBaseServiceRequest<CapacityAdviceResponse>, IClientServiceRequest<CapacityAdviceResponse>, IClientServiceRequest

Constructors

CapacityRequest(IClientService, CapacityAdviceRequest, string, string)

Constructs a new Capacity request.

Declaration
public CapacityRequest(IClientService service, CapacityAdviceRequest body, string project, string region)
Parameters
Type Name Description
IClientService service
CapacityAdviceRequest body
string project
string region

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<CapacityAdviceResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<CapacityAdviceResponse>.MethodName

Project

Project ID for this request.

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

Region

Name of the region for this request.

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

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<CapacityAdviceResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<CapacityAdviceResponse>.GetBody()

InitParameters()

Initializes Capacity parameter list.

Declaration
protected override void InitParameters()
Overrides
ComputeBaseServiceRequest<CapacityAdviceResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX