Cloud AI Platform v1beta1 API - Class Annotation (1.0.0-beta10)

public sealed class Annotation : IMessage<Annotation>, IEquatable<Annotation>, IDeepCloneable<Annotation>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class Annotation.

Used to assign specific AnnotationSpec to a particular area of a DataItem or the whole part of the DataItem.

Inheritance

object > Annotation

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

Annotation()

public Annotation()

Annotation(Annotation)

public Annotation(Annotation other)
Parameter
Name Description
other Annotation

Properties

AnnotationName

public AnnotationName AnnotationName { get; set; }

AnnotationName-typed view over the Name resource name property.

Property Value
Type Description
AnnotationName

AnnotationSource

public UserActionReference AnnotationSource { get; set; }

Output only. The source of the Annotation.

Property Value
Type Description
UserActionReference

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Timestamp when this Annotation was created.

Property Value
Type Description
Timestamp

Etag

public string Etag { get; set; }

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

Property Value
Type Description
string

Labels

public MapField<string, string> Labels { get; }

Optional. The labels with user-defined metadata to organize your Annotations.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Annotation(System labels are excluded).

See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each Annotation:

  • "aiplatform.googleapis.com/annotation_set_name": optional, name of the UI's annotation set this Annotation belongs to. If not set, the Annotation is not visible in the UI.

  • "aiplatform.googleapis.com/payload_schema": output only, its value is the [payload_schema's][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri] title.

Property Value
Type Description
MapFieldstringstring

Name

public string Name { get; set; }

Output only. Resource name of the Annotation.

Property Value
Type Description
string

Payload

public Value Payload { get; set; }

Required. The schema of the payload can be found in [payload_schema][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri].

Property Value
Type Description
Value

PayloadSchemaUri

public string PayloadSchemaUri { get; set; }

Required. Google Cloud Storage URI points to a YAML file describing [payload][google.cloud.aiplatform.v1beta1.Annotation.payload]. The schema is defined as an OpenAPI 3.0.2 Schema Object. The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the chosen schema must be consistent with the parent Dataset's [metadata][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri].

Property Value
Type Description
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Timestamp when this Annotation was last updated.

Property Value
Type Description
Timestamp