# Class Value (0.11.0)

0.11.0 (latest) 0.10.0 0.9.0 0.8.0 0.7.16 0.6.0 0.5.1 0.4.1 0.3.1 0.2.1 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 ||
|---|---|
| **Name** | **Description** |
| `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` | `https://docs.cloud.google.com/python/docs/reference/contentwarehouse/latest/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` | `https://docs.cloud.google.com/python/docs/reference/contentwarehouse/latest/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`. |