Method: dataset.updateDatasetSchema

Full name: projects.locations.processors.dataset.updateDatasetSchema

Updates a DatasetSchema.

HTTP request

PATCH https://{endpoint}/v1beta3/{datasetSchema.name}

Where {endpoint} is one of the supported service endpoints.

Path parameters

Parameters
datasetSchema.name

string

Dataset schema resource name. Format: projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema It takes the form projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema.

Query parameters

Parameters
updateMask

string (FieldMask format)

The update mask applies to the resource.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of DatasetSchema.

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

For more information, see the IAM documentation.