# Vision AI V1 API - Class Google::Cloud::VisionAI::V1::FacetValue (v1.5.0)

1.5.0 (latest) 1.4.1 1.3.1 1.2.0 1.1.1 1.0.1 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::FacetValue.

Definition of a single value with generic type.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #datetime_value

    def datetime_value() -> ::Google::Type::DateTime

**Returns**

- ([::Google::Type::DateTime](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Type-DateTime)) --- Datetime type value.


  Note: The following fields are mutually exclusive: `datetime_value`, `string_value`, `integer_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #datetime_value=

    def datetime_value=(value) -> ::Google::Type::DateTime

**Parameter**

- **value** ([::Google::Type::DateTime](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Type-DateTime)) --- Datetime type value.


  Note: The following fields are mutually exclusive: `datetime_value`, `string_value`, `integer_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Type::DateTime](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Type-DateTime)) --- Datetime type value.


  Note: The following fields are mutually exclusive: `datetime_value`, `string_value`, `integer_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #integer_value

    def integer_value() -> ::Integer

**Returns**

- (::Integer) --- Integer type value.

  Note: The following fields are mutually exclusive: `integer_value`, `string_value`, `datetime_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #integer_value=

    def integer_value=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Integer type value.


  Note: The following fields are mutually exclusive: `integer_value`, `string_value`, `datetime_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::Integer) --- Integer type value.

  Note: The following fields are mutually exclusive: `integer_value`, `string_value`, `datetime_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #string_value

    def string_value() -> ::String

**Returns**

- (::String) --- String type value.

  Note: The following fields are mutually exclusive: `string_value`, `integer_value`, `datetime_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #string_value=

    def string_value=(value) -> ::String

**Parameter**

- **value** (::String) --- String type value.


  Note: The following fields are mutually exclusive: `string_value`, `integer_value`, `datetime_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- String type value.

  Note: The following fields are mutually exclusive: `string_value`, `integer_value`, `datetime_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.