ProjectsInstancesTables
class ProjectsInstancesTables extends Resource (View source)
The "tables" collection of methods.
Typical usage is:
$bigtableadminService = new Google\Service\BigtableAdmin(...);
$tables = $bigtableadminService->projects_instances_tables;
Methods
Checks replication consistency based on a consistency token, that is, if replication has caught up based on the conditions specified in the token and the check request. (tables.checkConsistency)
Creates a new table in the specified instance. The table can be created with a full set of initial column families, specified in the request.
Permanently deletes a specified table and all of its data. (tables.delete)
Permanently drop/delete a row range from a specified table. The request can specify whether to delete all rows in a table, or only those that match a particular prefix. Note that row key prefixes used here are treated as service data. For more information about how service data is handled, see the Google Cloud Privacy Notice. (tables.dropRowRange)
Generates a consistency token for a Table, which can be used in CheckConsistency to check whether mutations to the table that finished before this call started have been replicated. The tokens will be available for 90 days. (tables.generateConsistencyToken)
Gets metadata information about the specified table. (tables.get)
Gets the access control policy for a Bigtable resource. Returns an empty policy if the resource exists but does not have a policy set.
Lists all tables served from a specified instance.
Performs a series of column family modifications on the specified table.
Create a new table by restoring from a completed backup. The returned table long-running operation can be used to track the progress of the operation, and to cancel it. The metadata field type is RestoreTableMetadata. The response type is Table, if successful. (tables.restore)
Sets the access control policy on a Bigtable resource. Replaces any existing policy. (tables.setIamPolicy)
Returns permissions that the caller has on the specified Bigtable resource.
Restores a specified table which was accidentally deleted. (tables.undelete)
Details
CheckConsistencyResponse
checkConsistency(string $name, CheckConsistencyRequest $postBody, array $optParams = [])
Checks replication consistency based on a consistency token, that is, if replication has caught up based on the conditions specified in the token and the check request. (tables.checkConsistency)
Table
create(string $parent, CreateTableRequest $postBody, array $optParams = [])
Creates a new table in the specified instance. The table can be created with a full set of initial column families, specified in the request.
(tables.create)
BigtableadminEmpty
delete(string $name, array $optParams = [])
Permanently deletes a specified table and all of its data. (tables.delete)
BigtableadminEmpty
dropRowRange(string $name, DropRowRangeRequest $postBody, array $optParams = [])
Permanently drop/delete a row range from a specified table. The request can specify whether to delete all rows in a table, or only those that match a particular prefix. Note that row key prefixes used here are treated as service data. For more information about how service data is handled, see the Google Cloud Privacy Notice. (tables.dropRowRange)
GenerateConsistencyTokenResponse
generateConsistencyToken(string $name, GenerateConsistencyTokenRequest $postBody, array $optParams = [])
Generates a consistency token for a Table, which can be used in CheckConsistency to check whether mutations to the table that finished before this call started have been replicated. The tokens will be available for 90 days. (tables.generateConsistencyToken)
Table
get(string $name, array $optParams = [])
Gets metadata information about the specified table. (tables.get)
Policy
getIamPolicy(string $resource, GetIamPolicyRequest $postBody, array $optParams = [])
Gets the access control policy for a Bigtable resource. Returns an empty policy if the resource exists but does not have a policy set.
(tables.getIamPolicy)
ListTablesResponse
listProjectsInstancesTables(string $parent, array $optParams = [])
Lists all tables served from a specified instance.
(tables.listProjectsInstancesTables)
Table
modifyColumnFamilies(string $name, ModifyColumnFamiliesRequest $postBody, array $optParams = [])
Performs a series of column family modifications on the specified table.
Either all or none of the modifications will occur before this method returns, but data requests received prior to that point may see a table where only some modifications have taken effect. (tables.modifyColumnFamilies)
Operation
patch(string $name, Table $postBody, array $optParams = [])
Updates a specified table. (tables.patch)
Operation
restore(string $parent, RestoreTableRequest $postBody, array $optParams = [])
Create a new table by restoring from a completed backup. The returned table long-running operation can be used to track the progress of the operation, and to cancel it. The metadata field type is RestoreTableMetadata. The response type is Table, if successful. (tables.restore)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on a Bigtable resource. Replaces any existing policy. (tables.setIamPolicy)
TestIamPermissionsResponse
testIamPermissions(string $resource, TestIamPermissionsRequest $postBody, array $optParams = [])
Returns permissions that the caller has on the specified Bigtable resource.
(tables.testIamPermissions)
Operation
undelete(string $name, UndeleteTableRequest $postBody, array $optParams = [])
Restores a specified table which was accidentally deleted. (tables.undelete)