Google Cloud Backup Dr V1 Client - Class ComputeInstanceDataSourceProperties (0.4.0)

Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class ComputeInstanceDataSourceProperties.

ComputeInstanceDataSourceProperties represents the properties of a ComputeEngine resource that are stored in the DataSource.

Generated from protobuf message google.cloud.backupdr.v1.ComputeInstanceDataSourceProperties

Namespace

Google \ Cloud \ BackupDR \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Name of the compute instance backed up by the datasource.

↳ description string

The description of the Compute Engine instance.

↳ machine_type string

The machine type of the instance.

↳ total_disk_count int|string

The total number of disks attached to the Instance.

↳ total_disk_size_gb int|string

The sum of all the disk sizes.

getName

Name of the compute instance backed up by the datasource.

Returns
Type Description
string

setName

Name of the compute instance backed up by the datasource.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

The description of the Compute Engine instance.

Returns
Type Description
string

setDescription

The description of the Compute Engine instance.

Parameter
Name Description
var string
Returns
Type Description
$this

getMachineType

The machine type of the instance.

Returns
Type Description
string

setMachineType

The machine type of the instance.

Parameter
Name Description
var string
Returns
Type Description
$this

getTotalDiskCount

The total number of disks attached to the Instance.

Returns
Type Description
int|string

setTotalDiskCount

The total number of disks attached to the Instance.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getTotalDiskSizeGb

The sum of all the disk sizes.

Returns
Type Description
int|string

setTotalDiskSizeGb

The sum of all the disk sizes.

Parameter
Name Description
var int|string
Returns
Type Description
$this