Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::DataSchemaDetails.
Data schema details indicates the data type and the data struct corresponding to the key of user specified annotation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#customized_struct_config
def customized_struct_config() -> ::Google::Cloud::VisionAI::V1::DataSchemaDetails::CustomizedStructConfig
Returns
- (::Google::Cloud::VisionAI::V1::DataSchemaDetails::CustomizedStructConfig) — Config for CustomizedStruct data type.
#customized_struct_config=
def customized_struct_config=(value) -> ::Google::Cloud::VisionAI::V1::DataSchemaDetails::CustomizedStructConfig
Parameter
- value (::Google::Cloud::VisionAI::V1::DataSchemaDetails::CustomizedStructConfig) — Config for CustomizedStruct data type.
Returns
- (::Google::Cloud::VisionAI::V1::DataSchemaDetails::CustomizedStructConfig) — Config for CustomizedStruct data type.
#granularity
def granularity() -> ::Google::Cloud::VisionAI::V1::DataSchemaDetails::Granularity
Returns
- (::Google::Cloud::VisionAI::V1::DataSchemaDetails::Granularity) — The granularity associated with this DataSchema.
#granularity=
def granularity=(value) -> ::Google::Cloud::VisionAI::V1::DataSchemaDetails::Granularity
Parameter
- value (::Google::Cloud::VisionAI::V1::DataSchemaDetails::Granularity) — The granularity associated with this DataSchema.
Returns
- (::Google::Cloud::VisionAI::V1::DataSchemaDetails::Granularity) — The granularity associated with this DataSchema.
#list_config
def list_config() -> ::Google::Cloud::VisionAI::V1::DataSchemaDetails::ListConfig
Returns
- (::Google::Cloud::VisionAI::V1::DataSchemaDetails::ListConfig) — Config for List data type.
#list_config=
def list_config=(value) -> ::Google::Cloud::VisionAI::V1::DataSchemaDetails::ListConfig
Parameter
- value (::Google::Cloud::VisionAI::V1::DataSchemaDetails::ListConfig) — Config for List data type.
Returns
- (::Google::Cloud::VisionAI::V1::DataSchemaDetails::ListConfig) — Config for List data type.
#proto_any_config
def proto_any_config() -> ::Google::Cloud::VisionAI::V1::DataSchemaDetails::ProtoAnyConfig
Returns
- (::Google::Cloud::VisionAI::V1::DataSchemaDetails::ProtoAnyConfig) — Config for protobuf any type.
#proto_any_config=
def proto_any_config=(value) -> ::Google::Cloud::VisionAI::V1::DataSchemaDetails::ProtoAnyConfig
Parameter
- value (::Google::Cloud::VisionAI::V1::DataSchemaDetails::ProtoAnyConfig) — Config for protobuf any type.
Returns
- (::Google::Cloud::VisionAI::V1::DataSchemaDetails::ProtoAnyConfig) — Config for protobuf any type.
#search_strategy
def search_strategy() -> ::Google::Cloud::VisionAI::V1::DataSchemaDetails::SearchStrategy
Returns
-
(::Google::Cloud::VisionAI::V1::DataSchemaDetails::SearchStrategy) — The search strategy to be applied on the
key
above.
#search_strategy=
def search_strategy=(value) -> ::Google::Cloud::VisionAI::V1::DataSchemaDetails::SearchStrategy
Parameter
-
value (::Google::Cloud::VisionAI::V1::DataSchemaDetails::SearchStrategy) — The search strategy to be applied on the
key
above.
Returns
-
(::Google::Cloud::VisionAI::V1::DataSchemaDetails::SearchStrategy) — The search strategy to be applied on the
key
above.
#type
def type() -> ::Google::Cloud::VisionAI::V1::DataSchemaDetails::DataType
Returns
- (::Google::Cloud::VisionAI::V1::DataSchemaDetails::DataType) — Type of the annotation.
#type=
def type=(value) -> ::Google::Cloud::VisionAI::V1::DataSchemaDetails::DataType
Parameter
- value (::Google::Cloud::VisionAI::V1::DataSchemaDetails::DataType) — Type of the annotation.
Returns
- (::Google::Cloud::VisionAI::V1::DataSchemaDetails::DataType) — Type of the annotation.