public sealed class NodeTypesClientImpl : NodeTypesClient
Reference documentation and code samples for the Compute Engine v1 API class NodeTypesClientImpl.
NodeTypes client wrapper implementation, for convenient use.
Namespace
GoogleCloudGoogle.Cloud.ComputeV1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The NodeTypes API.
Constructors
NodeTypesClientImpl(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 | NodeTypesNodeTypesClient 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 |
NodeTypesNodeTypesClient |
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 |
PagedEnumerableNodeTypeAggregatedListKeyValuePairstringNodeTypesScopedList | 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 |
PagedAsyncEnumerableNodeTypeAggregatedListKeyValuePairstringNodeTypesScopedList | 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.
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.
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 |
TaskNodeType | 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 |
PagedEnumerableNodeTypeListNodeType | 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 |
PagedAsyncEnumerableNodeTypeListNodeType | A pageable asynchronous sequence of NodeType resources. |