Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateDatasetRequest
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateDatasetRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datalabeling_v1beta1/classes.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb
Overview
Request message for CreateDataset.
Instance Attribute Summary collapse
-
#dataset ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset
Dataset is the resource to hold your data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1CreateDatasetRequest
constructor
A new instance of GoogleCloudDatalabelingV1beta1CreateDatasetRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1CreateDatasetRequest
Returns a new instance of GoogleCloudDatalabelingV1beta1CreateDatasetRequest.
1477 1478 1479 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1477 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dataset ⇒ Google::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 'generated/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 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1482 def update!(**args) @dataset = args[:dataset] if args.key?(:dataset) end |