ProjectsInstances
class ProjectsInstances extends Resource (View source)
The "instances" collection of methods.
Typical usage is:
$bigtableadminService = new Google\Service\BigtableAdmin(...);
$instances = $bigtableadminService->projects_instances;
Methods
Create an instance within a project. Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled. (instances.create)
Delete an instance from a project. (instances.delete)
Gets information about an instance. (instances.get)
Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set.
Lists information about instances in a project.
Partially updates an instance within a project. This method can modify all fields of an Instance and is the preferred way to update an Instance.
Sets the access control policy on an instance resource. Replaces any existing policy. (instances.setIamPolicy)
Returns permissions that the caller has on the specified instance resource.
Details
Operation
create(string $parent, CreateInstanceRequest $postBody, array $optParams = [])
Create an instance within a project. Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled. (instances.create)
BigtableadminEmpty
delete(string $name, array $optParams = [])
Delete an instance from a project. (instances.delete)
Instance
get(string $name, array $optParams = [])
Gets information about an instance. (instances.get)
Policy
getIamPolicy(string $resource, GetIamPolicyRequest $postBody, array $optParams = [])
Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set.
(instances.getIamPolicy)
ListInstancesResponse
listProjectsInstances(string $parent, array $optParams = [])
Lists information about instances in a project.
(instances.listProjectsInstances)
Operation
partialUpdateInstance(string $name, Instance $postBody, array $optParams = [])
Partially updates an instance within a project. This method can modify all fields of an Instance and is the preferred way to update an Instance.
(instances.partialUpdateInstance)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on an instance resource. Replaces any existing policy. (instances.setIamPolicy)
TestIamPermissionsResponse
testIamPermissions(string $resource, TestIamPermissionsRequest $postBody, array $optParams = [])
Returns permissions that the caller has on the specified instance resource.
(instances.testIamPermissions)