ProjectsLocationsNodes
class ProjectsLocationsNodes extends Resource (View source)
The "nodes" collection of methods.
Typical usage is:
$tpuService = new Google\Service\TPU(...);
$nodes = $tpuService->projects_locations_nodes;
Methods
getGuestAttributes(string $name, GetGuestAttributesRequest $postBody, array $optParams = [])
Retrieves the guest attributes for the node. (nodes.getGuestAttributes)
listProjectsLocationsNodes(string $parent, array $optParams = [])
Lists nodes. (nodes.listProjectsLocationsNodes)
stop(string $name, StopNodeRequest $postBody, array $optParams = [])
Stops a node. This operation is only available with single TPU nodes.
Details
Operation
create(string $parent, Node $postBody, array $optParams = [])
Creates a node. (nodes.create)
Operation
delete(string $name, array $optParams = [])
Deletes a node. (nodes.delete)
Node
get(string $name, array $optParams = [])
Gets the details of a node. (nodes.get)
GetGuestAttributesResponse
getGuestAttributes(string $name, GetGuestAttributesRequest $postBody, array $optParams = [])
Retrieves the guest attributes for the node. (nodes.getGuestAttributes)
ListNodesResponse
listProjectsLocationsNodes(string $parent, array $optParams = [])
Lists nodes. (nodes.listProjectsLocationsNodes)
Operation
patch(string $name, Node $postBody, array $optParams = [])
Updates the configurations of a node. (nodes.patch)
Operation
start(string $name, StartNodeRequest $postBody, array $optParams = [])
Starts a node. (nodes.start)
Operation
stop(string $name, StopNodeRequest $postBody, array $optParams = [])
Stops a node. This operation is only available with single TPU nodes.
(nodes.stop)