Google Cloud Backup Dr V1 Client - Class GetBackupPlanAssociationRequest (0.4.0)

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

Request message for getting a BackupPlanAssociation resource.

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

Namespace

Google \ Cloud \ BackupDR \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the backup plan association resource, in the format projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}

getName

Required. Name of the backup plan association resource, in the format projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}

Returns
Type Description
string

setName

Required. Name of the backup plan association resource, in the format projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Name of the backup plan association resource, in the format projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId} Please see Google\Cloud\BackupDR\V1\BackupDRClient::backupPlanAssociationName() for help formatting this field.

Returns
Type Description
Google\Cloud\BackupDR\V1\GetBackupPlanAssociationRequest