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

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

Request message for getting an AutoProtectionPolicy.

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

Namespace

Google \ Cloud \ BackupDR \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the policy to retrieve. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}

getName

Required. The name of the policy to retrieve.

Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}

Returns
Type Description
string

setName

Required. The name of the policy to retrieve.

Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the policy to retrieve. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy} Please see BackupDRClient::autoProtectionPolicyName() for help formatting this field.

Returns
Type Description
GetAutoProtectionPolicyRequest