public sealed class StoragePoolTypesClientImpl : StoragePoolTypesClient
Reference documentation and code samples for the Compute Engine v1 API class StoragePoolTypesClientImpl.
StoragePoolTypes client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The StoragePoolTypes API.
Constructors
StoragePoolTypesClientImpl(StoragePoolTypesClient, StoragePoolTypesSettings, ILogger)
public StoragePoolTypesClientImpl(StoragePoolTypes.StoragePoolTypesClient grpcClient, StoragePoolTypesSettings settings, ILogger logger)
Constructs a client wrapper for the StoragePoolTypes service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient |
StoragePoolTypesStoragePoolTypesClient The underlying gRPC client. |
settings |
StoragePoolTypesSettings The base StoragePoolTypesSettings used within this client. |
logger |
ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override StoragePoolTypes.StoragePoolTypesClient GrpcClient { get; }
The underlying gRPC StoragePoolTypes client
Property Value | |
---|---|
Type | Description |
StoragePoolTypesStoragePoolTypesClient |
Methods
AggregatedList(AggregatedListStoragePoolTypesRequest, CallSettings)
public override PagedEnumerable<StoragePoolTypeAggregatedList, KeyValuePair<string, StoragePoolTypesScopedList>> AggregatedList(AggregatedListStoragePoolTypesRequest request, CallSettings callSettings = null)
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 |
AggregatedListStoragePoolTypesRequest 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 |
PagedEnumerableStoragePoolTypeAggregatedListKeyValuePairstringStoragePoolTypesScopedList |
A pageable sequence of KeyValuePair<TKey, TValue> resources. |
AggregatedListAsync(AggregatedListStoragePoolTypesRequest, CallSettings)
public override PagedAsyncEnumerable<StoragePoolTypeAggregatedList, KeyValuePair<string, StoragePoolTypesScopedList>> AggregatedListAsync(AggregatedListStoragePoolTypesRequest request, CallSettings callSettings = null)
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 |
AggregatedListStoragePoolTypesRequest 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 |
PagedAsyncEnumerableStoragePoolTypeAggregatedListKeyValuePairstringStoragePoolTypesScopedList |
A pageable asynchronous sequence of KeyValuePair<TKey, TValue> resources. |
Get(GetStoragePoolTypeRequest, CallSettings)
public override StoragePoolType Get(GetStoragePoolTypeRequest request, CallSettings callSettings = null)
Returns the specified storage pool type.
Parameters | |
---|---|
Name | Description |
request |
GetStoragePoolTypeRequest 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 |
StoragePoolType |
The RPC response. |
GetAsync(GetStoragePoolTypeRequest, CallSettings)
public override Task<StoragePoolType> GetAsync(GetStoragePoolTypeRequest request, CallSettings callSettings = null)
Returns the specified storage pool type.
Parameters | |
---|---|
Name | Description |
request |
GetStoragePoolTypeRequest 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 |
TaskStoragePoolType |
A Task containing the RPC response. |
List(ListStoragePoolTypesRequest, CallSettings)
public override PagedEnumerable<StoragePoolTypeList, StoragePoolType> List(ListStoragePoolTypesRequest request, CallSettings callSettings = null)
Retrieves a list of storage pool types available to the specified project.
Parameters | |
---|---|
Name | Description |
request |
ListStoragePoolTypesRequest 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 |
PagedEnumerableStoragePoolTypeListStoragePoolType |
A pageable sequence of StoragePoolType resources. |
ListAsync(ListStoragePoolTypesRequest, CallSettings)
public override PagedAsyncEnumerable<StoragePoolTypeList, StoragePoolType> ListAsync(ListStoragePoolTypesRequest request, CallSettings callSettings = null)
Retrieves a list of storage pool types available to the specified project.
Parameters | |
---|---|
Name | Description |
request |
ListStoragePoolTypesRequest 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 |
PagedAsyncEnumerableStoragePoolTypeListStoragePoolType |
A pageable asynchronous sequence of StoragePoolType resources. |