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.
Namespace
GoogleCloudGoogle.Cloud.ComputeV1Assembly
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 | |
---|---|
Name | Description |
grpcClient | AutoscalersAutoscalersClient The underlying gRPC client. |
settings | AutoscalersSettings The base AutoscalersSettings 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 |
GrpcClient
public override Autoscalers.AutoscalersClient GrpcClient { get; }
The underlying gRPC Autoscalers client
Property Value | |
---|---|
Type | Description |
AutoscalersAutoscalersClient |
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }
The long-running operations client for Insert
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
PatchOperationsClient
public override OperationsClient PatchOperationsClient { get; }
The long-running operations client for Patch
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateOperationsClient
public override OperationsClient UpdateOperationsClient { get; }
The long-running operations client for Update
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
AggregatedList(AggregatedListAutoscalersRequest, CallSettings)
public override PagedEnumerable<AutoscalerAggregatedList, KeyValuePair<string, AutoscalersScopedList>> AggregatedList(AggregatedListAutoscalersRequest request, CallSettings callSettings = null)
Retrieves an aggregated list of autoscalers.
Parameters | |
---|---|
Name | Description |
request | AggregatedListAutoscalersRequest 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 |
PagedEnumerableAutoscalerAggregatedListKeyValuePairstringAutoscalersScopedList | A pageable sequence of KeyValuePair<TKey,TValue> resources. |
AggregatedListAsync(AggregatedListAutoscalersRequest, CallSettings)
public override PagedAsyncEnumerable<AutoscalerAggregatedList, KeyValuePair<string, AutoscalersScopedList>> AggregatedListAsync(AggregatedListAutoscalersRequest request, CallSettings callSettings = null)
Retrieves an aggregated list of autoscalers.
Parameters | |
---|---|
Name | Description |
request | AggregatedListAutoscalersRequest 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 |
PagedAsyncEnumerableAutoscalerAggregatedListKeyValuePairstringAutoscalersScopedList | A pageable asynchronous sequence of KeyValuePair<TKey,TValue> resources. |
Delete(DeleteAutoscalerRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteAutoscalerRequest request, CallSettings callSettings = null)
Deletes the specified autoscaler.
Parameters | |
---|---|
Name | Description |
request | DeleteAutoscalerRequest 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. |
DeleteAsync(DeleteAutoscalerRequest, CallSettings)
public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteAutoscalerRequest request, CallSettings callSettings = null)
Deletes the specified autoscaler.
Parameters | |
---|---|
Name | Description |
request | DeleteAutoscalerRequest 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. |
Get(GetAutoscalerRequest, CallSettings)
public override Autoscaler Get(GetAutoscalerRequest request, CallSettings callSettings = null)
Returns the specified autoscaler resource.
Parameters | |
---|---|
Name | Description |
request | GetAutoscalerRequest 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. |
GetAsync(GetAutoscalerRequest, CallSettings)
public override Task<Autoscaler> GetAsync(GetAutoscalerRequest request, CallSettings callSettings = null)
Returns the specified autoscaler resource.
Parameters | |
---|---|
Name | Description |
request | GetAutoscalerRequest 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. |
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 | |
---|---|
Name | Description |
request | InsertAutoscalerRequest 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. |
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 | |
---|---|
Name | Description |
request | InsertAutoscalerRequest 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. |
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 | |
---|---|
Name | Description |
request | ListAutoscalersRequest 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 |
PagedEnumerableAutoscalerListAutoscaler | A pageable sequence of Autoscaler resources. |
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 | |
---|---|
Name | Description |
request | ListAutoscalersRequest 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 |
PagedAsyncEnumerableAutoscalerListAutoscaler | A pageable asynchronous sequence of Autoscaler resources. |
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 | |
---|---|
Name | Description |
request | PatchAutoscalerRequest 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. |
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 | |
---|---|
Name | Description |
request | PatchAutoscalerRequest 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. |
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 | |
---|---|
Name | Description |
request | UpdateAutoscalerRequest 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. |
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 | |
---|---|
Name | Description |
request | UpdateAutoscalerRequest 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. |