Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class CreateDataSchemaRequest.
Request message for CreateDataSchema.
Generated from protobuf message google.cloud.visionai.v1.CreateDataSchemaRequest
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent resource where this data schema will be created. Format: |
↳ data_schema |
DataSchema
Required. The data schema to create. |
getParent
Required. The parent resource where this data schema will be created.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The parent resource where this data schema will be created.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDataSchema
Required. The data schema to create.
| Returns | |
|---|---|
| Type | Description |
DataSchema|null |
|
hasDataSchema
clearDataSchema
setDataSchema
Required. The data schema to create.
| Parameter | |
|---|---|
| Name | Description |
var |
DataSchema
|
| Returns | |
|---|---|
| Type | Description |
$this |
|