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.



14290
14291
14292
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14290

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)


14275
14276
14277
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14275

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)


14281
14282
14283
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14281

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



14288
14289
14290
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14288

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



14295
14296
14297
14298
14299
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14295

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