Dataset class final

A collection of DataItems and Annotations on them.

Inheritance

Constructors

Dataset({String name = '', required String displayName, String description = '', required String metadataSchemaUri, required Value? metadata, int dataItemCount = 0, Timestamp? createTime, Timestamp? updateTime, String etag = '', Map<String, String> labels = const {}, List<SavedQuery> savedQueries = const [], EncryptionSpec? encryptionSpec, String metadataArtifact = '', String modelReference = '', bool satisfiesPzs = false, bool satisfiesPzi = false})
Dataset.fromJson(Object? j)
factory

Properties

createTime → Timestamp?
Output only. Timestamp when this Dataset was created.
final
dataItemCount int
Output only. The number of DataItems in this Dataset. Only apply for non-structured Dataset.
final
description String
The description of the Dataset.
final
displayName String
Required. The user-defined name of the Dataset. The name can be up to 128 characters long and can consist of any UTF-8 characters.
final
encryptionSpec EncryptionSpec?
Customer-managed encryption key spec for a Dataset. If set, this Dataset and all sub-resources of this Dataset will be secured by this key.
final
etag String
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>
The labels with user-defined metadata to organize your Datasets.
final
metadata → Value?
Required. Additional information about the Dataset.
final
metadataArtifact String
Output only. The resource name of the Artifact that was created in MetadataStore when creating the Dataset. The Artifact resource name pattern is projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}.
final
metadataSchemaUri String
Required. Points to a YAML file stored on Google Cloud Storage describing additional information about the Dataset. 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/metadata/.
final
modelReference String
Optional. Reference to the public base model last used by the dataset. Only set for prompt datasets.
final
name String
Output only. Identifier. The resource name of the Dataset.
final
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
satisfiesPzi bool
Output only. Reserved for future use.
final
satisfiesPzs bool
Output only. Reserved for future use.
final
savedQueries List<SavedQuery>
All SavedQueries belong to the Dataset will be returned in List/Get Dataset response. The annotation_specs field will not be populated except for UI cases which will only use annotation_spec_count. In CreateDataset request, a SavedQuery is created together if this field is set, up to one SavedQuery can be set in CreateDatasetRequest. The SavedQuery should not contain any AnnotationSpec.
final
updateTime → Timestamp?
Output only. Timestamp when this Dataset 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