# Vision AI V1 API - Class Google::Cloud::VisionAI::V1::CreateDataSchemaRequest (v1.5.0)

1.5.0 (latest) 1.4.1 1.3.1 1.2.0 1.1.1 1.0.1 0.4.0 0.3.0 0.2.0 0.1.0 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-DataSchema)) --- Required. The data schema to create.
**Returns**

- ([::Google::Cloud::VisionAI::V1::DataSchema](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/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}`