Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MigratableResourceDataLabelingDatasetDataLabelingAnnotatedDataset

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 AnnotatedDataset in datalabeling.googleapis.com.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MigratableResourceDataLabelingDatasetDataLabelingAnnotatedDataset

Returns a new instance of GoogleCloudAiplatformV1beta1MigratableResourceDataLabelingDatasetDataLabelingAnnotatedDataset.



14986
14987
14988
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14986

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

Instance Attribute Details

#annotated_datasetString

Full resource name of data labeling AnnotatedDataset. Format: projects/ project/datasets/dataset/annotatedDatasets/annotated_dataset`. Corresponds to the JSON propertyannotatedDataset`

Returns:

  • (String)


14979
14980
14981
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14979

def annotated_dataset
  @annotated_dataset
end

#annotated_dataset_display_nameString

The AnnotatedDataset's display name in datalabeling.googleapis.com. Corresponds to the JSON property annotatedDatasetDisplayName

Returns:

  • (String)


14984
14985
14986
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14984

def annotated_dataset_display_name
  @annotated_dataset_display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14991
14992
14993
14994
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14991

def update!(**args)
  @annotated_dataset = args[:annotated_dataset] if args.key?(:annotated_dataset)
  @annotated_dataset_display_name = args[:annotated_dataset_display_name] if args.key?(:annotated_dataset_display_name)
end