public sealed class NodeTypesClientImpl : NodeTypesClient
NodeTypes client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The NodeTypes API.
Constructors
NodeTypesClientImpl(NodeTypes.NodeTypesClient, NodeTypesSettings, ILogger)
public NodeTypesClientImpl(NodeTypes.NodeTypesClient grpcClient, NodeTypesSettings settings, ILogger logger)
Constructs a client wrapper for the NodeTypes service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | NodeTypes.NodeTypesClient The underlying gRPC client. |
settings | NodeTypesSettings The base NodeTypesSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override NodeTypes.NodeTypesClient GrpcClient { get; }
The underlying gRPC NodeTypes client
Property Value | |
---|---|
Type | Description |
NodeTypes.NodeTypesClient |
Methods
AggregatedList(AggregatedListNodeTypesRequest, CallSettings)
public override PagedEnumerable<NodeTypeAggregatedList, KeyValuePair<string, NodeTypesScopedList>> AggregatedList(AggregatedListNodeTypesRequest request, CallSettings callSettings = null)
Retrieves an aggregated list of node types.
Parameters | |
---|---|
Name | Description |
request | AggregatedListNodeTypesRequest 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<NodeTypeAggregatedList, KeyValuePair<String, NodeTypesScopedList>> | A pageable sequence of KeyValuePair<TKey,TValue> resources. |
AggregatedListAsync(AggregatedListNodeTypesRequest, CallSettings)
public override PagedAsyncEnumerable<NodeTypeAggregatedList, KeyValuePair<string, NodeTypesScopedList>> AggregatedListAsync(AggregatedListNodeTypesRequest request, CallSettings callSettings = null)
Retrieves an aggregated list of node types.
Parameters | |
---|---|
Name | Description |
request | AggregatedListNodeTypesRequest 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<NodeTypeAggregatedList, KeyValuePair<String, NodeTypesScopedList>> | A pageable asynchronous sequence of KeyValuePair<TKey,TValue> resources. |
Get(GetNodeTypeRequest, CallSettings)
public override NodeType Get(GetNodeTypeRequest request, CallSettings callSettings = null)
Returns the specified node type. Gets a list of available node types by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetNodeTypeRequest 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 |
NodeType | The RPC response. |
GetAsync(GetNodeTypeRequest, CallSettings)
public override Task<NodeType> GetAsync(GetNodeTypeRequest request, CallSettings callSettings = null)
Returns the specified node type. Gets a list of available node types by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetNodeTypeRequest 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<NodeType> | A Task containing the RPC response. |
List(ListNodeTypesRequest, CallSettings)
public override PagedEnumerable<NodeTypeList, NodeType> List(ListNodeTypesRequest request, CallSettings callSettings = null)
Retrieves a list of node types available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListNodeTypesRequest 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<NodeTypeList, NodeType> | A pageable sequence of NodeType resources. |
ListAsync(ListNodeTypesRequest, CallSettings)
public override PagedAsyncEnumerable<NodeTypeList, NodeType> ListAsync(ListNodeTypesRequest request, CallSettings callSettings = null)
Retrieves a list of node types available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListNodeTypesRequest 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<NodeTypeList, NodeType> | A pageable asynchronous sequence of NodeType resources. |