REST Resource: projects.locations.datasets.annotationSpecs

Resource: AnnotationSpec

Identifies a concept with which DataItems may be annotated with.

Fields
name string

Output only. Resource name of the AnnotationSpec.

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.

createTime string (Timestamp format)

Output only. timestamp when this AnnotationSpec was created.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014年10月02日T15:01:23Z", "2014年10月02日T15:01:23.045123456Z" or "2014年10月02日T15:01:23+05:30".

updateTime string (Timestamp format)

Output only. timestamp when AnnotationSpec was last updated.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014年10月02日T15:01:23Z", "2014年10月02日T15:01:23.045123456Z" or "2014年10月02日T15:01:23+05:30".

etag string

Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

JSON representation
{
 "name": string,
 "displayName": string,
 "createTime": string,
 "updateTime": string,
 "etag": string
}

Methods

get

Gets an AnnotationSpec.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年09月22日 UTC.