class Google::Apis::VmmigrationV1::SchedulePolicy

A policy for scheduling replications.

Attributes

idle_duration[RW]

The idle duration between replication stages. Corresponds to the JSON property ‘idleDuration` @return [String]

skip_os_adaptation[RW]

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. Corresponds to the JSON property ‘skipOsAdaptation` @return [Boolean]

skip_os_adaptation?[RW]

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. Corresponds to the JSON property ‘skipOsAdaptation` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vmmigration_v1/classes.rb, line 1690
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/vmmigration_v1/classes.rb, line 1695
def update!(**args)
  @idle_duration = args[:idle_duration] if args.key?(:idle_duration)
  @skip_os_adaptation = args[:skip_os_adaptation] if args.key?(:skip_os_adaptation)
end