Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfigMigrateDataLabelingAnnotatedDatasetConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Config for migrating AnnotatedDataset in datalabeling.googleapis.com to Vertex AI's SavedQuery.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfigMigrateDataLabelingAnnotatedDatasetConfig

Returns a new instance of GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfigMigrateDataLabelingAnnotatedDatasetConfig.



14530
14531
14532
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14530

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#annotated_datasetString

Required. Full resource name of data labeling AnnotatedDataset. Format: projects/project/datasets/dataset/annotatedDatasets/annotated_dataset`. Corresponds to the JSON propertyannotatedDataset`

Returns:

  • (String)


14528
14529
14530
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14528

def annotated_dataset
  @annotated_dataset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14535
14536
14537
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14535

def update!(**args)
  @annotated_dataset = args[:annotated_dataset] if args.key?(:annotated_dataset)
end