2024-07-13
▼ ▲ spanner.projects.instances.databases.backupSchedules.setIamPolicy
Path : v1/{+resource}:setIamPolicy
Flat Path : v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/backupSchedules/{backupSchedulesId}:setIamPolicy
HTTP Method : POST
Parameters :
resource
Description : REQUIRED: The Cloud Spanner resource for which the policy is being set. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for databases resources.
Pattern : ^projects/[^/]+/instances/[^/]+/databases/[^/]+/backupSchedules/[^/]+$
Location : path
Required : Yes
Type : string
Parameter Order : resource
Scopes :
Description : Sets the access control policy on a database or backup resource. Replaces any existing policy. Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.setIamPolicy` permission on resource.
▼ ▲ spanner.projects.instances.databases.backupSchedules.getIamPolicy
Path : v1/{+resource}:getIamPolicy
Flat Path : v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/backupSchedules/{backupSchedulesId}:getIamPolicy
HTTP Method : POST
Parameters :
resource
Description : REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.
Pattern : ^projects/[^/]+/instances/[^/]+/databases/[^/]+/backupSchedules/[^/]+$
Location : path
Required : Yes
Type : string
Parameter Order : resource
Scopes :
Description : Gets the access control policy for a database or backup resource. Returns an empty policy if a database or backup exists but does not have a policy set. Authorization requires `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.getIamPolicy` permission on resource.
▼ ▲ spanner.projects.instances.databases.backupSchedules.testIamPermissions
Path : v1/{+resource}:testIamPermissions
Flat Path : v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/backupSchedules/{backupSchedulesId}:testIamPermissions
HTTP Method : POST
Parameters :
resource
Description : REQUIRED: The Cloud Spanner resource for which permissions are being tested. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.
Pattern : ^projects/[^/]+/instances/[^/]+/databases/[^/]+/backupSchedules/[^/]+$
Location : path
Required : Yes
Type : string
Parameter Order : resource
Scopes :
Description : Returns permissions that the caller has on the specified database or backup resource. Attempting this RPC on a non-existent Cloud Spanner database will result in a NOT_FOUND error if the user has `spanner.databases.list` permission on the containing Cloud Spanner instance. Otherwise returns an empty set of permissions. Calling this method on a backup that does not exist will result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the containing instance.