Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class BackupLocation.
BackupLocation represents a cloud location where a backup can be stored.
Generated from protobuf message google.cloud.backupdr.v1.BackupLocation
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ type |
int
Output only. The type of the location. |
↳ location_id |
string
Output only. The id of the cloud location. Example: "us-central1" |
getType
Output only. The type of the location.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Type. |
setType
Output only. The type of the location.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Type. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLocationId
Output only. The id of the cloud location. Example: "us-central1"
| Returns | |
|---|---|
| Type | Description |
string |
|
setLocationId
Output only. The id of the cloud location. Example: "us-central1"
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|