class ProjectsLocationsBlockchainNodes extends Resource (View source)

The "blockchainNodes" collection of methods.

Typical usage is:

 $blockchainnodeengineService = new Google\Service\BlockchainNodeEngine(...);
 $blockchainNodes = $blockchainnodeengineService->projects_locations_blockchainNodes;

Methods

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

Creates a new blockchain node in a given project and location.

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

Deletes a single blockchain node. (blockchainNodes.delete)

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

Gets details of a single blockchain node. (blockchainNodes.get)

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

Lists blockchain nodes in a given project and location.

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

Updates the parameters of a single blockchain node. (blockchainNodes.patch)

Details

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

Creates a new blockchain node in a given project and location.

(blockchainNodes.create)

Parameters

string $parent

Required. Value for parent.

BlockchainNode $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes a single blockchain node. (blockchainNodes.delete)

Parameters

string $name

Required. The fully qualified name of the blockchain node to delete. e.g. projects/my-project/locations/us- central1/blockchainNodes/my-node.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Gets details of a single blockchain node. (blockchainNodes.get)

Parameters

string $name

Required. The fully qualified name of the blockchain node to fetch. e.g. projects/my-project/locations/us-central1/blockchainNodes/my- node.

array $optParams

Optional parameters.

Return Value

BlockchainNode

Exceptions

Exception

ListBlockchainNodesResponse listProjectsLocationsBlockchainNodes(string $parent, array $optParams = [])

Lists blockchain nodes in a given project and location.

(blockchainNodes.listProjectsLocationsBlockchainNodes)

Parameters

string $parent

Required. Parent value for ListNodesRequest.

array $optParams

Optional parameters.

Return Value

ListBlockchainNodesResponse

Exceptions

Exception

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

Updates the parameters of a single blockchain node. (blockchainNodes.patch)

Parameters

string $name

Output only. The fully qualified name of the blockchain node. e.g. projects/my-project/locations/us-central1/blockchainNodes/my- node.

BlockchainNode $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception