Full name: projects.locations.processors.dataset.getDatasetSchema
Gets the DatasetSchema of a Dataset.
HTTP request
GET https://{endpoint}/v1beta3/{name}
Where {endpoint} is one of the supported service endpoints.
Path parameters
| Parameters | |
|---|---|
| name | 
 Required. The dataset schema resource name. Format: projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema It takes the form  | 
Query parameters
| Parameters | |
|---|---|
| visibleFieldsOnly | 
 If set, only returns the visible fields of the schema. | 
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of DatasetSchema.
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
- documentai.datasetSchemas.get
For more information, see the IAM documentation.