public class StoragePools.StoragePoolsClient : ClientBase<StoragePools.StoragePoolsClient>
Reference documentation and code samples for the Compute Engine v1 API class StoragePools.StoragePoolsClient.
Client for StoragePools
Inheritance
object > ClientBase > ClientBaseStoragePoolsStoragePoolsClient > StoragePools.StoragePoolsClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
StoragePoolsClient()
protected StoragePoolsClient()
Protected parameterless constructor to allow creation of test doubles.
StoragePoolsClient(CallInvoker)
public StoragePoolsClient(CallInvoker callInvoker)
Creates a new client for StoragePools that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
StoragePoolsClient(ChannelBase)
public StoragePoolsClient(ChannelBase channel)
Creates a new client for StoragePools
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
StoragePoolsClient(ClientBaseConfiguration)
protected StoragePoolsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration The client configuration. |
Methods
AggregatedList(AggregatedListStoragePoolsRequest, CallOptions)
public virtual StoragePoolAggregatedList AggregatedList(AggregatedListStoragePoolsRequest request, CallOptions options)
Retrieves an aggregated list of storage pools. To prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
Parameters | |
---|---|
Name | Description |
request |
AggregatedListStoragePoolsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
StoragePoolAggregatedList |
The response received from the server. |
AggregatedList(AggregatedListStoragePoolsRequest, Metadata, DateTime?, CancellationToken)
public virtual StoragePoolAggregatedList AggregatedList(AggregatedListStoragePoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves an aggregated list of storage pools. To prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
Parameters | |
---|---|
Name | Description |
request |
AggregatedListStoragePoolsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
StoragePoolAggregatedList |
The response received from the server. |
AggregatedListAsync(AggregatedListStoragePoolsRequest, CallOptions)
public virtual AsyncUnaryCall<StoragePoolAggregatedList> AggregatedListAsync(AggregatedListStoragePoolsRequest request, CallOptions options)
Retrieves an aggregated list of storage pools. To prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
Parameters | |
---|---|
Name | Description |
request |
AggregatedListStoragePoolsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallStoragePoolAggregatedList |
The call object. |
AggregatedListAsync(AggregatedListStoragePoolsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<StoragePoolAggregatedList> AggregatedListAsync(AggregatedListStoragePoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves an aggregated list of storage pools. To prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
Parameters | |
---|---|
Name | Description |
request |
AggregatedListStoragePoolsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallStoragePoolAggregatedList |
The call object. |
CreateOperationsClientForZoneOperations()
public virtual Operations.OperationsClient CreateOperationsClientForZoneOperations()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to ZoneOperations.
Returns | |
---|---|
Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
Delete(DeleteStoragePoolRequest, CallOptions)
public virtual Operation Delete(DeleteStoragePoolRequest request, CallOptions options)
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 |
DeleteStoragePoolRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
Delete(DeleteStoragePoolRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Delete(DeleteStoragePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 |
DeleteStoragePoolRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteAsync(DeleteStoragePoolRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteStoragePoolRequest request, CallOptions options)
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 |
DeleteStoragePoolRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteAsync(DeleteStoragePoolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteStoragePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 |
DeleteStoragePoolRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
Get(GetStoragePoolRequest, CallOptions)
public virtual StoragePool Get(GetStoragePoolRequest request, CallOptions options)
Returns a specified storage pool. Gets a list of available storage pools by making a list() request.
Parameters | |
---|---|
Name | Description |
request |
GetStoragePoolRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
StoragePool |
The response received from the server. |
Get(GetStoragePoolRequest, Metadata, DateTime?, CancellationToken)
public virtual StoragePool Get(GetStoragePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns a specified storage pool. Gets a list of available storage pools by making a list() request.
Parameters | |
---|---|
Name | Description |
request |
GetStoragePoolRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
StoragePool |
The response received from the server. |
GetAsync(GetStoragePoolRequest, CallOptions)
public virtual AsyncUnaryCall<StoragePool> GetAsync(GetStoragePoolRequest request, CallOptions options)
Returns a specified storage pool. Gets a list of available storage pools by making a list() request.
Parameters | |
---|---|
Name | Description |
request |
GetStoragePoolRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallStoragePool |
The call object. |
GetAsync(GetStoragePoolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<StoragePool> GetAsync(GetStoragePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns a specified storage pool. Gets a list of available storage pools by making a list() request.
Parameters | |
---|---|
Name | Description |
request |
GetStoragePoolRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallStoragePool |
The call object. |
GetIamPolicy(GetIamPolicyStoragePoolRequest, CallOptions)
public virtual Policy GetIamPolicy(GetIamPolicyStoragePoolRequest request, CallOptions options)
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request |
GetIamPolicyStoragePoolRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Policy |
The response received from the server. |
GetIamPolicy(GetIamPolicyStoragePoolRequest, Metadata, DateTime?, CancellationToken)
public virtual Policy GetIamPolicy(GetIamPolicyStoragePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request |
GetIamPolicyStoragePoolRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Policy |
The response received from the server. |
GetIamPolicyAsync(GetIamPolicyStoragePoolRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyStoragePoolRequest request, CallOptions options)
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request |
GetIamPolicyStoragePoolRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPolicy |
The call object. |
GetIamPolicyAsync(GetIamPolicyStoragePoolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyStoragePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request |
GetIamPolicyStoragePoolRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPolicy |
The call object. |
Insert(InsertStoragePoolRequest, CallOptions)
public virtual Operation Insert(InsertStoragePoolRequest request, CallOptions options)
Creates a storage pool in the specified project using the data in the request.
Parameters | |
---|---|
Name | Description |
request |
InsertStoragePoolRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
Insert(InsertStoragePoolRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Insert(InsertStoragePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a storage pool in the specified project using the data in the request.
Parameters | |
---|---|
Name | Description |
request |
InsertStoragePoolRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
InsertAsync(InsertStoragePoolRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertStoragePoolRequest request, CallOptions options)
Creates a storage pool in the specified project using the data in the request.
Parameters | |
---|---|
Name | Description |
request |
InsertStoragePoolRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
InsertAsync(InsertStoragePoolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertStoragePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a storage pool in the specified project using the data in the request.
Parameters | |
---|---|
Name | Description |
request |
InsertStoragePoolRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
List(ListStoragePoolsRequest, CallOptions)
public virtual StoragePoolList List(ListStoragePoolsRequest request, CallOptions options)
Retrieves a list of storage pools contained within the specified zone.
Parameters | |
---|---|
Name | Description |
request |
ListStoragePoolsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
StoragePoolList |
The response received from the server. |
List(ListStoragePoolsRequest, Metadata, DateTime?, CancellationToken)
public virtual StoragePoolList List(ListStoragePoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves a list of storage pools contained within the specified zone.
Parameters | |
---|---|
Name | Description |
request |
ListStoragePoolsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
StoragePoolList |
The response received from the server. |
ListAsync(ListStoragePoolsRequest, CallOptions)
public virtual AsyncUnaryCall<StoragePoolList> ListAsync(ListStoragePoolsRequest request, CallOptions options)
Retrieves a list of storage pools contained within the specified zone.
Parameters | |
---|---|
Name | Description |
request |
ListStoragePoolsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallStoragePoolList |
The call object. |
ListAsync(ListStoragePoolsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<StoragePoolList> ListAsync(ListStoragePoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves a list of storage pools contained within the specified zone.
Parameters | |
---|---|
Name | Description |
request |
ListStoragePoolsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallStoragePoolList |
The call object. |
ListDisks(ListDisksStoragePoolsRequest, CallOptions)
public virtual StoragePoolListDisks ListDisks(ListDisksStoragePoolsRequest request, CallOptions options)
Lists the disks in a specified storage pool.
Parameters | |
---|---|
Name | Description |
request |
ListDisksStoragePoolsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
StoragePoolListDisks |
The response received from the server. |
ListDisks(ListDisksStoragePoolsRequest, Metadata, DateTime?, CancellationToken)
public virtual StoragePoolListDisks ListDisks(ListDisksStoragePoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists the disks in a specified storage pool.
Parameters | |
---|---|
Name | Description |
request |
ListDisksStoragePoolsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
StoragePoolListDisks |
The response received from the server. |
ListDisksAsync(ListDisksStoragePoolsRequest, CallOptions)
public virtual AsyncUnaryCall<StoragePoolListDisks> ListDisksAsync(ListDisksStoragePoolsRequest request, CallOptions options)
Lists the disks in a specified storage pool.
Parameters | |
---|---|
Name | Description |
request |
ListDisksStoragePoolsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallStoragePoolListDisks |
The call object. |
ListDisksAsync(ListDisksStoragePoolsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<StoragePoolListDisks> ListDisksAsync(ListDisksStoragePoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists the disks in a specified storage pool.
Parameters | |
---|---|
Name | Description |
request |
ListDisksStoragePoolsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallStoragePoolListDisks |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override StoragePools.StoragePoolsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
StoragePoolsStoragePoolsClient |
SetIamPolicy(SetIamPolicyStoragePoolRequest, CallOptions)
public virtual Policy SetIamPolicy(SetIamPolicyStoragePoolRequest request, CallOptions options)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request |
SetIamPolicyStoragePoolRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Policy |
The response received from the server. |
SetIamPolicy(SetIamPolicyStoragePoolRequest, Metadata, DateTime?, CancellationToken)
public virtual Policy SetIamPolicy(SetIamPolicyStoragePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request |
SetIamPolicyStoragePoolRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Policy |
The response received from the server. |
SetIamPolicyAsync(SetIamPolicyStoragePoolRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyStoragePoolRequest request, CallOptions options)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request |
SetIamPolicyStoragePoolRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPolicy |
The call object. |
SetIamPolicyAsync(SetIamPolicyStoragePoolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyStoragePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request |
SetIamPolicyStoragePoolRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPolicy |
The call object. |
TestIamPermissions(TestIamPermissionsStoragePoolRequest, CallOptions)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsStoragePoolRequest request, CallOptions options)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request |
TestIamPermissionsStoragePoolRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TestPermissionsResponse |
The response received from the server. |
TestIamPermissions(TestIamPermissionsStoragePoolRequest, Metadata, DateTime?, CancellationToken)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsStoragePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request |
TestIamPermissionsStoragePoolRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
TestPermissionsResponse |
The response received from the server. |
TestIamPermissionsAsync(TestIamPermissionsStoragePoolRequest, CallOptions)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsStoragePoolRequest request, CallOptions options)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request |
TestIamPermissionsStoragePoolRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTestPermissionsResponse |
The call object. |
TestIamPermissionsAsync(TestIamPermissionsStoragePoolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsStoragePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request |
TestIamPermissionsStoragePoolRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTestPermissionsResponse |
The call object. |
Update(UpdateStoragePoolRequest, CallOptions)
public virtual Operation Update(UpdateStoragePoolRequest request, CallOptions options)
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 |
UpdateStoragePoolRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
Update(UpdateStoragePoolRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Update(UpdateStoragePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 |
UpdateStoragePoolRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateAsync(UpdateStoragePoolRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateAsync(UpdateStoragePoolRequest request, CallOptions options)
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 |
UpdateStoragePoolRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateAsync(UpdateStoragePoolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateAsync(UpdateStoragePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 |
UpdateStoragePoolRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |