Class AutoscalersClientImpl (1.3.0)

public sealed class AutoscalersClientImpl : AutoscalersClient

Autoscalers client wrapper implementation, for convenient use.

Inheritance

Object > AutoscalersClient > AutoscalersClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The Autoscalers API.

Constructors

AutoscalersClientImpl(Autoscalers.AutoscalersClient, AutoscalersSettings)

public AutoscalersClientImpl(Autoscalers.AutoscalersClient grpcClient, AutoscalersSettings settings)

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

Parameters
NameDescription
grpcClientAutoscalers.AutoscalersClient

The underlying gRPC client.

settingsAutoscalersSettings

The base AutoscalersSettings used 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
Autoscalers.AutoscalersClient
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
PagedEnumerable<AutoscalerAggregatedList, KeyValuePair<String, AutoscalersScopedList>>

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
PagedAsyncEnumerable<AutoscalerAggregatedList, KeyValuePair<String, AutoscalersScopedList>>

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
Operation<Operation, Operation>

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
Task<Operation<Operation, Operation>>

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
Task<Autoscaler>

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
Operation<Operation, Operation>

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
Task<Operation<Operation, Operation>>

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
PagedEnumerable<AutoscalerList, Autoscaler>

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
PagedAsyncEnumerable<AutoscalerList, Autoscaler>

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
Operation<Operation, Operation>

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
Task<Operation<Operation, Operation>>

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
Operation<Operation, Operation>

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
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides