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.



11727
11728
11729
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 11727

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



11714
11715
11716
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 11714

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)


11720
11721
11722
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 11720

def dataset
  @dataset
end

#dataset_display_nameString

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

Returns:

  • (String)


11725
11726
11727
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 11725

def dataset_display_name
  @dataset_display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11732
11733
11734
11735
11736
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 11732

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