Annotation class final
Used to assign specific AnnotationSpec to a particular area of a DataItem or the whole part of the DataItem.
- Inheritance
-
- Object
- ProtoMessage
- Annotation
Constructors
-
Annotation({String name = '', required String payloadSchemaUri, required Value? payload, Timestamp? createTime, Timestamp? updateTime, String etag = '', UserActionReference? annotationSource, Map<
String, String> labels = const {}}) - Annotation.fromJson(Object? j)
-
factory
Properties
- annotationSource → UserActionReference?
-
Output only. The source of the Annotation.
final
- createTime → Timestamp?
-
Output only. Timestamp when this Annotation was created.
final
- etag → String
-
Optional. Used to perform consistent read-modify-write updates. If not set,
a blind "overwrite" update happens.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Map<
String, String> -
Optional. The labels with user-defined metadata to organize your
Annotations.
final
- name → String
-
Output only. Resource name of the Annotation.
final
- payload → Value?
-
Required. The schema of the payload can be found in
payload_schema.final - payloadSchemaUri → String
-
Required. Google Cloud Storage URI points to a YAML file describing
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'smetadata.final - qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updateTime → Timestamp?
-
Output only. Timestamp when this Annotation was last updated.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String