public sealed class RegionDiskTypesClientImpl : RegionDiskTypesClient
RegionDiskTypes client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The RegionDiskTypes API.
Constructors
RegionDiskTypesClientImpl(RegionDiskTypes.RegionDiskTypesClient, RegionDiskTypesSettings)
public RegionDiskTypesClientImpl(RegionDiskTypes.RegionDiskTypesClient grpcClient, RegionDiskTypesSettings settings)
Constructs a client wrapper for the RegionDiskTypes service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | RegionDiskTypes.RegionDiskTypesClient The underlying gRPC client. |
settings | RegionDiskTypesSettings The base RegionDiskTypesSettings used within this client. |
Properties
GrpcClient
public override RegionDiskTypes.RegionDiskTypesClient GrpcClient { get; }
The underlying gRPC RegionDiskTypes client
Property Value | |
---|---|
Type | Description |
RegionDiskTypes.RegionDiskTypesClient |
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 |
Task<DiskType> | 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 |
PagedEnumerable<RegionDiskTypeList, DiskType> | 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 |
PagedAsyncEnumerable<RegionDiskTypeList, DiskType> | A pageable asynchronous sequence of DiskType resources. |