Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset
- 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
Dataset is the resource to hold your data. You can request multiple labeling tasks for a dataset while each one will generate an AnnotatedDataset.
Instance Attribute Summary collapse
-
#blocking_resources ⇒ Array<String>
Output only.
-
#create_time ⇒ String
Output only.
-
#data_item_count ⇒ Fixnum
Output only.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Required.
-
#input_configs ⇒ Array<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1InputConfig>
Output only.
-
#last_migrate_time ⇒ String
Last time that the Dataset is migrated to AI Platform V2.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1Dataset
constructor
A new instance of GoogleCloudDatalabelingV1beta1Dataset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1Dataset
Returns a new instance of GoogleCloudDatalabelingV1beta1Dataset.
1671 1672 1673 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1671 def initialize(**args) update!(**args) end |
Instance Attribute Details
#blocking_resources ⇒ Array<String>
Output only. The names of any related resources that are blocking changes to
the dataset.
Corresponds to the JSON property blockingResources
1628 1629 1630 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1628 def blocking_resources @blocking_resources end |
#create_time ⇒ String
Output only. Time the dataset is created.
Corresponds to the JSON property createTime
1633 1634 1635 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1633 def create_time @create_time end |
#data_item_count ⇒ Fixnum
Output only. The number of data items in the dataset.
Corresponds to the JSON property dataItemCount
1638 1639 1640 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1638 def data_item_count @data_item_count end |
#description ⇒ String
Optional. User-provided description of the annotation specification set. The
description can be up to 10000 characters long.
Corresponds to the JSON property description
1644 1645 1646 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1644 def description @description end |
#display_name ⇒ String
Required. The display name of the dataset. Maximum of 64 characters.
Corresponds to the JSON property displayName
1649 1650 1651 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1649 def display_name @display_name end |
#input_configs ⇒ Array<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1InputConfig>
Output only. This is populated with the original input configs where
ImportData is called. It is available only after the clients import data to
this dataset.
Corresponds to the JSON property inputConfigs
1656 1657 1658 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1656 def input_configs @input_configs end |
#last_migrate_time ⇒ String
Last time that the Dataset is migrated to AI Platform V2. If any of the
AnnotatedDataset is migrated, the last_migration_time in Dataset is also
updated.
Corresponds to the JSON property lastMigrateTime
1663 1664 1665 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1663 def last_migrate_time @last_migrate_time end |
#name ⇒ String
Output only. Dataset resource name, format is: projects/project_id
/datasets/
dataset_id
Corresponds to the JSON property name
1669 1670 1671 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1669 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1676 def update!(**args) @blocking_resources = args[:blocking_resources] if args.key?(:blocking_resources) @create_time = args[:create_time] if args.key?(:create_time) @data_item_count = args[:data_item_count] if args.key?(:data_item_count) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @input_configs = args[:input_configs] if args.key?(:input_configs) @last_migrate_time = args[:last_migrate_time] if args.key?(:last_migrate_time) @name = args[:name] if args.key?(:name) end |