Compute Engine v1 API - Class Advice.AdviceBase (3.22.0)

[BindServiceMethod(typeof(Advice), "BindService")]
public abstract class Advice.AdviceBase

Reference documentation and code samples for the Compute Engine v1 API class Advice.AdviceBase.

Base class for server-side implementations of Advice

Inheritance

object > Advice.AdviceBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

CalendarMode(CalendarModeAdviceRpcRequest, ServerCallContext)

public virtual Task<CalendarModeAdviceResponse> CalendarMode(CalendarModeAdviceRpcRequest request, ServerCallContext context)

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.

Parameters
Name Description
request CalendarModeAdviceRpcRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskCalendarModeAdviceResponse

The response to send back to the client (wrapped by a task).