NAME

Google::Cloud::Automl::V1beta1::Text - Compiled Protocol Buffers messages for google/cloud/automl/v1beta1/text.proto

SYNOPSIS

use Google::Cloud::Automl::V1beta1::Text;

my $msg = Google::Cloud::Automl::V1beta1::Text::TextClassificationDatasetMetadata->new({
    classification_type => $classification_type,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/automl/v1beta1/text.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::V1beta1::Text::TextClassificationDatasetMetadata

Dataset metadata for classification.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Automl::V1beta1::Text::TextClassificationModelMetadata

Model metadata that is specific to text classification.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Automl::V1beta1::Text::TextExtractionDatasetMetadata

Dataset metadata that is specific to text extraction

Inherits from Protobuf::Message.

Google::Cloud::Automl::V1beta1::Text::TextExtractionModelMetadata

Model metadata that is specific to text extraction.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Indicates the scope of model use case.

    * `default`: Use to train a general text extraction model. Default value.

    * `health_care`: Use to train a text extraction model that is tuned for healthcare applications.

Google::Cloud::Automl::V1beta1::Text::TextSentimentDatasetMetadata

Dataset metadata for text sentiment.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int32

    Required. A sentiment is expressed as an integer ordinal, where higher value means a more positive sentiment. The range of sentiments that will be used is between 0 and sentiment_max (inclusive on both ends), and all the values in the range must be represented in the dataset before a model can be created. sentiment_max value must be between 1 and 10 (inclusive).

Google::Cloud::Automl::V1beta1::Text::TextSentimentModelMetadata

Model metadata that is specific to text sentiment.

Inherits from Protobuf::Message.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Automl::V1beta1::Text::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.