The standard format of a field value. The supported formats are all backed by either an RFC defined by the IETF or a Google-defined AIP.
Working with unknown values
This enum is defined as #[non_exhaustive] because Google Cloud may add
additional enum variants at any time. Adding new variants is not considered
a breaking change. Applications should write their code in anticipation of:
- New values appearing in future releases of the client library, and
- New values received dynamically, without application changes.
Please consult the Working with enums section in the user guide for some guidelines.
Enum Variants |
|
|---|---|
| Name | Description |
Unspecified |
Default, unspecified value. |
Uuid4 |
Universally Unique Identifier, version 4, value as defined by
https://datatracker.ietf.org/doc/html/rfc4122. The value may be
normalized to entirely lowercase letters. For example, the value
|
Ipv4 |
Internet Protocol v4 value as defined by RFC
791. The value may be
condensed, with leading zeros in each octet stripped. For example,
|
Ipv6 |
Internet Protocol v6 value as defined by RFC
2460. The value may be
normalized to entirely lowercase letters with zeros compressed, following
RFC 5952. For example,
the value |
Ipv4OrIpv6 |
An IP address in either v4 or v6 format as described by the individual values defined herein. See the comments on the IPV4 and IPV6 types for allowed normalizations of each. |
UnknownValue |
If set, the enum was initialized with an unknown value. Applications can examine the value using [Format::value] or [Format::name]. |
Implementations |
|
|---|---|
| Name | Description |
value |
Gets the enum value. Returns |
name |
Gets the enum value as a string. Returns |