Google Cloud Backup Dr V1 Client - Class ListRestoreTemplatesRequest (0.17.0)

Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class ListRestoreTemplatesRequest.

Request message for listing RestoreTemplates.

Generated from protobuf message google.cloud.backupdr.v1.ListRestoreTemplatesRequest

Namespace

Google \ Cloud \ BackupDR \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The project and location from which to list the restore templates. Format: projects/{project}/locations/{location}.

↳ page_size int

Optional. The maximum number of items to return.

↳ page_token string

Optional. A page token, received from a previous ListRestoreTemplates call.

↳ filter string

Optional. Field match expression used to filter the results.

↳ order_by string

Optional. Field by which to sort the results.

getParent

Required. The project and location from which to list the restore templates.

Format: projects/{project}/locations/{location}.

Returns
Type Description
string

setParent

Required. The project and location from which to list the restore templates.

Format: projects/{project}/locations/{location}.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. The maximum number of items to return.

Returns
Type Description
int

setPageSize

Optional. The maximum number of items to return.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. A page token, received from a previous ListRestoreTemplates call.

Returns
Type Description
string

setPageToken

Optional. A page token, received from a previous ListRestoreTemplates call.

Parameter
Name Description
var string
Returns
Type Description
$this

getFilter

Optional. Field match expression used to filter the results.

Returns
Type Description
string

setFilter

Optional. Field match expression used to filter the results.

Parameter
Name Description
var string
Returns
Type Description
$this

getOrderBy

Optional. Field by which to sort the results.

Returns
Type Description
string

setOrderBy

Optional. Field by which to sort the results.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The project and location from which to list the restore templates. Format: projects/{project}/locations/{location}. Please see BackupDRClient::locationName() for help formatting this field.

Returns
Type Description
ListRestoreTemplatesRequest