Google Cloud Vm Migration V1 Client - Class SchedulePolicy (0.3.2)

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

A policy for scheduling replications.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ idle_duration Google\Protobuf\Duration

The idle duration between replication stages.

↳ skip_os_adaptation bool

A flag to indicate whether to skip OS adaptation during the replication sync. OS adaptation is a process where the VM's operating system undergoes changes and adaptations to fully function on Compute Engine.

getIdleDuration

The idle duration between replication stages.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasIdleDuration

clearIdleDuration

setIdleDuration

The idle duration between replication stages.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this

getSkipOsAdaptation

A flag to indicate whether to skip OS adaptation during the replication sync. OS adaptation is a process where the VM's operating system undergoes changes and adaptations to fully function on Compute Engine.

Returns
TypeDescription
bool

setSkipOsAdaptation

A flag to indicate whether to skip OS adaptation during the replication sync. OS adaptation is a process where the VM's operating system undergoes changes and adaptations to fully function on Compute Engine.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this