annotation_specs
Creates, updates, deletes, gets or lists an annotation_specs
resource.
Overview
Name | annotation_specs |
Type | Resource |
Id | google.aiplatform.annotation_specs |
Fields
The following fields are returned by SELECT
queries:
- get
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Output only. Resource name of the AnnotationSpec. |
createTime | string (google-datetime) | Output only. Timestamp when this AnnotationSpec was created. |
displayName | string | Required. The user-defined name of the AnnotationSpec. The name can be up to 128 characters long and can consist of any UTF-8 characters. |
etag | string | Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. |
updateTime | string (google-datetime) | Output only. Timestamp when AnnotationSpec was last updated. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | projectsId , locationsId , datasetsId , annotationSpecsId | readMask | Gets 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.
Name | Datatype | Description |
---|---|---|
annotationSpecsId | string | |
datasetsId | string | |
locationsId | string | |
projectsId | string | |
readMask | string (google-fieldmask) |
SELECT
examples
- get
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 }}';