Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class DiskDataSourceProperties.
DiskDataSourceProperties represents the properties of a Disk resource that are stored in the DataSource.
.
Generated from protobuf message google.cloud.backupdr.v1.DiskDataSourceProperties
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Name of the disk backed up by the datasource. |
↳ description |
string
The description of the disk. |
↳ type |
string
The type of the disk. |
↳ size_gb |
int|string
The size of the disk in GB. |
getName
Name of the disk backed up by the datasource.
Returns | |
---|---|
Type | Description |
string |
setName
Name of the disk backed up by the datasource.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDescription
The description of the disk.
Returns | |
---|---|
Type | Description |
string |
setDescription
The description of the disk.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getType
The type of the disk.
Returns | |
---|---|
Type | Description |
string |
setType
The type of the disk.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSizeGb
The size of the disk in GB.
Returns | |
---|---|
Type | Description |
int|string |
setSizeGb
The size of the disk in GB.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |