NAME

Google::Cloud::Automl::V1::Dataset - Compiled Protocol Buffers messages for google/cloud/automl/v1/dataset.proto

SYNOPSIS

use Google::Cloud::Automl::V1::Dataset;

my $msg = Google::Cloud::Automl::V1::Dataset::Dataset->new({
    translation_dataset_metadata => $translation_dataset_metadata,
    image_classification_dataset_metadata => $image_classification_dataset_metadata,
    text_classification_dataset_metadata => $text_classification_dataset_metadata,
    image_object_detection_dataset_metadata => $image_object_detection_dataset_metadata,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/automl/v1/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::Automl::V1::Dataset::Dataset

A workspace for solving a single, particular machine learning (ML) problem. A workspace contains examples that may be annotated.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Automl::V1::Translation::TranslationDatasetMetadata)

    Metadata for a dataset used for translation.

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

    Type: Message (Google::Cloud::Automl::V1::Image::ImageClassificationDatasetMetadata)

    Metadata for a dataset used for image classification.

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

    Type: Message (Google::Cloud::Automl::V1::Text::TextClassificationDatasetMetadata)

    Metadata for a dataset used for text classification.

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

    Type: Message (Google::Cloud::Automl::V1::Image::ImageObjectDetectionDatasetMetadata)

    Metadata for a dataset used for image object detection.

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

    Type: Message (Google::Cloud::Automl::V1::Text::TextExtractionDatasetMetadata)

    Metadata for a dataset used for text extraction.

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

    Type: Message (Google::Cloud::Automl::V1::Text::TextSentimentDatasetMetadata)

    Metadata for a dataset used for text sentiment.

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

    Type: String

    Output only. The resource name of the dataset. Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`

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

    Type: String

    Required. The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.

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

    Type: String

    User-provided description of the dataset. The description can be up to 25000 characters long.

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

    Type: Int32

    Output only. The number of examples in the dataset.

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

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

    Output only. Timestamp when this dataset was created.

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

    Type: String

    Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

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

    Type: Message (Google::Cloud::Automl::V1::Dataset::Dataset::LabelsEntry)

    Optional. The labels with user-defined metadata to organize your dataset.

    Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.

    See https://goo.gl/xmQnxf for more information on and examples of labels.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Automl::V1::Dataset::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.