public class StoragePoolTypes.StoragePoolTypesClient : ClientBase<StoragePoolTypes.StoragePoolTypesClient>Reference documentation and code samples for the Compute Engine v1 API class StoragePoolTypes.StoragePoolTypesClient.
Client for StoragePoolTypes
Inheritance
object > ClientBase > ClientBaseStoragePoolTypesStoragePoolTypesClient > StoragePoolTypes.StoragePoolTypesClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
StoragePoolTypesClient()
protected StoragePoolTypesClient()Protected parameterless constructor to allow creation of test doubles.
StoragePoolTypesClient(CallInvoker)
public StoragePoolTypesClient(CallInvoker callInvoker)Creates a new client for StoragePoolTypes that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
StoragePoolTypesClient(ChannelBase)
public StoragePoolTypesClient(ChannelBase channel)Creates a new client for StoragePoolTypes
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
StoragePoolTypesClient(ClientBaseConfiguration)
protected StoragePoolTypesClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
AggregatedList(AggregatedListStoragePoolTypesRequest, CallOptions)
public virtual StoragePoolTypeAggregatedList AggregatedList(AggregatedListStoragePoolTypesRequest request, CallOptions options)Retrieves an aggregated list of storage pool types. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListStoragePoolTypesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
StoragePoolTypeAggregatedList |
The response received from the server. |
AggregatedList(AggregatedListStoragePoolTypesRequest, Metadata, DateTime?, CancellationToken)
public virtual StoragePoolTypeAggregatedList AggregatedList(AggregatedListStoragePoolTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Retrieves an aggregated list of storage pool types. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListStoragePoolTypesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
StoragePoolTypeAggregatedList |
The response received from the server. |
AggregatedListAsync(AggregatedListStoragePoolTypesRequest, CallOptions)
public virtual AsyncUnaryCall<StoragePoolTypeAggregatedList> AggregatedListAsync(AggregatedListStoragePoolTypesRequest request, CallOptions options)Retrieves an aggregated list of storage pool types. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListStoragePoolTypesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallStoragePoolTypeAggregatedList |
The call object. |
AggregatedListAsync(AggregatedListStoragePoolTypesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<StoragePoolTypeAggregatedList> AggregatedListAsync(AggregatedListStoragePoolTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Retrieves an aggregated list of storage pool types. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListStoragePoolTypesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallStoragePoolTypeAggregatedList |
The call object. |
Get(GetStoragePoolTypeRequest, CallOptions)
public virtual StoragePoolType Get(GetStoragePoolTypeRequest request, CallOptions options)Returns the specified storage pool type.
| Parameters | |
|---|---|
| Name | Description |
request |
GetStoragePoolTypeRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
StoragePoolType |
The response received from the server. |
Get(GetStoragePoolTypeRequest, Metadata, DateTime?, CancellationToken)
public virtual StoragePoolType Get(GetStoragePoolTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns the specified storage pool type.
| Parameters | |
|---|---|
| Name | Description |
request |
GetStoragePoolTypeRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
StoragePoolType |
The response received from the server. |
GetAsync(GetStoragePoolTypeRequest, CallOptions)
public virtual AsyncUnaryCall<StoragePoolType> GetAsync(GetStoragePoolTypeRequest request, CallOptions options)Returns the specified storage pool type.
| Parameters | |
|---|---|
| Name | Description |
request |
GetStoragePoolTypeRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallStoragePoolType |
The call object. |
GetAsync(GetStoragePoolTypeRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<StoragePoolType> GetAsync(GetStoragePoolTypeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns the specified storage pool type.
| Parameters | |
|---|---|
| Name | Description |
request |
GetStoragePoolTypeRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallStoragePoolType |
The call object. |
List(ListStoragePoolTypesRequest, CallOptions)
public virtual StoragePoolTypeList List(ListStoragePoolTypesRequest request, CallOptions options)Retrieves a list of storage pool types available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListStoragePoolTypesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
StoragePoolTypeList |
The response received from the server. |
List(ListStoragePoolTypesRequest, Metadata, DateTime?, CancellationToken)
public virtual StoragePoolTypeList List(ListStoragePoolTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Retrieves a list of storage pool types available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListStoragePoolTypesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
StoragePoolTypeList |
The response received from the server. |
ListAsync(ListStoragePoolTypesRequest, CallOptions)
public virtual AsyncUnaryCall<StoragePoolTypeList> ListAsync(ListStoragePoolTypesRequest request, CallOptions options)Retrieves a list of storage pool types available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListStoragePoolTypesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallStoragePoolTypeList |
The call object. |
ListAsync(ListStoragePoolTypesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<StoragePoolTypeList> ListAsync(ListStoragePoolTypesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Retrieves a list of storage pool types available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListStoragePoolTypesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallStoragePoolTypeList |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override StoragePoolTypes.StoragePoolTypesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
StoragePoolTypesStoragePoolTypesClient |
|