Google Cloud Backup Dr V1 Client - Class GetBackupPlanRequest (0.4.2)

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

The request message for getting a BackupPlan.

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

Namespace

Google \ Cloud \ BackupDR \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the BackupPlan to retrieve. Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}

getName

Required. The resource name of the BackupPlan to retrieve.

Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}

Returns
Type Description
string

setName

Required. The resource name of the BackupPlan to retrieve.

Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The resource name of the BackupPlan to retrieve.

Format: projects/{project}/locations/{location}/backupPlans/{backup_plan} Please see BackupDRClient::backupPlanName() for help formatting this field.

Returns
Type Description
GetBackupPlanRequest