Expand description
The messages and enums that are part of this client library.
Modules§
- date_
time - Defines additional types related to DateTime.
- phone_
number - Defines additional types related to PhoneNumber.
Structs§
- Color
- Represents a color in the RGBA color space. This representation is designed
for simplicity of conversion to and from color representations in various
languages over compactness. For example, the fields of this representation
can be trivially provided to the constructor of
java.awt.Colorin Java; it can also be trivially provided to UIColor’s+colorWithRed:green:blue:alphamethod in iOS; and, with just a little work, it can be easily formatted into a CSSrgba()string in JavaScript. - Date
- Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:
- Date
Time - Represents civil time (or occasionally physical time).
- Decimal
- 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.
- Expr
- Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec.
- Fraction
- Represents a fraction in terms of a numerator divided by a denominator.
- Interval
- Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive).
- LatLng
- An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.
- Localized
Text - Localized variant of a text in a particular language.
- Money
- Represents an amount of money with its currency type.
- Phone
Number - An object representing a phone number, suitable as an API wire format.
- Postal
Address - Represents a postal address, such as for postal delivery or payments addresses. With a postal address, a postal service can deliver items to a premise, P.O. box, or similar. A postal address is not intended to model geographical locations like roads, towns, or mountains.
- Quaternion
- A quaternion, represented by four 64-bit floating point values.
- Time
OfDay - Represents a time of day. The date and time zone are either not significant
or are specified elsewhere. An API may choose to allow leap seconds. Related
types are google.type.Date and
google.protobuf.Timestamp. - Time
Zone - Represents a time zone from the IANA Time Zone Database.
Enums§
- Calendar
Period - A
CalendarPeriodrepresents the abstract concept of a time period that has a canonical start. Grammatically, “the start of the currentCalendarPeriod.” All calendar times begin at midnight UTC. - DayOf
Week - Represents a day of the week.
- Month
- Represents a month in the Gregorian calendar.