public class Spanner.Projects.Instances.Databases.BackupSchedules extends Object
Constructor and Description |
---|
BackupSchedules() |
public Spanner.Projects.Instances.Databases.BackupSchedules.Create create(String parent, BackupSchedule content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The name of the database that this backup schedule applies to.content
- the BackupSchedule
IOException
public Spanner.Projects.Instances.Databases.BackupSchedules.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The name of the schedule to delete. Values are of the form
`projects//instances//databases//backupSchedules/`.IOException
public Spanner.Projects.Instances.Databases.BackupSchedules.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The name of the schedule to retrieve. Values are of the form
`projects//instances//databases//backupSchedules/`.IOException
public Spanner.Projects.Instances.Databases.BackupSchedules.GetIamPolicy getIamPolicy(String resource, GetIamPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.resource
- 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.content
- the GetIamPolicyRequest
IOException
public Spanner.Projects.Instances.Databases.BackupSchedules.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. Database is the parent resource whose backup schedules should be listed. Values are of the
form projects//instances//databases/IOException
public Spanner.Projects.Instances.Databases.BackupSchedules.Patch patch(String name, BackupSchedule content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Identifier. Output only for the CreateBackupSchedule operation. Required for the
UpdateBackupSchedule operation. A globally unique identifier for the backup schedule which
cannot be changed. Values are of the form
`projects//instances//databases//backupSchedules/a-z*[a-z0-9]` The final segment of the
name must be between 2 and 60 characters in length.content
- the BackupSchedule
IOException
public Spanner.Projects.Instances.Databases.BackupSchedules.SetIamPolicy setIamPolicy(String resource, SetIamPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.resource
- 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.content
- the SetIamPolicyRequest
IOException
public Spanner.Projects.Instances.Databases.BackupSchedules.TestIamPermissions testIamPermissions(String resource, TestIamPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.resource
- 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.content
- the TestIamPermissionsRequest
IOException
Copyright © 2011–2025 Google. All rights reserved.