type library
The Google Cloud client for the Common Types.
Defines common types for Google APIs.
Classes
- CalendarPeriod
-
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. - Color
-
Represents a color in the RGBA color space. This representation is designed
for simplicity of conversion to/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:
- DateTime
- Represents civil time (or occasionally physical time).
- DayOfWeek
- Represents a day of the week.
- Decimal
-
A representation of a decimal value, such as 2.5. Clients may convert values
into language-native decimal formats, such as Java's
BigDecimalor Python'sdecimal.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 must conform to the WGS84 standard. Values must be within normalized ranges.
- LocalizedText
- Localized variant of a text in a particular language.
- Money
- Represents an amount of money with its currency type.
- Month
- Represents a month in the Gregorian calendar.
- PhoneNumber
- An object representing a phone number, suitable as an API wire format.
- PhoneNumber_ShortCode
- An object representing a short code, which is a phone number that is typically much shorter than regular phone numbers and can be used to address messages in MMS and SMS systems, as well as for abbreviated dialing (e.g. "Text 611 to see how many minutes you have remaining on your plan.").
- PostalAddress
- Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains).
- Quaternion
- 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).
- TimeOfDay
-
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.Dateandgoogle.protobuf.Timestamp. - TimeZone
- Represents a time zone from the IANA Time Zone Database.