GET /v1/projects/{projectsId}/backups/{backupsId}
Changed onRetrieves a resource containing information about a backup.
Request
- Base URLhttps://sqladmin.googleapis.com
- Auth
- OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cloud-platformAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/cloud-platform
- or OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/sqlservice.adminAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/sqlservice.admin
Path parameters
Query parameters
V1 error format.
OAuth access token.
Data format for response.
JSONP
Selector specifying which fields to include in a partial response.
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
OAuth 2.0 token for the current user.
Returns response with indentations and line breaks.
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
Legacy upload protocol for media (e.g. "media", "multipart").
Upload protocol for media (e.g. "raw", "multipart").
Response
Successful response
A backup resource.
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.
Output only. Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
Output only. The mapping to backup run resource used for IAM validations.
Output only. The database version of the instance of at the time this backup was made.
The description of this backup.
Database instance operation error.
Backup expiration time. A UTC timestamp of when this backup expired.
The name of the source database instance.
Optional. Output only. Timestamp in UTC of when the instance associated with this backup is deleted.
A Cloud SQL instance resource.
Output only. This is always sql#backup.
Output only. This output contains the encryption configuration for a backup and the resource name of the KMS key for disk encryption.
Output only. This output contains the encryption status for a backup and the version of the KMS key that's used to encrypt the Cloud SQL instance.
The storage location of the backups. The location can be multi-regional.
Output only. The maximum chargeable bytes for the backup.
Output only. The resource name of the backup. Format: projects/{project}/backups/{backup}.
Output only. This status indicates whether the backup satisfies PZI. The status is reserved for future use.
Output only. This status indicates whether the backup satisfies PZS. The status is reserved for future use.
Output only. The URI of this resource.
Output only. The status of this backup.
Output only. This output contains a backup time zone. If a Cloud SQL for SQL Server instance has a different time zone from the backup's time zone, then the restore to the instance doesn't happen.
Input only. The time-to-live (TTL) interval for this resource (in days). For example: ttlDays:7, means 7 days from the current time. The expiration time can't exceed 365 days from the time that the backup is created.
Output only. The type of this backup. The type can be "AUTOMATED", "ON_DEMAND" or “FINAL”.
Changes
- info
the security scope
https://www.googleapis.com/auth/cloud-platformwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/cloud-platformwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/sqlservice.adminwas removed from the endpoint's security schemeOauth2
1 more change in this revision
- info