REST Resource: projects.locations.datasets.annotationStores

Resource: AnnotationStore

An Annotation store that can store annotation resources such as labels and tags for text, image and audio.

JSON representation
{
  "name": string,
  "labels": {
    string: string,
    ...
  }
}
Fields
name

string

Output only. Resource name of the Annotation store, of the form projects/{projectId}/locations/{locationId}/datasets/{datasetId}/annotationStores/{annotationStoreId}.

labels

map (key: string, value: string)

User-supplied key-value pairs used to organize Annotation stores.

Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}

Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63}

No more than 64 labels can be associated with a given store.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

Methods

create

Creates a new Annotation store within the parent dataset.

delete

Deletes the specified Annotation store and removes all annotations that are contained within it.

get

Gets the specified Annotation store or returns NOT_FOUND if it does not exist.

getIamPolicy

Gets the access control policy for a resource.

list

Lists the Annotation stores in the given dataset for a source store.

patch

Updates the specified Annotation store.

setIamPolicy

POLICIES Sets the access control policy for a resource.

testIamPermissions

Returns permissions that a caller has on the specified resource.
หน้านี้มีประโยชน์ไหม โปรดแสดงความคิดเห็น