Compute Engine v1 API - Class AutoscalersClientImpl (2.7.0)

public sealed class AutoscalersClientImpl : AutoscalersClient

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

Autoscalers client wrapper implementation, for convenient use.

Inheritance

object > AutoscalersClient > AutoscalersClientImpl

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The Autoscalers API.

Constructors

AutoscalersClientImpl(AutoscalersClient, AutoscalersSettings, ILogger)

public AutoscalersClientImpl(Autoscalers.AutoscalersClient grpcClient, AutoscalersSettings settings, ILogger logger)

Constructs a client wrapper for the Autoscalers service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientAutoscalersAutoscalersClient

The underlying gRPC client.

settingsAutoscalersSettings

The base AutoscalersSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override Autoscalers.AutoscalersClient GrpcClient { get; }

The underlying gRPC Autoscalers client

Property Value
TypeDescription
AutoscalersAutoscalersClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateOperationsClient

public override OperationsClient UpdateOperationsClient { get; }

The long-running operations client for Update.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

AggregatedList(AggregatedListAutoscalersRequest, CallSettings)

public override PagedEnumerable<AutoscalerAggregatedList, KeyValuePair<string, AutoscalersScopedList>> AggregatedList(AggregatedListAutoscalersRequest request, CallSettings callSettings = null)

Retrieves an aggregated list of autoscalers.

Parameters
NameDescription
requestAggregatedListAutoscalersRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableAutoscalerAggregatedListKeyValuePairstringAutoscalersScopedList

A pageable sequence of KeyValuePair<TKey,TValue> resources.

Overrides

AggregatedListAsync(AggregatedListAutoscalersRequest, CallSettings)

public override PagedAsyncEnumerable<AutoscalerAggregatedList, KeyValuePair<string, AutoscalersScopedList>> AggregatedListAsync(AggregatedListAutoscalersRequest request, CallSettings callSettings = null)

Retrieves an aggregated list of autoscalers.

Parameters
NameDescription
requestAggregatedListAutoscalersRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableAutoscalerAggregatedListKeyValuePairstringAutoscalersScopedList

A pageable asynchronous sequence of KeyValuePair<TKey,TValue> resources.

Overrides

Delete(DeleteAutoscalerRequest, CallSettings)

public override Operation<Operation, Operation> Delete(DeleteAutoscalerRequest request, CallSettings callSettings = null)

Deletes the specified autoscaler.

Parameters
NameDescription
requestDeleteAutoscalerRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Overrides

DeleteAsync(DeleteAutoscalerRequest, CallSettings)

public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteAutoscalerRequest request, CallSettings callSettings = null)

Deletes the specified autoscaler.

Parameters
NameDescription
requestDeleteAutoscalerRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

Get(GetAutoscalerRequest, CallSettings)

public override Autoscaler Get(GetAutoscalerRequest request, CallSettings callSettings = null)

Returns the specified autoscaler resource. Gets a list of available autoscalers by making a list() request.

Parameters
NameDescription
requestGetAutoscalerRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Autoscaler

The RPC response.

Overrides

GetAsync(GetAutoscalerRequest, CallSettings)

public override Task<Autoscaler> GetAsync(GetAutoscalerRequest request, CallSettings callSettings = null)

Returns the specified autoscaler resource. Gets a list of available autoscalers by making a list() request.

Parameters
NameDescription
requestGetAutoscalerRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskAutoscaler

A Task containing the RPC response.

Overrides

Insert(InsertAutoscalerRequest, CallSettings)

public override Operation<Operation, Operation> Insert(InsertAutoscalerRequest request, CallSettings callSettings = null)

Creates an autoscaler in the specified project using the data included in the request.

Parameters
NameDescription
requestInsertAutoscalerRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Overrides

InsertAsync(InsertAutoscalerRequest, CallSettings)

public override Task<Operation<Operation, Operation>> InsertAsync(InsertAutoscalerRequest request, CallSettings callSettings = null)

Creates an autoscaler in the specified project using the data included in the request.

Parameters
NameDescription
requestInsertAutoscalerRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

List(ListAutoscalersRequest, CallSettings)

public override PagedEnumerable<AutoscalerList, Autoscaler> List(ListAutoscalersRequest request, CallSettings callSettings = null)

Retrieves a list of autoscalers contained within the specified zone.

Parameters
NameDescription
requestListAutoscalersRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableAutoscalerListAutoscaler

A pageable sequence of Autoscaler resources.

Overrides

ListAsync(ListAutoscalersRequest, CallSettings)

public override PagedAsyncEnumerable<AutoscalerList, Autoscaler> ListAsync(ListAutoscalersRequest request, CallSettings callSettings = null)

Retrieves a list of autoscalers contained within the specified zone.

Parameters
NameDescription
requestListAutoscalersRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableAutoscalerListAutoscaler

A pageable asynchronous sequence of Autoscaler resources.

Overrides

Patch(PatchAutoscalerRequest, CallSettings)

public override Operation<Operation, Operation> Patch(PatchAutoscalerRequest request, CallSettings callSettings = null)

Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchAutoscalerRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Overrides

PatchAsync(PatchAutoscalerRequest, CallSettings)

public override Task<Operation<Operation, Operation>> PatchAsync(PatchAutoscalerRequest request, CallSettings callSettings = null)

Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchAutoscalerRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

Update(UpdateAutoscalerRequest, CallSettings)

public override Operation<Operation, Operation> Update(UpdateAutoscalerRequest request, CallSettings callSettings = null)

Updates an autoscaler in the specified project using the data included in the request.

Parameters
NameDescription
requestUpdateAutoscalerRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Overrides

UpdateAsync(UpdateAutoscalerRequest, CallSettings)

public override Task<Operation<Operation, Operation>> UpdateAsync(UpdateAutoscalerRequest request, CallSettings callSettings = null)

Updates an autoscaler in the specified project using the data included in the request.

Parameters
NameDescription
requestUpdateAutoscalerRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides