Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MigratableResourceDataLabelingDataset

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

Represents one Dataset in datalabeling.googleapis.com.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MigratableResourceDataLabelingDataset

Returns a new instance of GoogleCloudAiplatformV1beta1MigratableResourceDataLabelingDataset.



10970
10971
10972
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10970

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

Instance Attribute Details

#data_labeling_annotated_datasetsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MigratableResourceDataLabelingDatasetDataLabelingAnnotatedDataset>

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



10957
10958
10959
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10957

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)


10963
10964
10965
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10963

def dataset
  @dataset
end

#dataset_display_nameString

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

Returns:

  • (String)


10968
10969
10970
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10968

def dataset_display_name
  @dataset_display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10975
10976
10977
10978
10979
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10975

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