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.



12577
12578
12579
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12577

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



12564
12565
12566
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12564

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)


12570
12571
12572
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12570

def dataset
  @dataset
end

#dataset_display_nameString

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

Returns:

  • (String)


12575
12576
12577
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12575

def dataset_display_name
  @dataset_display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12582
12583
12584
12585
12586
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12582

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