Google Cloud Vm Migration V1 Client - Class PersistentDisk (1.1.0)

Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class PersistentDisk.

Details of a created Persistent Disk.

Generated from protobuf message google.cloud.vmmigration.v1.PersistentDisk

Namespace

Google \ Cloud \ VMMigration \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ source_disk_number
int

The ordinal number of the source VM disk.

↳ disk_uri
string

The URI of the Persistent Disk.

getSourceDiskNumber

The ordinal number of the source VM disk.

Returns
Type
Description
int

setSourceDiskNumber

The ordinal number of the source VM disk.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getDiskUri

The URI of the Persistent Disk.

Returns
Type
Description
string

setDiskUri

The URI of the Persistent Disk.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: