Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class ListBackupsRequest.
The request payload to list the backups.
Generated from protobuf message google.cloud.sql.v1.ListBackupsRequest
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent that owns this collection of backups. Format: projects/{project}
↳ page_size
int
The maximum number of backups to return per response. The service might return fewer backups than this value. If a value for this parameter isn't specified, then, at most, 500 backups are returned. The maximum value is 2,000. Any values that you set, which are greater than 2,000, are changed to 2,000.
↳ page_token
string
A page token, received from a previous ListBackups
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListBackups
must match the call that provided the page token.
↳ filter
string
Multiple filter queries are separated by spaces. For example, 'instance:abc AND type:FINAL, 'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.771Z'. You can filter by type, instance, backupInterval.startTime (creation time), or location.
getParent
Required. The parent that owns this collection of backups.
Format: projects/{project}
string
setParent
Required. The parent that owns this collection of backups.
Format: projects/{project}
var
string
$this
getPageSize
The maximum number of backups to return per response. The service might return fewer backups than this value. If a value for this parameter isn't specified, then, at most, 500 backups are returned. The maximum value is 2,000. Any values that you set, which are greater than 2,000, are changed to 2,000.
int
setPageSize
The maximum number of backups to return per response. The service might return fewer backups than this value. If a value for this parameter isn't specified, then, at most, 500 backups are returned. The maximum value is 2,000. Any values that you set, which are greater than 2,000, are changed to 2,000.
var
int
$this
getPageToken
A page token, received from a previous ListBackups
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListBackups
must match
the call that provided the page token.
string
setPageToken
A page token, received from a previous ListBackups
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListBackups
must match
the call that provided the page token.
var
string
$this
getFilter
Multiple filter queries are separated by spaces. For example, 'instance:abc AND type:FINAL, 'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.771Z'. You can filter by type, instance, backupInterval.startTime (creation time), or location.
string
setFilter
Multiple filter queries are separated by spaces. For example, 'instance:abc AND type:FINAL, 'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.771Z'. You can filter by type, instance, backupInterval.startTime (creation time), or location.
var
string
$this
static::build
parent
string
Required. The parent that owns this collection of backups. Format: projects/{project} Please see SqlBackupsServiceClient::projectName() for help formatting this field.

