Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MigrateResourceRequestMigrateDataLabelingDatasetConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/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) ⇒ GoogleCloudAiplatformV1beta1MigrateResourceRequestMigrateDataLabelingDatasetConfig

Returns a new instance of GoogleCloudAiplatformV1beta1MigrateResourceRequestMigrateDataLabelingDatasetConfig.



11329
11330
11331
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11329

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)


11314
11315
11316
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11314

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)


11320
11321
11322
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11320

def dataset_display_name
  @dataset_display_name
end

#migrate_data_labeling_annotated_dataset_configsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MigrateResourceRequestMigrateDataLabelingDatasetConfigMigrateDataLabelingAnnotatedDatasetConfig>

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



11327
11328
11329
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11327

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



11334
11335
11336
11337
11338
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11334

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