Google Cloud Sql Admin V1 Client - Class ListBackupsResponse (1.6.0)

Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class ListBackupsResponse.

The response payload containing a list of the backups.

Generated from protobuf message google.cloud.sql.v1.ListBackupsResponse

Namespace

Google \ Cloud \ Sql \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ backups array<Backup>

A list of backups.

↳ next_page_token string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, then there aren't subsequent pages.

↳ warnings array<ApiWarning>

If a region isn't unavailable or if an unknown error occurs, then a warning message is returned.

getBackups

A list of backups.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setBackups

A list of backups.

Parameter
Name Description
var array<Backup>
Returns
Type Description
$this

getNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, then there aren't subsequent pages.

Returns
Type Description
string

setNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, then there aren't subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this

getWarnings

If a region isn't unavailable or if an unknown error occurs, then a warning message is returned.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setWarnings

If a region isn't unavailable or if an unknown error occurs, then a warning message is returned.

Parameter
Name Description
var array<ApiWarning>
Returns
Type Description
$this