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

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

Data schema indicates how the user specified annotation is interpreted in the system.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#key

def key() -> ::String
Returns
  • (::String) — Required. The key of this data schema. This key should be matching the key of user specified annotation and unique inside corpus. This value can be up to 63 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number.

#key=

def key=(value) -> ::String
Parameter
  • value (::String) — Required. The key of this data schema. This key should be matching the key of user specified annotation and unique inside corpus. This value can be up to 63 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number.
Returns
  • (::String) — Required. The key of this data schema. This key should be matching the key of user specified annotation and unique inside corpus. This value can be up to 63 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number.

#name

def name() -> ::String
Returns
  • (::String) — Resource name of the data schema in the form of: projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema} where {data_schema} part should be the same as the key field below.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Resource name of the data schema in the form of: projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema} where {data_schema} part should be the same as the key field below.
Returns
  • (::String) — Resource name of the data schema in the form of: projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema} where {data_schema} part should be the same as the key field below.

#schema_details

def schema_details() -> ::Google::Cloud::VisionAI::V1::DataSchemaDetails
Returns

#schema_details=

def schema_details=(value) -> ::Google::Cloud::VisionAI::V1::DataSchemaDetails
Parameter
Returns