Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfig

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 Dataset in datalabeling.googleapis.com to Vertex AI's Dataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfig

Returns a new instance of GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfig.



14507
14508
14509
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14507

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

Instance Attribute Details

#datasetString

Required. Full resource name of data labeling Dataset. Format: projects/ project/datasets/dataset`. Corresponds to the JSON propertydataset`

Returns:

  • (String)


14492
14493
14494
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14492

def dataset
  @dataset
end

#dataset_display_nameString

Optional. Display name of the Dataset in Vertex AI. System will pick a display name if unspecified. Corresponds to the JSON property datasetDisplayName

Returns:

  • (String)


14498
14499
14500
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14498

def dataset_display_name
  @dataset_display_name
end

#migrate_data_labeling_annotated_dataset_configsArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfigMigrateDataLabelingAnnotatedDatasetConfig>

Optional. Configs for migrating AnnotatedDataset in datalabeling.googleapis. com to Vertex AI's SavedQuery. The specified AnnotatedDatasets have to belong to the datalabeling Dataset. Corresponds to the JSON property migrateDataLabelingAnnotatedDatasetConfigs



14505
14506
14507
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14505

def migrate_data_labeling_annotated_dataset_configs
  @migrate_data_labeling_annotated_dataset_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14512
14513
14514
14515
14516
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14512

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