[BindServiceMethod(typeof(StoragePools), "BindService")]
public abstract class StoragePools.StoragePoolsBaseReference documentation and code samples for the Compute Engine v1 API class StoragePools.StoragePoolsBase.
Base class for server-side implementations of StoragePools
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
AggregatedList(AggregatedListStoragePoolsRequest, ServerCallContext)
public virtual Task<StoragePoolAggregatedList> AggregatedList(AggregatedListStoragePoolsRequest request, ServerCallContext context)Retrieves an aggregated list of storage pools. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListStoragePoolsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskStoragePoolAggregatedList |
The response to send back to the client (wrapped by a task). |
Delete(DeleteStoragePoolRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteStoragePoolRequest request, ServerCallContext context)Deletes the specified storage pool. Deleting a storagePool removes its data permanently and is irreversible. However, deleting a storagePool does not delete any snapshots previously made from the storagePool. You must separately delete snapshots.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteStoragePoolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
Get(GetStoragePoolRequest, ServerCallContext)
public virtual Task<StoragePool> Get(GetStoragePoolRequest request, ServerCallContext context)Returns a specified storage pool. Gets a list of available storage pools by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetStoragePoolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskStoragePool |
The response to send back to the client (wrapped by a task). |
GetIamPolicy(GetIamPolicyStoragePoolRequest, ServerCallContext)
public virtual Task<Policy> GetIamPolicy(GetIamPolicyStoragePoolRequest request, ServerCallContext context)Gets the access control policy for a resource. May be empty if no such policy or resource exists.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyStoragePoolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
The response to send back to the client (wrapped by a task). |
Insert(InsertStoragePoolRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertStoragePoolRequest request, ServerCallContext context)Creates a storage pool in the specified project using the data in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertStoragePoolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
List(ListStoragePoolsRequest, ServerCallContext)
public virtual Task<StoragePoolList> List(ListStoragePoolsRequest request, ServerCallContext context)Retrieves a list of storage pools contained within the specified zone.
| Parameters | |
|---|---|
| Name | Description |
request |
ListStoragePoolsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskStoragePoolList |
The response to send back to the client (wrapped by a task). |
ListDisks(ListDisksStoragePoolsRequest, ServerCallContext)
public virtual Task<StoragePoolListDisks> ListDisks(ListDisksStoragePoolsRequest request, ServerCallContext context)Lists the disks in a specified storage pool.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDisksStoragePoolsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskStoragePoolListDisks |
The response to send back to the client (wrapped by a task). |
SetIamPolicy(SetIamPolicyStoragePoolRequest, ServerCallContext)
public virtual Task<Policy> SetIamPolicy(SetIamPolicyStoragePoolRequest request, ServerCallContext context)Sets the access control policy on the specified resource. Replaces any existing policy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyStoragePoolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
The response to send back to the client (wrapped by a task). |
TestIamPermissions(TestIamPermissionsStoragePoolRequest, ServerCallContext)
public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsStoragePoolRequest request, ServerCallContext context)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsStoragePoolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTestPermissionsResponse |
The response to send back to the client (wrapped by a task). |
Update(UpdateStoragePoolRequest, ServerCallContext)
public virtual Task<Operation> Update(UpdateStoragePoolRequest request, ServerCallContext context)Updates the specified storagePool with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: pool_provisioned_capacity_gb, pool_provisioned_iops and pool_provisioned_throughput.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateStoragePoolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |