Class: Google::Cloud::VisionAI::V1::DataSchema

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/visionai/v1/warehouse.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#key::String

Returns 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.



1132
1133
1134
1135
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 1132

class DataSchema
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns 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.



1132
1133
1134
1135
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 1132

class DataSchema
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#schema_details::Google::Cloud::VisionAI::V1::DataSchemaDetails

Returns The schema details mapping to the key.

Returns:



1132
1133
1134
1135
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 1132

class DataSchema
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end