Google Cloud Net App V1 Client - Class GetBackupPolicyRequest (1.0.0)

Reference documentation and code samples for the Google Cloud Net App V1 Client class GetBackupPolicyRequest.

GetBackupPolicyRequest gets the state of a backupPolicy.

Generated from protobuf message google.cloud.netapp.v1.GetBackupPolicyRequest

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The backupPolicy resource name, in the format projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}

getName

Required. The backupPolicy resource name, in the format projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}

Returns
Type Description
string

setName

Required. The backupPolicy resource name, in the format projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The backupPolicy resource name, in the format projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id} Please see Google\Cloud\NetApp\V1\NetAppClient::backupPolicyName() for help formatting this field.

Returns
Type Description
Google\Cloud\NetApp\V1\GetBackupPolicyRequest