Class NodeTypesClientImpl (2.1.0)

public sealed class NodeTypesClientImpl : NodeTypesClient

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(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
NameDescription
grpcClientNodeTypes.NodeTypesClient

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
NodeTypes.NodeTypesClient
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
PagedEnumerable<NodeTypeAggregatedList, KeyValuePair<String, NodeTypesScopedList>>

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
PagedAsyncEnumerable<NodeTypeAggregatedList, KeyValuePair<String, NodeTypesScopedList>>

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. Gets a list of available node types by making a list() request.

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. Gets a list of available node types by making a list() request.

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
Task<NodeType>

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
PagedEnumerable<NodeTypeList, NodeType>

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
PagedAsyncEnumerable<NodeTypeList, NodeType>

A pageable asynchronous sequence of NodeType resources.

Overrides