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.



14059
14060
14061
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14059

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)


14044
14045
14046
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14044

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)


14050
14051
14052
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14050

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



14057
14058
14059
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14057

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



14064
14065
14066
14067
14068
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14064

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