Show / Hide Table of Contents

Class AdviceResource

The "advice" collection of methods.

Inheritance
object
AdviceResource
Inherited Members
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

Constructors

AdviceResource(IClientService)

Constructs a new resource.

Declaration
public AdviceResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

CalendarMode(CalendarModeAdviceRequest, string, string)

Advise how, where and when to create the requested amount of instances with specified accelerators, within the specified time and location limits. The method recommends creating future reservations for the requested resources.

Declaration
public virtual AdviceResource.CalendarModeRequest CalendarMode(CalendarModeAdviceRequest body, string project, string region)
Parameters
Type Name Description
CalendarModeAdviceRequest body

The body of the request.

string project

Project ID for this request.

string region

Name of the region for this request.

Returns
Type Description
AdviceResource.CalendarModeRequest

Capacity(CapacityAdviceRequest, string, string)

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

Declaration
public virtual AdviceResource.CapacityRequest Capacity(CapacityAdviceRequest body, string project, string region)
Parameters
Type Name Description
CapacityAdviceRequest body

The body of the request.

string project

Project ID for this request.

string region

Name of the region for this request.

Returns
Type Description
AdviceResource.CapacityRequest
In this article
Back to top Generated by DocFX