Class Value (0.1.0)

Value(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Value represents a dynamically typed value which can be either be a float, a integer, a string, or a datetime value. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
float_value float
Represents a float value. This field is a member of oneof_ kind.
int_value int
Represents a integer value. This field is a member of oneof_ kind.
string_value str
Represents a string value. This field is a member of oneof_ kind.
enum_value google.cloud.contentwarehouse_v1.types.EnumValue
Represents an enum value. This field is a member of oneof_ kind.
datetime_value google.type.datetime_pb2.DateTime
Represents a datetime value. This field is a member of oneof_ kind.
timestamp_value google.cloud.contentwarehouse_v1.types.TimestampValue
Represents a timestamp value. This field is a member of oneof_ kind.
boolean_value bool
Represents a boolean value. This field is a member of oneof_ kind.

Inheritance

builtins.object > proto.message.Message > Value