v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1372300401.5 KB
projects

Creates a new GlossaryCategory resource.

post/v1/{+parent}/categories

Path parameters

parentstring required

Required. The parent resource where this GlossaryCategory will be created. Format: projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} where locationId refers to a Google Cloud region.

Query parameters

categoryIdstring

Required. GlossaryCategory identifier.

Request body

createTimestring google-datetime

Output only. The time at which the GlossaryCategory was created.

updateTimestring google-datetime

Output only. The time at which the GlossaryCategory was last updated.

descriptionstring

Optional. The user-mutable description of the GlossaryCategory.

namestring

Output only. Identifier. The resource name of the GlossaryCategory. Format: projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id}

parentstring

Required. The immediate parent of the GlossaryCategory in the resource-hierarchy. It can either be a Glossary or a GlossaryCategory. Format: projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} OR projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id}

uidstring

Output only. System generated unique id for the GlossaryCategory. This ID will be different if the GlossaryCategory is deleted and re-created with the same name.

displayNamestring

Optional. User friendly display name of the GlossaryCategory. This is user-mutable. This will be same as the GlossaryCategoryId, if not specified.

labelsobject

Optional. User-defined labels for the GlossaryCategory.

Response

Successful response