ProjectsRegionsClustersNodeGroups
class ProjectsRegionsClustersNodeGroups extends Resource (View source)
The "nodeGroups" collection of methods.
Typical usage is:
$dataprocService = new Google\Service\Dataproc(...);
$nodeGroups = $dataprocService->projects_regions_clusters_nodeGroups;
Methods
Creates a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata (https://cloud.google.com/dataproc/docs/reference/ rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata). (nodeGroups.create)
Gets the resource representation for a node group in a cluster.
Repair nodes in a node group. (nodeGroups.repair)
Resizes a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata (https://cloud.google.com/dataproc/docs/reference/ rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata). (nodeGroups.resize)
Details
Operation
create(string $parent, NodeGroup $postBody, array $optParams = [])
Creates a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata (https://cloud.google.com/dataproc/docs/reference/ rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata). (nodeGroups.create)
NodeGroup
get(string $name, array $optParams = [])
Gets the resource representation for a node group in a cluster.
(nodeGroups.get)
Operation
repair(string $name, RepairNodeGroupRequest $postBody, array $optParams = [])
Repair nodes in a node group. (nodeGroups.repair)
Operation
resize(string $name, ResizeNodeGroupRequest $postBody, array $optParams = [])
Resizes a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata (https://cloud.google.com/dataproc/docs/reference/ rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata). (nodeGroups.resize)