Google Cloud Backup Dr V1beta Client - Class ListAutoProtectionPolicyBindingsRequest (0.15.1)

Reference documentation and code samples for the Google Cloud Backup Dr V1beta Client class ListAutoProtectionPolicyBindingsRequest.

Request message for ListAutoProtectionPolicyBindings.

Generated from protobuf message google.cloud.backupdr.v1beta.ListAutoProtectionPolicyBindingsRequest

Namespace

Google \ Cloud \ BackupDR \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The project and location for which to retrieve the list of policies. Format: projects/{project}/locations/{location}

↳ page_size int

Optional. The maximum number of policies to return in a single page. If unspecified, a server-default value will be used.

↳ page_token string

Optional. A page token, received from a previous ListAutoProtectionPolicies call. Provide this to retrieve the subsequent page.

↳ filter string

Optional. A filter expression that filters resources listed in the response. The following fields are filterable:

↳ order_by string

Optional. An expression that sorts the results in the response. The following fields are sortable:

getParent

Required. The project and location for which to retrieve the list of policies. Format: projects/{project}/locations/{location}

Returns
Type Description
string

setParent

Required. The project and location for which to retrieve the list of policies. Format: projects/{project}/locations/{location}

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. The maximum number of policies to return in a single page.

If unspecified, a server-default value will be used.

Returns
Type Description
int

setPageSize

Optional. The maximum number of policies to return in a single page.

If unspecified, a server-default value will be used.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. A page token, received from a previous ListAutoProtectionPolicies call. Provide this to retrieve the subsequent page.

Returns
Type Description
string

setPageToken

Optional. A page token, received from a previous ListAutoProtectionPolicies call. Provide this to retrieve the subsequent page.

Parameter
Name Description
var string
Returns
Type Description
$this

getFilter

Optional. A filter expression that filters resources listed in the response. The following fields are filterable:

Returns
Type Description
string

setFilter

Optional. A filter expression that filters resources listed in the response. The following fields are filterable:

Parameter
Name Description
var string
Returns
Type Description
$this

getOrderBy

Optional. An expression that sorts the results in the response. The following fields are sortable:

Returns
Type Description
string

setOrderBy

Optional. An expression that sorts the results in the response. The following fields are sortable:

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The project and location for which to retrieve the list of policies. Format: projects/{project}/locations/{location} Please see BackupDRClient::autoProtectionPolicyName() for help formatting this field.

Returns
Type Description
ListAutoProtectionPolicyBindingsRequest