Vision AI V1 API - Class Google::Cloud::VisionAI::V1::AnnotationValue (v0.1.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::AnnotationValue.

Value of annotation, including all types available in data schema.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bool_value

def bool_value() -> ::Boolean
Returns
  • (::Boolean) — Value of boolean type annotation.

#bool_value=

def bool_value=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Value of boolean type annotation.
Returns
  • (::Boolean) — Value of boolean type annotation.

#customized_struct_data_value

def customized_struct_data_value() -> ::Google::Protobuf::Struct
Returns
  • (::Google::Protobuf::Struct) — Value of customized struct annotation. This field does not have effects. Use customized_struct_value instead for customized struct annotation.

#customized_struct_data_value=

def customized_struct_data_value=(value) -> ::Google::Protobuf::Struct
Parameter
  • value (::Google::Protobuf::Struct) — Value of customized struct annotation. This field does not have effects. Use customized_struct_value instead for customized struct annotation.
Returns
  • (::Google::Protobuf::Struct) — Value of customized struct annotation. This field does not have effects. Use customized_struct_value instead for customized struct annotation.

#customized_struct_value

def customized_struct_value() -> ::Google::Cloud::VisionAI::V1::AnnotationCustomizedStruct
Returns

#customized_struct_value=

def customized_struct_value=(value) -> ::Google::Cloud::VisionAI::V1::AnnotationCustomizedStruct
Parameter
Returns

#datetime_value

def datetime_value() -> ::String
Returns
  • (::String) — Value of date time type annotation.

#datetime_value=

def datetime_value=(value) -> ::String
Parameter
  • value (::String) — Value of date time type annotation.
Returns
  • (::String) — Value of date time type annotation.

#float_value

def float_value() -> ::Float
Returns
  • (::Float) — Value of float type annotation.

#float_value=

def float_value=(value) -> ::Float
Parameter
  • value (::Float) — Value of float type annotation.
Returns
  • (::Float) — Value of float type annotation.

#geo_coordinate

def geo_coordinate() -> ::Google::Cloud::VisionAI::V1::GeoCoordinate
Returns

#geo_coordinate=

def geo_coordinate=(value) -> ::Google::Cloud::VisionAI::V1::GeoCoordinate
Parameter
Returns

#int_value

def int_value() -> ::Integer
Returns
  • (::Integer) — Value of int type annotation.

#int_value=

def int_value=(value) -> ::Integer
Parameter
  • value (::Integer) — Value of int type annotation.
Returns
  • (::Integer) — Value of int type annotation.

#list_value

def list_value() -> ::Google::Cloud::VisionAI::V1::AnnotationList
Returns

#list_value=

def list_value=(value) -> ::Google::Cloud::VisionAI::V1::AnnotationList
Parameter
Returns

#proto_any_value

def proto_any_value() -> ::Google::Protobuf::Any
Returns

#proto_any_value=

def proto_any_value=(value) -> ::Google::Protobuf::Any
Parameter
Returns

#str_value

def str_value() -> ::String
Returns
  • (::String) — Value of string type annotation.

#str_value=

def str_value=(value) -> ::String
Parameter
  • value (::String) — Value of string type annotation.
Returns
  • (::String) — Value of string type annotation.