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

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

DiskMigrationStep holds information about the disk migration step progress.

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

Namespace

Google \ Cloud \ VMMigration \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ creating_source_disk_snapshot CreatingSourceDiskSnapshotStep

Creating source disk snapshot step.

↳ copying_source_disk_snapshot CopyingSourceDiskSnapshotStep

Copying source disk snapshot step.

↳ provisioning_target_disk ProvisioningTargetDiskStep

Creating target disk step.

↳ start_time Google\Protobuf\Timestamp

Output only. The time the step has started.

↳ end_time Google\Protobuf\Timestamp

Output only. The time the step has ended.

getCreatingSourceDiskSnapshot

Creating source disk snapshot step.

Returns
Type Description
CreatingSourceDiskSnapshotStep|null

hasCreatingSourceDiskSnapshot

setCreatingSourceDiskSnapshot

Creating source disk snapshot step.

Parameter
Name Description
var CreatingSourceDiskSnapshotStep
Returns
Type Description
$this

getCopyingSourceDiskSnapshot

Copying source disk snapshot step.

Returns
Type Description
CopyingSourceDiskSnapshotStep|null

hasCopyingSourceDiskSnapshot

setCopyingSourceDiskSnapshot

Copying source disk snapshot step.

Parameter
Name Description
var CopyingSourceDiskSnapshotStep
Returns
Type Description
$this

getProvisioningTargetDisk

Creating target disk step.

Returns
Type Description
ProvisioningTargetDiskStep|null

hasProvisioningTargetDisk

setProvisioningTargetDisk

Creating target disk step.

Parameter
Name Description
var ProvisioningTargetDiskStep
Returns
Type Description
$this

getStartTime

Output only. The time the step has started.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Output only. The time the step has started.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEndTime

Output only. The time the step has ended.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Output only. The time the step has ended.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getStep

Returns
Type Description
string