Google Cloud Filestore V1 Client - Class ListBackupsRequest (1.2.1)

Reference documentation and code samples for the Google Cloud Filestore V1 Client class ListBackupsRequest.

ListBackupsRequest lists backups.

Generated from protobuf message google.cloud.filestore.v1.ListBackupsRequest

Namespace

Google \ Cloud \ Filestore \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The project and location for which to retrieve backup information, in the format projects/{project_number}/locations/{location}. In Filestore, backup locations map to Google Cloud regions, for example us-west1. To retrieve backup information for all locations, use "-" for the {location} value.

↳ page_size int

The maximum number of items to return.

↳ page_token string

The next_page_token value to use if there are additional results to retrieve for this list request.

↳ order_by string

Sort results. Supported values are "name", "name desc" or "" (unsorted).

↳ filter string

List filter.

getParent

Required. The project and location for which to retrieve backup information, in the format projects/{project_number}/locations/{location}. In Filestore, backup locations map to Google Cloud regions, for example us-west1. To retrieve backup information for all locations, use "-" for the {location} value.

Returns
TypeDescription
string

setParent

Required. The project and location for which to retrieve backup information, in the format projects/{project_number}/locations/{location}. In Filestore, backup locations map to Google Cloud regions, for example us-west1. To retrieve backup information for all locations, use "-" for the {location} value.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of items to return.

Returns
TypeDescription
int

setPageSize

The maximum number of items to return.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

The next_page_token value to use if there are additional results to retrieve for this list request.

Returns
TypeDescription
string

setPageToken

The next_page_token value to use if there are additional results to retrieve for this list request.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOrderBy

Sort results. Supported values are "name", "name desc" or "" (unsorted).

Returns
TypeDescription
string

setOrderBy

Sort results. Supported values are "name", "name desc" or "" (unsorted).

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

List filter.

Returns
TypeDescription
string

setFilter

List filter.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The project and location for which to retrieve backup information, in the format projects/{project_number}/locations/{location}. In Filestore, backup locations map to Google Cloud regions, for example us-west1. To retrieve backup information for all locations, use "-" for the {location} value. Please see Google\Cloud\Filestore\V1\CloudFilestoreManagerClient::locationName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Filestore\V1\ListBackupsRequest