Class: Google::Apis::ContainerV1beta1::AccurateTimeConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/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.



90
91
92
# File 'lib/google/apis/container_v1beta1/classes.rb', line 90

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)


87
88
89
# File 'lib/google/apis/container_v1beta1/classes.rb', line 87

def enable_ptp_kvm_time_sync
  @enable_ptp_kvm_time_sync
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



95
96
97
# File 'lib/google/apis/container_v1beta1/classes.rb', line 95

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