class Google::Apis::OsconfigV1beta::TimeZone

Represents a time zone from the [IANA Time Zone Database](www.iana.org/ time-zones).

Attributes

id[RW]

IANA Time Zone Database time zone, e.g. “America/New_York”. Corresponds to the JSON property `id` @return [String]

version[RW]

Optional. IANA Time Zone Database version number, e.g. “2019a”. Corresponds to the JSON property `version` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/osconfig_v1beta/classes.rb, line 2131
def update!(**args)
  @id = args[:id] if args.key?(:id)
  @version = args[:version] if args.key?(:version)
end