public sealed class RegionDiskTypesClientImpl : RegionDiskTypesClient
Reference documentation and code samples for the Compute Engine v1 API class RegionDiskTypesClientImpl.
RegionDiskTypes client wrapper implementation, for convenient use.
Namespace
GoogleCloudGoogle.Cloud.ComputeV1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The RegionDiskTypes API.
Constructors
RegionDiskTypesClientImpl(RegionDiskTypesClient, RegionDiskTypesSettings, ILogger)
public RegionDiskTypesClientImpl(RegionDiskTypes.RegionDiskTypesClient grpcClient, RegionDiskTypesSettings settings, ILogger logger)
Constructs a client wrapper for the RegionDiskTypes service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | RegionDiskTypesRegionDiskTypesClient The underlying gRPC client. |
settings | RegionDiskTypesSettings The base RegionDiskTypesSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override RegionDiskTypes.RegionDiskTypesClient GrpcClient { get; }
The underlying gRPC RegionDiskTypes client
Property Value | |
---|---|
Type | Description |
RegionDiskTypesRegionDiskTypesClient |
Methods
Get(GetRegionDiskTypeRequest, CallSettings)
public override DiskType Get(GetRegionDiskTypeRequest request, CallSettings callSettings = null)
Returns the specified regional disk type. Gets a list of available disk types by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetRegionDiskTypeRequest 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 |
DiskType | The RPC response. |
GetAsync(GetRegionDiskTypeRequest, CallSettings)
public override Task<DiskType> GetAsync(GetRegionDiskTypeRequest request, CallSettings callSettings = null)
Returns the specified regional disk type. Gets a list of available disk types by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetRegionDiskTypeRequest 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 |
TaskDiskType | A Task containing the RPC response. |
List(ListRegionDiskTypesRequest, CallSettings)
public override PagedEnumerable<RegionDiskTypeList, DiskType> List(ListRegionDiskTypesRequest request, CallSettings callSettings = null)
Retrieves a list of regional disk types available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListRegionDiskTypesRequest 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 |
PagedEnumerableRegionDiskTypeListDiskType | A pageable sequence of DiskType resources. |
ListAsync(ListRegionDiskTypesRequest, CallSettings)
public override PagedAsyncEnumerable<RegionDiskTypeList, DiskType> ListAsync(ListRegionDiskTypesRequest request, CallSettings callSettings = null)
Retrieves a list of regional disk types available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListRegionDiskTypesRequest 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 |
PagedAsyncEnumerableRegionDiskTypeListDiskType | A pageable asynchronous sequence of DiskType resources. |