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

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
NameDescription
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
TypeDescription
string

setName

Identifier. The resource name of the backup vault.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

Output only. The backup vault state.

Returns
TypeDescription
int

setState

Output only. The backup vault state.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCreateTime

Output only. Create time of the backup vault.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Create time of the backup vault.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getDescription

Description of the backup vault.

Returns
TypeDescription
string

setDescription

Description of the backup vault.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLabels

Resource labels to represent user provided metadata.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Resource labels to represent user provided metadata.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this