Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateDatasetRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datalabeling_v1beta1/classes.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb

Overview

Request message for CreateDataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1CreateDatasetRequest

Returns a new instance of GoogleCloudDatalabelingV1beta1CreateDatasetRequest.



1477
1478
1479
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1477

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

Instance Attribute Details

#datasetGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset

Dataset is the resource to hold your data. You can request multiple labeling tasks for a dataset while each one will generate an AnnotatedDataset. Corresponds to the JSON property dataset



1475
1476
1477
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1475

def dataset
  @dataset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1482
1483
1484
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1482

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