Compute Engine v1 API - Class NodeTypesClientImpl (2.16.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
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
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. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

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.

Overrides

AggregatedListAsync(AggregatedListNodeTypesRequest, CallSettings)

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

Retrieves an aggregated list of node types. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

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.

Overrides

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.

Overrides

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.

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
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.

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
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.

Overrides