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

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

Response message for ListAutoProtectionPolicies.

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

Namespace

Google \ Cloud \ BackupDR \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ auto_protection_policies array<AutoProtectionPolicy>

A list of the AutoProtectionPolicy resources found.

↳ next_page_token string

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

↳ unreachable string[]

Unordered list. Locations that could not be reached.

getAutoProtectionPolicies

A list of the AutoProtectionPolicy resources found.

Returns
Type Description
Google\Protobuf\RepeatedField<AutoProtectionPolicy>

setAutoProtectionPolicies

A list of the AutoProtectionPolicy resources found.

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

getNextPageToken

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

If this field is omitted, there are no subsequent pages.

Returns
Type Description
string

setNextPageToken

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

If this field is omitted, there are no subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this

getUnreachable

Unordered list. Locations that could not be reached.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setUnreachable

Unordered list. Locations that could not be reached.

Parameter
Name Description
var string[]
Returns
Type Description
$this