Compute Engine v1 API - Class NodeTypesClientImpl (2.10.0)

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.

Inheritance

object > NodeTypesClient > NodeTypesClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

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
NameDescription
grpcClientNodeTypesNodeTypesClient

The underlying gRPC client.

settingsNodeTypesSettings

The base NodeTypesSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override NodeTypes.NodeTypesClient GrpcClient { get; }

The underlying gRPC NodeTypes client

Property Value
TypeDescription
NodeTypesNodeTypesClient
Overrides

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
NameDescription
requestAggregatedListNodeTypesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableNodeTypeAggregatedListKeyValuePairstringNodeTypesScopedList

A pageable sequence of KeyValuePair<TKey, TValue> resources.

Overrides

AggregatedListAsync(AggregatedListNodeTypesRequest, CallSettings)

public override PagedAsyncEnumerable<NodeTypeAggregatedList, KeyValuePair<string, NodeTypesScopedList>> AggregatedListAsync(AggregatedListNodeTypesRequest request, CallSettings callSettings = null)

Retrieves an aggregated list of node types.

Parameters
NameDescription
requestAggregatedListNodeTypesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableNodeTypeAggregatedListKeyValuePairstringNodeTypesScopedList

A pageable asynchronous sequence of KeyValuePair<TKey, TValue> resources.

Overrides

Get(GetNodeTypeRequest, CallSettings)

public override NodeType Get(GetNodeTypeRequest request, CallSettings callSettings = null)

Returns the specified node type.

Parameters
NameDescription
requestGetNodeTypeRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
NodeType

The RPC response.

Overrides

GetAsync(GetNodeTypeRequest, CallSettings)

public override Task<NodeType> GetAsync(GetNodeTypeRequest request, CallSettings callSettings = null)

Returns the specified node type.

Parameters
NameDescription
requestGetNodeTypeRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskNodeType

A Task containing the RPC response.

Overrides

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
NameDescription
requestListNodeTypesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableNodeTypeListNodeType

A pageable sequence of NodeType resources.

Overrides

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
NameDescription
requestListNodeTypesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableNodeTypeListNodeType

A pageable asynchronous sequence of NodeType resources.

Overrides