Skip to main content

Module common

Module common 

Source

Modules§

colorcolor
Implementations for the google.type.Color message.
datedate
Implementations for the google.type.Date message.
date_timedatetime
Nested message and enum types in DateTime.
datetimedatetime
Implementations for the google.type.DateTime message.
decimaldecimal
Implementations for the google.type.Decimal message.
fractionfraction
Implementations for the google.type.Fraction message.
intervalinterval
Implementations for the google.type.Interval message.
latlnglatlng
Implementations for the google.type.LatLng message.
moneymoney
Implementations for the google.type.Money message.
phone_numberphone_number
Nested message and enum types in PhoneNumber.
time_of_daytimeofday
Implementations for the google.type.TimeOfDay message.

Structs§

Colorcolor
Represents a color in the RGBA color space.
Datedate
Represents a whole or partial calendar date, such as a birthday.
DateTimedatetime
Represents civil time (or occasionally physical time).
Decimaldecimal
A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java’s [BigDecimal][] or Python’s [decimal.Decimal][].
Exprexpr
Represents a textual expression in the Common Expression Language (CEL) syntax.
Fractionfraction
Represents a fraction in terms of a numerator divided by a denominator.
Intervalinterval
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive).
LatLnglatlng
An object that represents a latitude/longitude pair.
LocalizedTextlocalized_text
Localized variant of a text in a particular language.
Moneymoney
Represents an amount of money with its currency type.
PhoneNumberphone_number
An object representing a phone number, suitable as an API wire format.
PostalAddresspostal_address
Represents a postal address, e.g. for postal delivery or payments addresses.
Quaternionquaternion
A quaternion is defined as the quotient of two directed lines in a three-dimensional space or equivalently as the quotient of two Euclidean vectors (https://en.wikipedia.org/wiki/Quaternion).
TimeOfDaytimeofday
Represents a time of day.
TimeZonedatetime
Represents a time zone from the IANA Time Zone Database.

Enums§

CalendarPeriod
A CalendarPeriod represents the abstract concept of a time period that has a canonical start. Grammatically, “the start of the current CalendarPeriod.” All calendar times begin at midnight UTC.
DayOfWeek
Represents a day of the week.
Month
Represents a month in the Gregorian calendar.