Skip to main content

annotation_specs

Creates, updates, deletes, gets or lists an annotation_specs resource.

Overview

Nameannotation_specs
TypeResource
Idgoogle.aiplatform.annotation_specs

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringOutput only. Resource name of the AnnotationSpec.
createTimestring (google-datetime)Output only. Timestamp when this AnnotationSpec was created.
displayNamestringRequired. The user-defined name of the AnnotationSpec. The name can be up to 128 characters long and can consist of any UTF-8 characters.
etagstringOptional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
updateTimestring (google-datetime)Output only. Timestamp when AnnotationSpec was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, datasetsId, annotationSpecsIdreadMaskGets an AnnotationSpec.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
annotationSpecsIdstring
datasetsIdstring
locationsIdstring
projectsIdstring
readMaskstring (google-fieldmask)

SELECT examples

Gets an AnnotationSpec.

SELECT
name,
createTime,
displayName,
etag,
updateTime
FROM google.aiplatform.annotation_specs
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND datasetsId = '{{ datasetsId }}' -- required
AND annotationSpecsId = '{{ annotationSpecsId }}' -- required
AND readMask = '{{ readMask }}';