Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::CreateDataSchemaRequest.
Request message for CreateDataSchema.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#data_schema
def data_schema() -> ::Google::Cloud::VisionAI::V1::DataSchema
Returns
- (::Google::Cloud::VisionAI::V1::DataSchema) — Required. The data schema to create.
#data_schema=
def data_schema=(value) -> ::Google::Cloud::VisionAI::V1::DataSchema
Parameter
- value (::Google::Cloud::VisionAI::V1::DataSchema) — Required. The data schema to create.
Returns
- (::Google::Cloud::VisionAI::V1::DataSchema) — Required. The data schema to create.
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The parent resource where this data schema will be created.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The parent resource where this data schema will be created.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
Returns
-
(::String) — Required. The parent resource where this data schema will be created.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}