Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class GetBackupVaultRequest.
Request message for getting a BackupVault.
Generated from protobuf message google.cloud.backupdr.v1.GetBackupVaultRequest
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. Name of the backupvault store resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}' |
↳ view |
int
Optional. Reserved for future use to provide a BASIC & FULL view of Backup Vault |
getName
Required. Name of the backupvault store resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}'
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. Name of the backupvault store resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}'
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getView
Optional. Reserved for future use to provide a BASIC & FULL view of Backup Vault
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type BackupVaultView. |
setView
Optional. Reserved for future use to provide a BASIC & FULL view of Backup Vault
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type BackupVaultView. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
name |
string
Required. Name of the backupvault store resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}' Please see BackupDRClient::backupVaultName() for help formatting this field. |
| Returns | |
|---|---|
| Type | Description |
GetBackupVaultRequest |
|