Google API Common Protos Client - Class Format (4.8.2)

Reference documentation and code samples for the Google API Common Protos Client class Format.

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.

Protobuf type google.api.FieldInfo.Format

Namespace

Google \ Api \ FieldInfo

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

FORMAT_UNSPECIFIED

Value: 0

Default, unspecified value.

Generated from protobuf enum FORMAT_UNSPECIFIED = 0;

UUID4

Value: 1

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 F47AC10B-58CC-0372-8567-0E02B2C3D479 would be normalized to f47ac10b-58cc-0372-8567-0e02b2c3d479.

Generated from protobuf enum UUID4 = 1;

IPV4

Value: 2

Internet Protocol v4 value as defined by RFC 791. The value may be condensed, with leading zeros in each octet stripped. For example, 001.022.233.040 would be condensed to 1.22.233.40.

Generated from protobuf enum IPV4 = 2;

IPV6

Value: 3

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 2001:0DB8:0::0 would be normalized to 2001:db8::.

Generated from protobuf enum IPV6 = 3;

IPV4_OR_IPV6

Value: 4

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.

Generated from protobuf enum IPV4_OR_IPV6 = 4;