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

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

Namespace

Google \ Cloud \ VMMigration \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Protobuf\Duration|null

hasIdleDuration

clearIdleDuration

setIdleDuration

The idle duration between replication stages.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$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
Type Description
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
Name Description
var bool
Returns
Type Description
$this