NodeTemplates
class NodeTemplates extends Resource (View source)
The "nodeTemplates" collection of methods.
Typical usage is:
$computeService = new Google\Service\Compute(...);
$nodeTemplates = $computeService->nodeTemplates;
Methods
Retrieves an aggregated list of node templates. To prevent failure, Google
recommends that you set the returnPartialSuccess
parameter to true
.
Deletes the specified NodeTemplate resource. (nodeTemplates.delete)
Returns the specified node template. (nodeTemplates.get)
Gets the access control policy for a resource. May be empty if no such policy or resource exists. (nodeTemplates.getIamPolicy)
Creates a NodeTemplate resource in the specified project using the data included in the request. (nodeTemplates.insert)
Retrieves a list of node templates available to the specified project.
Sets the access control policy on the specified resource. Replaces any existing policy. (nodeTemplates.setIamPolicy)
Returns permissions that a caller has on the specified resource.
Details
NodeTemplateAggregatedList
aggregatedList(string $project, array $optParams = [])
Retrieves an aggregated list of node templates. To prevent failure, Google
recommends that you set the returnPartialSuccess
parameter to true
.
(nodeTemplates.aggregatedList)
Operation
delete(string $project, string $region, string $nodeTemplate, array $optParams = [])
Deletes the specified NodeTemplate resource. (nodeTemplates.delete)
NodeTemplate
get(string $project, string $region, string $nodeTemplate, array $optParams = [])
Returns the specified node template. (nodeTemplates.get)
Policy
getIamPolicy(string $project, string $region, string $resource, array $optParams = [])
Gets the access control policy for a resource. May be empty if no such policy or resource exists. (nodeTemplates.getIamPolicy)
Operation
insert(string $project, string $region, NodeTemplate $postBody, array $optParams = [])
Creates a NodeTemplate resource in the specified project using the data included in the request. (nodeTemplates.insert)
NodeTemplateList
listNodeTemplates(string $project, string $region, array $optParams = [])
Retrieves a list of node templates available to the specified project.
(nodeTemplates.listNodeTemplates)
Policy
setIamPolicy(string $project, string $region, string $resource, RegionSetPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on the specified resource. Replaces any existing policy. (nodeTemplates.setIamPolicy)
TestPermissionsResponse
testIamPermissions(string $project, string $region, string $resource, TestPermissionsRequest $postBody, array $optParams = [])
Returns permissions that a caller has on the specified resource.
(nodeTemplates.testIamPermissions)