Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class Dataset.
Dataset is the resource to hold your data. You can request multiple labeling tasks for a dataset while each one will generate an AnnotatedDataset.
Generated from protobuf message google.cloud.datalabeling.v1beta1.Dataset
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
↳ display_name
string
Required. The display name of the dataset. Maximum of 64 characters.
↳ description
string
Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
↳ create_time
↳ input_configs
array< Google\Cloud\DataLabeling\V1beta1\InputConfig
>
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.
↳ blocking_resources
array
Output only. The names of any related resources that are blocking changes to the dataset.
↳ data_item_count
int|string
Output only. The number of data items in the dataset.
getName
Output only. Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
string
setName
Output only. Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
var
string
$this
getDisplayName
Required. The display name of the dataset. Maximum of 64 characters.
string
setDisplayName
Required. The display name of the dataset. Maximum of 64 characters.
var
string
$this
getDescription
Optional. User-provided description of the annotation specification set.
The description can be up to 10000 characters long.
string
setDescription
Optional. User-provided description of the annotation specification set.
The description can be up to 10000 characters long.
var
string
$this
getCreateTime
Output only. Time the dataset is created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Time the dataset is created.
$this
getInputConfigs
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.
setInputConfigs
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.
$this
getBlockingResources
Output only. The names of any related resources that are blocking changes to the dataset.
setBlockingResources
Output only. The names of any related resources that are blocking changes to the dataset.
var
string[]
$this
getDataItemCount
Output only. The number of data items in the dataset.
int|string
setDataItemCount
Output only. The number of data items in the dataset.
var
int|string
$this