Class: Google::Apis::ContainerV1::AccurateTimeConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb

Overview

AccurateTimeConfig contains configuration for the accurate time synchronization feature.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AccurateTimeConfig

Returns a new instance of AccurateTimeConfig.



84
85
86
# File 'lib/google/apis/container_v1/classes.rb', line 84

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#enable_ptp_kvm_time_syncBoolean Also known as: enable_ptp_kvm_time_sync?

Enables enhanced time synchronization using PTP-KVM. Corresponds to the JSON property enablePtpKvmTimeSync

Returns:

  • (Boolean)


81
82
83
# File 'lib/google/apis/container_v1/classes.rb', line 81

def enable_ptp_kvm_time_sync
  @enable_ptp_kvm_time_sync
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



89
90
91
# File 'lib/google/apis/container_v1/classes.rb', line 89

def update!(**args)
  @enable_ptp_kvm_time_sync = args[:enable_ptp_kvm_time_sync] if args.key?(:enable_ptp_kvm_time_sync)
end