Class RegionAutoscalersClientImpl (2.1.0)

public sealed class RegionAutoscalersClientImpl : RegionAutoscalersClient

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(RegionAutoscalers.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
NameDescription
grpcClientRegionAutoscalers.RegionAutoscalersClient

The underlying gRPC client.

settingsRegionAutoscalersSettings

The base RegionAutoscalersSettings 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 RegionAutoscalers.RegionAutoscalersClient GrpcClient { get; }

The underlying gRPC RegionAutoscalers client

Property Value
TypeDescription
RegionAutoscalers.RegionAutoscalersClient
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

Delete(DeleteRegionAutoscalerRequest, CallSettings)

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

Deletes the specified autoscaler.

Parameters
NameDescription
requestDeleteRegionAutoscalerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

DeleteAsync(DeleteRegionAutoscalerRequest, CallSettings)

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

Deletes the specified autoscaler.

Parameters
NameDescription
requestDeleteRegionAutoscalerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

Get(GetRegionAutoscalerRequest, CallSettings)

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

Returns the specified autoscaler.

Parameters
NameDescription
requestGetRegionAutoscalerRequest

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(GetRegionAutoscalerRequest, CallSettings)

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

Returns the specified autoscaler.

Parameters
NameDescription
requestGetRegionAutoscalerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Autoscaler>

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
NameDescription
requestInsertRegionAutoscalerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

InsertAsync(InsertRegionAutoscalerRequest, CallSettings)

public override async 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
NameDescription
requestInsertRegionAutoscalerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

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
NameDescription
requestListRegionAutoscalersRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<RegionAutoscalerList, Autoscaler>

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
NameDescription
requestListRegionAutoscalersRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<RegionAutoscalerList, Autoscaler>

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
NameDescription
requestPatchRegionAutoscalerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

PatchAsync(PatchRegionAutoscalerRequest, CallSettings)

public override async 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
NameDescription
requestPatchRegionAutoscalerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

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
NameDescription
requestUpdateRegionAutoscalerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

UpdateAsync(UpdateRegionAutoscalerRequest, CallSettings)

public override async 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
NameDescription
requestUpdateRegionAutoscalerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides