class NodeTypes extends Resource (View source)

The "nodeTypes" collection of methods.

Typical usage is:

 $computeService = new Google\Service\Compute(...);
 $nodeTypes = $computeService->nodeTypes;

Methods

aggregatedList(string $project, array $optParams = [])

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

get(string $project, string $zone, string $nodeType, array $optParams = [])

Returns the specified node type. (nodeTypes.get)

listNodeTypes(string $project, string $zone, array $optParams = [])

Retrieves a list of node types available to the specified project.

Details

NodeTypeAggregatedList aggregatedList(string $project, array $optParams = [])

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

(nodeTypes.aggregatedList)

Parameters

string $project

Project ID for this request.

array $optParams

Optional parameters.

Return Value

NodeTypeAggregatedList

Exceptions

Exception

NodeType get(string $project, string $zone, string $nodeType, array $optParams = [])

Returns the specified node type. (nodeTypes.get)

Parameters

string $project

Project ID for this request.

string $zone

The name of the zone for this request.

string $nodeType

Name of the node type to return.

array $optParams

Optional parameters.

Return Value

NodeType

Exceptions

Exception

NodeTypeList listNodeTypes(string $project, string $zone, array $optParams = [])

Retrieves a list of node types available to the specified project.

(nodeTypes.listNodeTypes)

Parameters

string $project

Project ID for this request.

string $zone

The name of the zone for this request.

array $optParams

Optional parameters.

Return Value

NodeTypeList

Exceptions

Exception