Document AI V1 API - Class Google::Type::TimeZone (v1.2.0)

Reference documentation and code samples for the Document AI V1 API class Google::Type::TimeZone.

Represents a time zone from the IANA Time Zone Database.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#id

def id() -> ::String
Returns
  • (::String) — IANA Time Zone Database time zone, e.g. "America/New_York".

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — IANA Time Zone Database time zone, e.g. "America/New_York".
Returns
  • (::String) — IANA Time Zone Database time zone, e.g. "America/New_York".

#version

def version() -> ::String
Returns
  • (::String) — Optional. IANA Time Zone Database version number, e.g. "2019a".

#version=

def version=(value) -> ::String
Parameter
  • value (::String) — Optional. IANA Time Zone Database version number, e.g. "2019a".
Returns
  • (::String) — Optional. IANA Time Zone Database version number, e.g. "2019a".