public sealed class DiskTypesClientImpl : DiskTypesClientReference documentation and code samples for the Compute Engine v1 API class DiskTypesClientImpl.
DiskTypes client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The DiskTypes API.
Constructors
DiskTypesClientImpl(DiskTypesClient, DiskTypesSettings, ILogger)
public DiskTypesClientImpl(DiskTypes.DiskTypesClient grpcClient, DiskTypesSettings settings, ILogger logger)Constructs a client wrapper for the DiskTypes service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description | 
grpcClient | 
        DiskTypesDiskTypesClientThe underlying gRPC client.  | 
      
settings | 
        DiskTypesSettingsThe base DiskTypesSettings used within this client.  | 
      
logger | 
        ILoggerOptional ILogger to use within this client.  | 
      
Properties
GrpcClient
public override DiskTypes.DiskTypesClient GrpcClient { get; }The underlying gRPC DiskTypes client
| Property Value | |
|---|---|
| Type | Description | 
DiskTypesDiskTypesClient | 
        |
Methods
AggregatedList(AggregatedListDiskTypesRequest, CallSettings)
public override PagedEnumerable<DiskTypeAggregatedList, KeyValuePair<string, DiskTypesScopedList>> AggregatedList(AggregatedListDiskTypesRequest request, CallSettings callSettings = null)Retrieves an aggregated list of disk types. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        AggregatedListDiskTypesRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PagedEnumerableDiskTypeAggregatedListKeyValuePairstringDiskTypesScopedList | 
        A pageable sequence of KeyValuePair<TKey, TValue> resources.  | 
      
AggregatedListAsync(AggregatedListDiskTypesRequest, CallSettings)
public override PagedAsyncEnumerable<DiskTypeAggregatedList, KeyValuePair<string, DiskTypesScopedList>> AggregatedListAsync(AggregatedListDiskTypesRequest request, CallSettings callSettings = null)Retrieves an aggregated list of disk types. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        AggregatedListDiskTypesRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PagedAsyncEnumerableDiskTypeAggregatedListKeyValuePairstringDiskTypesScopedList | 
        A pageable asynchronous sequence of KeyValuePair<TKey, TValue> resources.  | 
      
Get(GetDiskTypeRequest, CallSettings)
public override DiskType Get(GetDiskTypeRequest request, CallSettings callSettings = null)Returns the specified disk type.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetDiskTypeRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
DiskType | 
        The RPC response.  | 
      
GetAsync(GetDiskTypeRequest, CallSettings)
public override Task<DiskType> GetAsync(GetDiskTypeRequest request, CallSettings callSettings = null)Returns the specified disk type.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetDiskTypeRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskDiskType | 
        A Task containing the RPC response.  | 
      
List(ListDiskTypesRequest, CallSettings)
public override PagedEnumerable<DiskTypeList, DiskType> List(ListDiskTypesRequest request, CallSettings callSettings = null)Retrieves a list of disk types available to the specified project.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListDiskTypesRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PagedEnumerableDiskTypeListDiskType | 
        A pageable sequence of DiskType resources.  | 
      
ListAsync(ListDiskTypesRequest, CallSettings)
public override PagedAsyncEnumerable<DiskTypeList, DiskType> ListAsync(ListDiskTypesRequest request, CallSettings callSettings = null)Retrieves a list of disk types available to the specified project.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListDiskTypesRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PagedAsyncEnumerableDiskTypeListDiskType | 
        A pageable asynchronous sequence of DiskType resources.  |