Class RegionOperationsClientImpl (1.1.0)

public sealed class RegionOperationsClientImpl : RegionOperationsClient

RegionOperations client wrapper implementation, for convenient use.

Inheritance

Object > RegionOperationsClient > RegionOperationsClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The RegionOperations API.

Constructors

RegionOperationsClientImpl(RegionOperations.RegionOperationsClient, RegionOperationsSettings)

public RegionOperationsClientImpl(RegionOperations.RegionOperationsClient grpcClient, RegionOperationsSettings settings)

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

Parameters
NameDescription
grpcClientRegionOperations.RegionOperationsClient

The underlying gRPC client.

settingsRegionOperationsSettings

The base RegionOperationsSettings used within this client.

Properties

GrpcClient

public override RegionOperations.RegionOperationsClient GrpcClient { get; }

The underlying gRPC RegionOperations client

Property Value
TypeDescription
RegionOperations.RegionOperationsClient
Overrides

Methods

Delete(DeleteRegionOperationRequest, CallSettings)

public override DeleteRegionOperationResponse Delete(DeleteRegionOperationRequest request, CallSettings callSettings = null)

Deletes the specified region-specific Operations resource.

Parameters
NameDescription
requestDeleteRegionOperationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
DeleteRegionOperationResponse

The RPC response.

Overrides

DeleteAsync(DeleteRegionOperationRequest, CallSettings)

public override Task<DeleteRegionOperationResponse> DeleteAsync(DeleteRegionOperationRequest request, CallSettings callSettings = null)

Deletes the specified region-specific Operations resource.

Parameters
NameDescription
requestDeleteRegionOperationRequest

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<DeleteRegionOperationResponse>

A Task containing the RPC response.

Overrides

Get(GetRegionOperationRequest, CallSettings)

public override Operation Get(GetRegionOperationRequest request, CallSettings callSettings = null)

Retrieves the specified region-specific Operations resource.

Parameters
NameDescription
requestGetRegionOperationRequest

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

The RPC response.

Overrides

GetAsync(GetRegionOperationRequest, CallSettings)

public override Task<Operation> GetAsync(GetRegionOperationRequest request, CallSettings callSettings = null)

Retrieves the specified region-specific Operations resource.

Parameters
NameDescription
requestGetRegionOperationRequest

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>

A Task containing the RPC response.

Overrides

List(ListRegionOperationsRequest, CallSettings)

public override PagedEnumerable<OperationList, Operation> List(ListRegionOperationsRequest request, CallSettings callSettings = null)

Retrieves a list of Operation resources contained within the specified region.

Parameters
NameDescription
requestListRegionOperationsRequest

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

A pageable sequence of Operation resources.

Overrides

ListAsync(ListRegionOperationsRequest, CallSettings)

public override PagedAsyncEnumerable<OperationList, Operation> ListAsync(ListRegionOperationsRequest request, CallSettings callSettings = null)

Retrieves a list of Operation resources contained within the specified region.

Parameters
NameDescription
requestListRegionOperationsRequest

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

A pageable asynchronous sequence of Operation resources.

Overrides

Wait(WaitRegionOperationRequest, CallSettings)

public override Operation Wait(WaitRegionOperationRequest request, CallSettings callSettings = null)

Waits for the specified Operation resource to return as DONE or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method differs from the GET method in that it waits for no more than the default deadline (2 minutes) and then returns the current state of the operation, which might be DONE or still in progress. This method is called on a best-effort basis. Specifically: - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds. - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not DONE.

Parameters
NameDescription
requestWaitRegionOperationRequest

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

The RPC response.

Overrides

WaitAsync(WaitRegionOperationRequest, CallSettings)

public override Task<Operation> WaitAsync(WaitRegionOperationRequest request, CallSettings callSettings = null)

Waits for the specified Operation resource to return as DONE or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method differs from the GET method in that it waits for no more than the default deadline (2 minutes) and then returns the current state of the operation, which might be DONE or still in progress. This method is called on a best-effort basis. Specifically: - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds. - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not DONE.

Parameters
NameDescription
requestWaitRegionOperationRequest

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>

A Task containing the RPC response.

Overrides