ProjectsLocationsServicesBackups
class ProjectsLocationsServicesBackups extends Resource (View source)
The "backups" collection of methods.
Typical usage is:
$metastoreService = new Google\Service\DataprocMetastore(...);
$backups = $metastoreService->projects_locations_services_backups;
Methods
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (backups.getIamPolicy)
Lists backups in a service. (backups.listProjectsLocationsServicesBackups)
Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. (backups.setIamPolicy)
Details
Operation
create(string $parent, Backup $postBody, array $optParams = [])
Creates a new backup in a given project and location. (backups.create)
Operation
delete(string $name, array $optParams = [])
Deletes a single backup. (backups.delete)
Backup
get(string $name, array $optParams = [])
Gets details of a single backup. (backups.get)
Policy
getIamPolicy(string $resource, array $optParams = [])
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (backups.getIamPolicy)
ListBackupsResponse
listProjectsLocationsServicesBackups(string $parent, array $optParams = [])
Lists backups in a service. (backups.listProjectsLocationsServicesBackups)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. (backups.setIamPolicy)