2025-10-27
▼ ▲ documentai.projects.locations.schemas.delete
HTTP Method : DELETE
Description : Deletes a schema.
Scopes : https://www.googleapis.com/auth/cloud-platform
Parameter Order : name
Parameters :
force
Type : boolean
Description : Optional. If set to true, any child resources of this Schema will also be deleted. (Otherwise, the request will only work if the Schema has no child resources.)
Location : query
name
Type : string
Pattern : ^projects/[^/]+/locations/[^/]+/schemas/[^/]+$
Description : Required. The name of the Schema to be deleted. Format: `projects/{project}/locations/{location}/schemas/{schema}`
Location : path
Required : Yes
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}
Path : v1/{+name}
▼ ▲ documentai.projects.locations.schemas.list
Description : Lists Schemas.
HTTP Method : GET
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas
Parameter Order : parent
Path : v1/{+parent}/schemas
Scopes : https://www.googleapis.com/auth/cloud-platform
Parameters :
parent
Required : Yes
Type : string
Pattern : ^projects/[^/]+/locations/[^/]+$
Location : path
Description : Required. Format: `projects/{project}/locations/{location}`
pageSize
Location : query
Description : Optional. The maximum number of schema groups to return. If unspecified, at most `10` Schema will be returned. The maximum value is `20`. Values above `20` will be coerced to `20`.
Format : int32
Type : integer
pageToken
Description : Optional. We will return the schema groups sorted by creation time. The page token will point to the next Schema.
Location : query
Type : string
▼ ▲ documentai.projects.locations.schemas.get
Description : Gets a schema.
Parameters :
name
Pattern : ^projects/[^/]+/locations/[^/]+/schemas/[^/]+$
Type : string
Required : Yes
Description : Required. The name of the Schema to get. Format: `projects/{project}/locations/{location}/schemas/{schema}`
Location : path
Scopes : https://www.googleapis.com/auth/cloud-platform
HTTP Method : GET
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}
Parameter Order : name
Path : v1/{+name}
▼ ▲ documentai.projects.locations.schemas.create
Description : Creates a schema.
Parameter Order : parent
Path : v1/{+parent}/schemas
Scopes : https://www.googleapis.com/auth/cloud-platform
Parameters :
parent
Required : Yes
Pattern : ^projects/[^/]+/locations/[^/]+$
Type : string
Description : Required. The parent (project and location) under which to create the Schema. Format: `projects/{project}/locations/{location}`
Location : path
HTTP Method : POST
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas
▼ ▲ documentai.projects.locations.schemas.patch
Parameters :
updateMask
Location : query
Type : string
Description : Optional. The update mask to apply to the resource. **Note:** Only the following fields can be updated: - display_name. - labels.
Format : google-fieldmask
name
Description : Identifier. The resource name of the Schema. Format: `projects/{project}/locations/{location}/schemas/{schema}`
Pattern : ^projects/[^/]+/locations/[^/]+/schemas/[^/]+$
Required : Yes
Type : string
Location : path
Scopes : https://www.googleapis.com/auth/cloud-platform
HTTP Method : PATCH
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}
Description : Updates a schema. Editable fields are: - `display_name` - `labels`
Path : v1/{+name}
Parameter Order : name
▼ ▲ documentai.projects.locations.schemas.schemaVersions.create
Description : Creates a schema version.
HTTP Method : POST
Parameters :
parent
Required : Yes
Type : string
Location : path
Pattern : ^projects/[^/]+/locations/[^/]+/schemas/[^/]+$
Description : Required. The parent (project and location) under which to create the SchemaVersion. Format: `projects/{project}/locations/{location}/schemas/{schema}`
Parameter Order : parent
Scopes : https://www.googleapis.com/auth/cloud-platform
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions
Path : v1/{+parent}/schemaVersions
▼ ▲ documentai.projects.locations.schemas.schemaVersions.generate
Parameter Order : parent
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions:generate
Scopes : https://www.googleapis.com/auth/cloud-platform
Path : v1/{+parent}/schemaVersions:generate
Parameters :
parent
Location : path
Type : string
Description : Required. The parent (project, location and schema) under which to generate the SchemaVersion. Format: `projects/{project}/locations/{location}/schemas/{schema}`
Pattern : ^projects/[^/]+/locations/[^/]+/schemas/[^/]+$
Required : Yes
Description : Generates a schema version.
HTTP Method : POST
▼ ▲ documentai.projects.locations.schemas.schemaVersions.delete
Scopes : https://www.googleapis.com/auth/cloud-platform
Description : Deletes a schema version.
Parameter Order : name
HTTP Method : DELETE
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId}
Path : v1/{+name}
Parameters :
name
Pattern : ^projects/[^/]+/locations/[^/]+/schemas/[^/]+/schemaVersions/[^/]+$
Required : Yes
Type : string
Description : Required. The name of the SchemaVersion to delete. Format: `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}`
Location : path
▼ ▲ documentai.projects.locations.schemas.schemaVersions.get
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId}
HTTP Method : GET
Description : Gets a schema version.
Parameter Order : name
Scopes : https://www.googleapis.com/auth/cloud-platform
Path : v1/{+name}
Parameters :
name
Required : Yes
Type : string
Location : path
Pattern : ^projects/[^/]+/locations/[^/]+/schemas/[^/]+/schemaVersions/[^/]+$
Description : Required. The name of the SchemaVersion to get. Format: `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}`
▼ ▲ documentai.projects.locations.schemas.schemaVersions.patch
Scopes : https://www.googleapis.com/auth/cloud-platform
HTTP Method : PATCH
Parameters :
name
Type : string
Description : Identifier. The resource name of the SchemaVersion. Format: `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}`
Required : Yes
Location : path
Pattern : ^projects/[^/]+/locations/[^/]+/schemas/[^/]+/schemaVersions/[^/]+$
updateMask
Description : Optional. The update mask to apply to the resource. **Note:** Only the following fields can be updated: - display_name. - labels.
Format : google-fieldmask
Location : query
Type : string
Parameter Order : name
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId}
Description : Updates a schema version. Editable fields are: - `display_name` - `labels`
Path : v1/{+name}
▼ ▲ documentai.projects.locations.schemas.schemaVersions.list
Parameters :
parent
Required : Yes
Type : string
Description : Required. Format: `projects/{project}/locations/{location}/schemas/{schema}`
Pattern : ^projects/[^/]+/locations/[^/]+/schemas/[^/]+$
Location : path
pageSize
Type : integer
Location : query
Description : Optional. The maximum number of SchemaVersion to return. If unspecified, at most `10` SchemaVersion will be returned. The maximum value is `20`. Values above `20` will be coerced to `20`.
Format : int32
pageToken
Description : Optional. We will return the SchemaVersion sorted by creation time. The page token will point to the next SchemaVersion.
Type : string
Location : query
Path : v1/{+parent}/schemaVersions
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions
Parameter Order : parent
Description : Lists SchemaVersions.
HTTP Method : GET