ProjectsInstancesClustersBackups
class ProjectsInstancesClustersBackups extends Resource (View source)
The "backups" collection of methods.
Typical usage is:
$bigtableadminService = new Google\Service\BigtableAdmin(...);
$backups = $bigtableadminService->projects_instances_clusters_backups;
Methods
Copy a Cloud Bigtable backup to a new backup in the destination cluster located in the destination instance and project. (backups.copy)
Starts creating a new Cloud Bigtable Backup. The returned backup long-running operation can be used to track creation of the backup. The metadata field type is CreateBackupMetadata. The response field type is Backup, if successful. Cancelling the returned operation will stop the creation and delete the backup. (backups.create)
Deletes a pending or completed Cloud Bigtable backup. (backups.delete)
Gets metadata on a pending or completed Cloud Bigtable Backup. (backups.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 Cloud Bigtable backups. Returns both completed and pending backups.
Sets the access control policy on a Bigtable resource. Replaces any existing policy. (backups.setIamPolicy)
Returns permissions that the caller has on the specified Bigtable resource.
Details
Operation
copy(string $parent, CopyBackupRequest $postBody, array $optParams = [])
Copy a Cloud Bigtable backup to a new backup in the destination cluster located in the destination instance and project. (backups.copy)
Operation
create(string $parent, Backup $postBody, array $optParams = [])
Starts creating a new Cloud Bigtable Backup. The returned backup long-running operation can be used to track creation of the backup. The metadata field type is CreateBackupMetadata. The response field type is Backup, if successful. Cancelling the returned operation will stop the creation and delete the backup. (backups.create)
BigtableadminEmpty
delete(string $name, array $optParams = [])
Deletes a pending or completed Cloud Bigtable backup. (backups.delete)
Backup
get(string $name, array $optParams = [])
Gets metadata on a pending or completed Cloud Bigtable Backup. (backups.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.
(backups.getIamPolicy)
ListBackupsResponse
listProjectsInstancesClustersBackups(string $parent, array $optParams = [])
Lists Cloud Bigtable backups. Returns both completed and pending backups.
(backups.listProjectsInstancesClustersBackups)
Backup
patch(string $name, Backup $postBody, array $optParams = [])
Updates a pending or completed Cloud Bigtable Backup. (backups.patch)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on a Bigtable resource. Replaces any existing policy. (backups.setIamPolicy)
TestIamPermissionsResponse
testIamPermissions(string $resource, TestIamPermissionsRequest $postBody, array $optParams = [])
Returns permissions that the caller has on the specified Bigtable resource.
(backups.testIamPermissions)