2025-10-29
▼ ▲ documentai.projects.locations.schemas.patch
Parameter Order : name
Path : v1/{+name}
HTTP Method : PATCH
Scopes : https://www.googleapis.com/auth/cloud-platform
Parameters :
updateMask
Format : google-fieldmask
Type : string
Location : query
Description : Optional. The update mask to apply to the resource. **Note:** Only the following fields can be updated: - display_name. - labels.
name
Location : path
Type : string
Description : Identifier. The resource name of the Schema. Format: `projects/{project}/locations/{location}/schemas/{schema}`
Required : Yes
Pattern : ^projects/[^/]+/locations/[^/]+/schemas/[^/]+$
Description : Updates a schema. Editable fields are: - `display_name` - `labels`
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}
▼ ▲ documentai.projects.locations.schemas.list
Parameter Order : parent
Path : v1/{+parent}/schemas
Description : Lists Schemas.
Scopes : https://www.googleapis.com/auth/cloud-platform
HTTP Method : GET
Parameters :
pageToken
Location : query
Type : string
Description : Optional. We will return the schema groups sorted by creation time. The page token will point to the next Schema.
pageSize
Format : int32
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`.
Type : integer
parent
Required : Yes
Type : string
Location : path
Pattern : ^projects/[^/]+/locations/[^/]+$
Description : Required. Format: `projects/{project}/locations/{location}`
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas
▼ ▲ documentai.projects.locations.schemas.delete
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}
Scopes : https://www.googleapis.com/auth/cloud-platform
Parameters :
name
Required : Yes
Description : Required. The name of the Schema to be deleted. Format: `projects/{project}/locations/{location}/schemas/{schema}`
Type : string
Location : path
Pattern : ^projects/[^/]+/locations/[^/]+/schemas/[^/]+$
force
Type : boolean
Location : query
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.)
HTTP Method : DELETE
Path : v1/{+name}
Parameter Order : name
Description : Deletes a schema.
▼ ▲ documentai.projects.locations.schemas.get
Parameters :
name
Description : Required. The name of the Schema to get. Format: `projects/{project}/locations/{location}/schemas/{schema}`
Type : string
Required : Yes
Location : path
Pattern : ^projects/[^/]+/locations/[^/]+/schemas/[^/]+$
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}
Scopes : https://www.googleapis.com/auth/cloud-platform
HTTP Method : GET
Path : v1/{+name}
Description : Gets a schema.
Parameter Order : name
▼ ▲ documentai.projects.locations.schemas.create
Parameters :
parent
Required : Yes
Type : string
Pattern : ^projects/[^/]+/locations/[^/]+$
Description : Required. The parent (project and location) under which to create the Schema. Format: `projects/{project}/locations/{location}`
Location : path
Path : v1/{+parent}/schemas
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas
Parameter Order : parent
Scopes : https://www.googleapis.com/auth/cloud-platform
HTTP Method : POST
Description : Creates a schema.
▼ ▲ documentai.projects.locations.schemas.schemaVersions.generate
HTTP Method : POST
Parameters :
parent
Required : Yes
Description : Required. The parent (project, location and schema) under which to generate the SchemaVersion. Format: `projects/{project}/locations/{location}/schemas/{schema}`
Location : path
Pattern : ^projects/[^/]+/locations/[^/]+/schemas/[^/]+$
Type : string
Scopes : https://www.googleapis.com/auth/cloud-platform
Parameter Order : parent
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions:generate
Description : Generates a schema version.
Path : v1/{+parent}/schemaVersions:generate
▼ ▲ documentai.projects.locations.schemas.schemaVersions.get
Description : Gets a schema version.
Parameters :
name
Location : path
Description : Required. The name of the SchemaVersion to get. Format: `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}`
Type : string
Required : Yes
Pattern : ^projects/[^/]+/locations/[^/]+/schemas/[^/]+/schemaVersions/[^/]+$
Scopes : https://www.googleapis.com/auth/cloud-platform
Path : v1/{+name}
HTTP Method : GET
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId}
Parameter Order : name
▼ ▲ documentai.projects.locations.schemas.schemaVersions.delete
HTTP Method : DELETE
Description : Deletes a schema version.
Path : v1/{+name}
Scopes : https://www.googleapis.com/auth/cloud-platform
Parameters :
name
Required : Yes
Description : Required. The name of the SchemaVersion to delete. Format: `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}`
Pattern : ^projects/[^/]+/locations/[^/]+/schemas/[^/]+/schemaVersions/[^/]+$
Type : string
Location : path
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId}
Parameter Order : name
▼ ▲ documentai.projects.locations.schemas.schemaVersions.list
Parameters :
parent
Location : path
Pattern : ^projects/[^/]+/locations/[^/]+/schemas/[^/]+$
Type : string
Required : Yes
Description : Required. Format: `projects/{project}/locations/{location}/schemas/{schema}`
pageSize
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
Location : query
Type : integer
pageToken
Type : string
Description : Optional. We will return the SchemaVersion sorted by creation time. The page token will point to the next SchemaVersion.
Location : query
HTTP Method : GET
Parameter Order : parent
Path : v1/{+parent}/schemaVersions
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions
Description : Lists SchemaVersions.
▼ ▲ documentai.projects.locations.schemas.schemaVersions.create
Parameters :
parent
Pattern : ^projects/[^/]+/locations/[^/]+/schemas/[^/]+$
Required : Yes
Location : path
Description : Required. The parent (project and location) under which to create the SchemaVersion. Format: `projects/{project}/locations/{location}/schemas/{schema}`
Type : string
HTTP Method : POST
Description : Creates a schema version.
Parameter Order : parent
Path : v1/{+parent}/schemaVersions
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions
▼ ▲ documentai.projects.locations.schemas.schemaVersions.patch
Scopes : https://www.googleapis.com/auth/cloud-platform
Path : v1/{+name}
HTTP Method : PATCH
Parameters :
updateMask
Format : google-fieldmask
Location : query
Description : Optional. The update mask to apply to the resource. **Note:** Only the following fields can be updated: - display_name. - labels.
Type : string
name
Location : path
Required : Yes
Type : string
Pattern : ^projects/[^/]+/locations/[^/]+/schemas/[^/]+/schemaVersions/[^/]+$
Description : Identifier. The resource name of the SchemaVersion. Format: `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}`
Flat Path : v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId}
Description : Updates a schema version. Editable fields are: - `display_name` - `labels`
Parameter Order : name