Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MigrateResourceRequestMigrateDataLabelingDatasetConfigMigrateDataLabelingAnnotatedDatasetConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MigrateResourceRequestMigrateDataLabelingDatasetConfigMigrateDataLabelingAnnotatedDatasetConfig

Returns a new instance of GoogleCloudAiplatformV1beta1MigrateResourceRequestMigrateDataLabelingDatasetConfigMigrateDataLabelingAnnotatedDatasetConfig.



15165
15166
15167
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15165

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

Instance Attribute Details

#annotated_datasetString

Required. Full resource name of data labeling AnnotatedDataset. Format: projects/project/datasets/dataset/annotatedDatasets/annotated_dataset`. Corresponds to the JSON propertyannotatedDataset`

Returns:

  • (String)


15163
15164
15165
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15163

def annotated_dataset
  @annotated_dataset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15170
15171
15172
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15170

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