public sealed class RegionAutoscalersClientImpl : RegionAutoscalersClient
RegionAutoscalers client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
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 | |
---|---|
Name | Description |
grpcClient | RegionAutoscalers.RegionAutoscalersClient 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 |
GrpcClient
public override RegionAutoscalers.RegionAutoscalersClient GrpcClient { get; }
The underlying gRPC RegionAutoscalers client
Property Value | |
---|---|
Type | Description |
RegionAutoscalers.RegionAutoscalersClient |
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
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 |
Operation<Operation, Operation> | The RPC response. |
DeleteAsync(DeleteRegionAutoscalerRequest, CallSettings)
public override async 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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
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. |
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 |
Task<Autoscaler> | A Task containing the RPC response. |
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 |
Operation<Operation, Operation> | The RPC response. |
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 | |
---|---|
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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
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 |
PagedEnumerable<RegionAutoscalerList, Autoscaler> | A pageable sequence of Autoscaler resources. |
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 |
PagedAsyncEnumerable<RegionAutoscalerList, Autoscaler> | A pageable asynchronous sequence of Autoscaler resources. |
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 |
Operation<Operation, Operation> | The RPC response. |
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 | |
---|---|
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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
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 |
Operation<Operation, Operation> | The RPC response. |
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 | |
---|---|
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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |