Vision AI V1 API - Class Google::Cloud::VisionAI::V1::FacetValue (v0.4.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) — 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) — 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) — 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.