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.



15142
15143
15144
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15142

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)


15127
15128
15129
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15127

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)


15133
15134
15135
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15133

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



15140
15141
15142
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15140

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



15147
15148
15149
15150
15151
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15147

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