NAME

Google::Cloud::Datalabeling::V1beta1::Dataset - Compiled Protocol Buffers messages for google/cloud/datalabeling/v1beta1/dataset.proto

SYNOPSIS

use Google::Cloud::Datalabeling::V1beta1::Dataset;

my $msg = Google::Cloud::Datalabeling::V1beta1::Dataset::Dataset->new({
    name => $name,
    display_name => $display_name,
    description => $description,
    create_time => $create_time,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Datalabeling::V1beta1::Dataset::Dataset->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/datalabeling/v1beta1/dataset.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Datalabeling::V1beta1::Dataset::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.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Output only. Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Required. The display name of the dataset. Maximum of 64 characters.

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time the dataset is created.

  • $msg->input_configs() / $msg->input_configs($value)

    Type: Message (Google::Cloud::Datalabeling::V1beta1::Dataset::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.

  • $msg->blocking_resources() / $msg->blocking_resources($value)

    Type: String

    Output only. The names of any related resources that are blocking changes to the dataset.

  • $msg->data_item_count() / $msg->data_item_count($value)

    Type: Int64

    Output only. The number of data items in the dataset.

Google::Cloud::Datalabeling::V1beta1::Dataset::InputConfig

The configuration of input data, including data type, location, etc.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datalabeling::V1beta1::Dataset::TextMetadata

Metadata for the text.

Inherits from Protobuf::Message.

Accessors

  • $msg->language_code() / $msg->language_code($value)

    Type: String

    The language of this text, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US.

Google::Cloud::Datalabeling::V1beta1::Dataset::ClassificationMetadata

Metadata for classification annotations.

Inherits from Protobuf::Message.

Accessors

  • $msg->is_multi_label() / $msg->is_multi_label($value)

    Type: Bool

    Whether the classification task is multi-label or not.

Google::Cloud::Datalabeling::V1beta1::Dataset::GcsSource

Source of the Cloud Storage file to be imported.

Inherits from Protobuf::Message.

Accessors

  • $msg->input_uri() / $msg->input_uri($value)

    Type: String

    Required. The input URI of source file. This must be a Cloud Storage path (`gs://...`).

  • $msg->mime_type() / $msg->mime_type($value)

    Type: String

    Required. The format of the source file. Only "text/csv" is supported.

Google::Cloud::Datalabeling::V1beta1::Dataset::BigQuerySource

The BigQuery location for input data. If used in an [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob], this is where the service saves the prediction input and output sampled from the model version.

Inherits from Protobuf::Message.

Accessors

  • $msg->input_uri() / $msg->input_uri($value)

    Type: String

    Required. BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob]. If you specify the URI of a table that already exists, it must have the [correct schema](/ml-engine/docs/continuous-evaluation/create-job#table-schema).

    Provide the table URI in the following format:

    "bq://<var>{your_project_id}</var>/<var>{your_dataset_name}</var>/<var>{your_table_name}</var>"

    [Learn more](/ml-engine/docs/continuous-evaluation/create-job#table-schema).

Google::Cloud::Datalabeling::V1beta1::Dataset::OutputConfig

The configuration of output data.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datalabeling::V1beta1::Dataset::GcsDestination

Export destination of the data.Only gcs path is allowed in output_uri.

Inherits from Protobuf::Message.

Accessors

  • $msg->output_uri() / $msg->output_uri($value)

    Type: String

    Required. The output uri of destination file.

  • $msg->mime_type() / $msg->mime_type($value)

    Type: String

    Required. The format of the gcs destination. Only "text/csv" and "application/json" are supported.

Google::Cloud::Datalabeling::V1beta1::Dataset::GcsFolderDestination

Export folder destination of the data.

Inherits from Protobuf::Message.

Accessors

  • $msg->output_folder_uri() / $msg->output_folder_uri($value)

    Type: String

    Required. Cloud Storage directory to export data to.

Google::Cloud::Datalabeling::V1beta1::Dataset::DataItem

DataItem is a piece of data, without annotation. For example, an image.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datalabeling::V1beta1::Dataset::AnnotatedDataset

AnnotatedDataset is a set holding annotations for data in a Dataset. Each labeling task will generate an AnnotatedDataset under the Dataset that the task is requested for.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Output only. AnnotatedDataset resource name in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Output only. The display name of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 64 characters.

  • $msg->description() / $msg->description($value)

    Type: String

    Output only. The description of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 characters.

  • $msg->annotation_source() / $msg->annotation_source($value)

    Type: Enum (Google::Cloud::Datalabeling::V1beta1::AnnotationSource)

    Output only. Source of the annotation.

  • $msg->annotation_type() / $msg->annotation_type($value)

    Type: Enum (Google::Cloud::Datalabeling::V1beta1::AnnotationType)

    Output only. Type of the annotation. It is specified when starting labeling task.

  • $msg->example_count() / $msg->example_count($value)

    Type: Int64

    Output only. Number of examples in the annotated dataset.

  • $msg->completed_example_count() / $msg->completed_example_count($value)

    Type: Int64

    Output only. Number of examples that have annotation in the annotated dataset.

  • $msg->label_stats() / $msg->label_stats($value)

    Type: Message (Google::Cloud::Datalabeling::V1beta1::Dataset::LabelStats)

    Output only. Per label statistics.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time the AnnotatedDataset was created.

  • $msg->metadata() / $msg->metadata($value)

    Type: Message (Google::Cloud::Datalabeling::V1beta1::Dataset::AnnotatedDatasetMetadata)

    Output only. Additional information about AnnotatedDataset.

  • $msg->blocking_resources() / $msg->blocking_resources($value)

    Type: String

    Output only. The names of any related resources that are blocking changes to the annotated dataset.

Google::Cloud::Datalabeling::V1beta1::Dataset::LabelStats

Statistics about annotation specs.

Inherits from Protobuf::Message.

Accessors

  • $msg->example_count() / $msg->example_count($value)

    Type: Message (Google::Cloud::Datalabeling::V1beta1::Dataset::LabelStats::ExampleCountEntry)

    Map of each annotation spec's example count. Key is the annotation spec name and value is the number of examples for that annotation spec. If the annotated dataset does not have annotation spec, the map will return a pair where the key is empty string and value is the total number of annotations.

Google::Cloud::Datalabeling::V1beta1::Dataset::AnnotatedDatasetMetadata

Metadata on AnnotatedDataset.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datalabeling::V1beta1::Dataset::Example

An Example is a piece of data and its annotation. For example, an image with label "house".

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Datalabeling::V1beta1::Dataset::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.