Class: Google::Apis::ContainerV1::AccurateTimeConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::AccurateTimeConfig
- 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
-
#enable_ptp_kvm_time_sync ⇒ Boolean
(also: #enable_ptp_kvm_time_sync?)
Enables enhanced time synchronization using PTP-KVM.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccurateTimeConfig
constructor
A new instance of AccurateTimeConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_sync ⇒ Boolean Also known as: enable_ptp_kvm_time_sync?
Enables enhanced time synchronization using PTP-KVM.
Corresponds to the JSON property enablePtpKvmTimeSync
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 |