class NodesNodes extends Resource (View source)

The "nodes" collection of methods.

Typical usage is:

 $sasportalService = new Google\Service\Sasportal(...);
 $nodes = $sasportalService->nodes_nodes;

Methods

create(string $parent, SasPortalNode $postBody, array $optParams = [])

Creates a new node. (nodes.create)

delete(string $name, array $optParams = [])

Deletes a node. (nodes.delete)

get(string $name, array $optParams = [])

Returns a requested node. (nodes.get)

listNodesNodes(string $parent, array $optParams = [])

Lists nodes. (nodes.listNodesNodes)

move(string $name, SasPortalMoveNodeRequest $postBody, array $optParams = [])

Moves a node under another node or customer. (nodes.move)

patch(string $name, SasPortalNode $postBody, array $optParams = [])

Updates an existing node. (nodes.patch)

Details

SasPortalNode create(string $parent, SasPortalNode $postBody, array $optParams = [])

Creates a new node. (nodes.create)

Parameters

string $parent

Required. The parent resource name where the node is to be created.

SasPortalNode $postBody
array $optParams

Optional parameters.

Return Value

SasPortalNode

Exceptions

Exception

SasPortalEmpty delete(string $name, array $optParams = [])

Deletes a node. (nodes.delete)

Parameters

string $name

Required. The name of the node.

array $optParams

Optional parameters.

Return Value

SasPortalEmpty

Exceptions

Exception

SasPortalNode get(string $name, array $optParams = [])

Returns a requested node. (nodes.get)

Parameters

string $name

Required. The name of the node.

array $optParams

Optional parameters.

Return Value

SasPortalNode

Exceptions

Exception

SasPortalListNodesResponse listNodesNodes(string $parent, array $optParams = [])

Lists nodes. (nodes.listNodesNodes)

Parameters

string $parent

Required. The parent resource name, for example, "nodes/1".

array $optParams

Optional parameters.

Return Value

SasPortalListNodesResponse

Exceptions

Exception

SasPortalOperation move(string $name, SasPortalMoveNodeRequest $postBody, array $optParams = [])

Moves a node under another node or customer. (nodes.move)

Parameters

string $name

Required. The name of the node to move.

SasPortalMoveNodeRequest $postBody
array $optParams

Optional parameters.

Return Value

SasPortalOperation

Exceptions

Exception

SasPortalNode patch(string $name, SasPortalNode $postBody, array $optParams = [])

Updates an existing node. (nodes.patch)

Parameters

string $name

Output only. Resource name.

SasPortalNode $postBody
array $optParams

Optional parameters.

Return Value

SasPortalNode

Exceptions

Exception