class Google::Apis::AuthorizedbuyersmarketplaceV1::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/authorizedbuyersmarketplace_v1/classes.rb, line 2120
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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