Compute Engine v1 API - Class RegionAutoscalersClientImpl (2.16.0)

public sealed class RegionAutoscalersClientImpl : RegionAutoscalersClient

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

RegionAutoscalers client wrapper implementation, for convenient use.

Inheritance

object > RegionAutoscalersClient > RegionAutoscalersClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The RegionAutoscalers API.

Constructors

RegionAutoscalersClientImpl(RegionAutoscalersClient, RegionAutoscalersSettings, ILogger)

public RegionAutoscalersClientImpl(RegionAutoscalers.RegionAutoscalersClient grpcClient, RegionAutoscalersSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient RegionAutoscalersRegionAutoscalersClient

The underlying gRPC client.

settings RegionAutoscalersSettings

The base RegionAutoscalersSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override RegionAutoscalers.RegionAutoscalersClient GrpcClient { get; }

The underlying gRPC RegionAutoscalers client

Property Value
Type Description
RegionAutoscalersRegionAutoscalersClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
Type Description
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
Type Description
OperationsClient
Overrides

UpdateOperationsClient

public override OperationsClient UpdateOperationsClient { get; }

The long-running operations client for Update.

Property Value
Type Description
OperationsClient
Overrides

Methods

Delete(DeleteRegionAutoscalerRequest, CallSettings)

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

Deletes the specified autoscaler.

Parameters
Name Description
request DeleteRegionAutoscalerRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

DeleteAsync(DeleteRegionAutoscalerRequest, CallSettings)

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

Deletes the specified autoscaler.

Parameters
Name Description
request DeleteRegionAutoscalerRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

Get(GetRegionAutoscalerRequest, CallSettings)

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

Returns the specified autoscaler.

Parameters
Name Description
request GetRegionAutoscalerRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Autoscaler

The RPC response.

Overrides

GetAsync(GetRegionAutoscalerRequest, CallSettings)

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

Returns the specified autoscaler.

Parameters
Name Description
request GetRegionAutoscalerRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAutoscaler

A Task containing the RPC response.

Overrides

Insert(InsertRegionAutoscalerRequest, CallSettings)

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

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

Parameters
Name Description
request InsertRegionAutoscalerRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

InsertAsync(InsertRegionAutoscalerRequest, CallSettings)

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

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

Parameters
Name Description
request InsertRegionAutoscalerRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

List(ListRegionAutoscalersRequest, CallSettings)

public override PagedEnumerable<RegionAutoscalerList, Autoscaler> List(ListRegionAutoscalersRequest request, CallSettings callSettings = null)

Retrieves a list of autoscalers contained within the specified region.

Parameters
Name Description
request ListRegionAutoscalersRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableRegionAutoscalerListAutoscaler

A pageable sequence of Autoscaler resources.

Overrides

ListAsync(ListRegionAutoscalersRequest, CallSettings)

public override PagedAsyncEnumerable<RegionAutoscalerList, Autoscaler> ListAsync(ListRegionAutoscalersRequest request, CallSettings callSettings = null)

Retrieves a list of autoscalers contained within the specified region.

Parameters
Name Description
request ListRegionAutoscalersRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableRegionAutoscalerListAutoscaler

A pageable asynchronous sequence of Autoscaler resources.

Overrides

Patch(PatchRegionAutoscalerRequest, CallSettings)

public override Operation<Operation, Operation> Patch(PatchRegionAutoscalerRequest 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
Name Description
request PatchRegionAutoscalerRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

PatchAsync(PatchRegionAutoscalerRequest, CallSettings)

public override Task<Operation<Operation, Operation>> PatchAsync(PatchRegionAutoscalerRequest 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
Name Description
request PatchRegionAutoscalerRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

Update(UpdateRegionAutoscalerRequest, CallSettings)

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

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

Parameters
Name Description
request UpdateRegionAutoscalerRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

UpdateAsync(UpdateRegionAutoscalerRequest, CallSettings)

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

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

Parameters
Name Description
request UpdateRegionAutoscalerRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides