Vertex AI API . projects . locations . datasets . annotationSpecs

Instance Methods

operations()

Returns the operations Resource.

close()

Close httplib2 connections.

get(name, readMask=None, x__xgafv=None)

Gets an AnnotationSpec.

Method Details

close()
Close httplib2 connections.
get(name, readMask=None, x__xgafv=None)
Gets an AnnotationSpec.

Args:
  name: string, Required. The name of the AnnotationSpec resource. Format: `projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}` (required)
  readMask: string, Mask specifying which fields to read.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Identifies a concept with which DataItems may be annotated with.
  "createTime": "A String", # Output only. Timestamp when this AnnotationSpec was created.
  "displayName": "A 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": "A String", # Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
  "name": "A String", # Output only. Resource name of the AnnotationSpec.
  "updateTime": "A String", # Output only. Timestamp when AnnotationSpec was last updated.
}