Cloud Spanner V1 Client - Class ListBackupSchedulesRequest (1.86.0)

Reference documentation and code samples for the Cloud Spanner V1 Client class ListBackupSchedulesRequest.

The request for ListBackupSchedules.

Generated from protobuf message google.spanner.admin.database.v1.ListBackupSchedulesRequest

Namespace

Google \ Cloud \ Spanner \ Admin \ Database \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Database is the parent resource whose backup schedules should be listed. Values are of the form projects/

↳ page_size int

Optional. Number of backup schedules to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.

↳ page_token string

Optional. If non-empty, page_token should contain a next_page_token from a previous ListBackupSchedulesResponse to the same parent.

getParent

Required. Database is the parent resource whose backup schedules should be listed. Values are of the form projects/

Returns
Type Description
string

setParent

Required. Database is the parent resource whose backup schedules should be listed. Values are of the form projects/

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. Number of backup schedules to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.

Returns
Type Description
int

setPageSize

Optional. Number of backup schedules to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. If non-empty, page_token should contain a next_page_token from a previous ListBackupSchedulesResponse to the same parent.

Returns
Type Description
string

setPageToken

Optional. If non-empty, page_token should contain a next_page_token from a previous ListBackupSchedulesResponse to the same parent.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. Database is the parent resource whose backup schedules should be listed. Values are of the form projects/

Returns
Type Description
Google\Cloud\Spanner\Admin\Database\V1\ListBackupSchedulesRequest