Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset

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

Represents one Dataset in datalabeling.googleapis.com.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset

Returns a new instance of GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset.



14324
14325
14326
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14324

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

Instance Attribute Details

#data_labeling_annotated_datasetsArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MigratableResourceDataLabelingDatasetDataLabelingAnnotatedDataset>

The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset. Corresponds to the JSON property dataLabelingAnnotatedDatasets



14311
14312
14313
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14311

def data_labeling_annotated_datasets
  @data_labeling_annotated_datasets
end

#datasetString

Full resource name of data labeling Dataset. Format: projects/project/ datasets/dataset`. Corresponds to the JSON propertydataset`

Returns:

  • (String)


14317
14318
14319
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14317

def dataset
  @dataset
end

#dataset_display_nameString

The Dataset's display name in datalabeling.googleapis.com. Corresponds to the JSON property datasetDisplayName

Returns:

  • (String)


14322
14323
14324
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14322

def dataset_display_name
  @dataset_display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14329
14330
14331
14332
14333
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14329

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