Google Cloud Net App V1 Client - Class BackupVault (1.0.1)

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

A NetApp BackupVault.

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

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. The resource name of the backup vault. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}.

↳ state int

Output only. The backup vault state.

↳ create_time Google\Protobuf\Timestamp

Output only. Create time of the backup vault.

↳ description string

Description of the backup vault.

↳ labels array|Google\Protobuf\Internal\MapField

Resource labels to represent user provided metadata.

getName

Identifier. The resource name of the backup vault.

Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}.

Returns
Type Description
string

setName

Identifier. The resource name of the backup vault.

Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}.

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Output only. The backup vault state.

Returns
Type Description
int

setState

Output only. The backup vault state.

Parameter
Name Description
var int
Returns
Type Description
$this

getCreateTime

Output only. Create time of the backup vault.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Create time of the backup vault.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getDescription

Description of the backup vault.

Returns
Type Description
string

setDescription

Description of the backup vault.

Parameter
Name Description
var string
Returns
Type Description
$this

getLabels

Resource labels to represent user provided metadata.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

Resource labels to represent user provided metadata.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this