- 3.22.0 (latest)
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
public sealed class AdviceClientImpl : AdviceClientReference documentation and code samples for the Compute Engine v1 API class AdviceClientImpl.
Advice client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The Advice API.
Constructors
AdviceClientImpl(AdviceClient, AdviceSettings, ILogger)
public AdviceClientImpl(Advice.AdviceClient grpcClient, AdviceSettings settings, ILogger logger)Constructs a client wrapper for the Advice service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
AdviceAdviceClientThe underlying gRPC client. |
settings |
AdviceSettingsThe base AdviceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override Advice.AdviceClient GrpcClient { get; }The underlying gRPC Advice client
| Property Value | |
|---|---|
| Type | Description |
AdviceAdviceClient |
|
Methods
CalendarMode(CalendarModeAdviceRpcRequest, CallSettings)
public override CalendarModeAdviceResponse CalendarMode(CalendarModeAdviceRpcRequest request, CallSettings callSettings = null)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 |
CalendarModeAdviceRpcRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CalendarModeAdviceResponse |
The RPC response. |
CalendarModeAsync(CalendarModeAdviceRpcRequest, CallSettings)
public override Task<CalendarModeAdviceResponse> CalendarModeAsync(CalendarModeAdviceRpcRequest request, CallSettings callSettings = null)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 |
CalendarModeAdviceRpcRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCalendarModeAdviceResponse |
A Task containing the RPC response. |