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.



14959
14960
14961
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14959

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



14946
14947
14948
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14946

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)


14952
14953
14954
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14952

def dataset
  @dataset
end

#dataset_display_nameString

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

Returns:

  • (String)


14957
14958
14959
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14957

def dataset_display_name
  @dataset_display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14964
14965
14966
14967
14968
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14964

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