NAME
Google::Cloud::Automl::V1beta1::Model - Compiled Protocol Buffers messages for google/cloud/automl/v1beta1/model.proto
SYNOPSIS
use Google::Cloud::Automl::V1beta1::Model;
my $msg = Google::Cloud::Automl::V1beta1::Model::Model->new({
translation_model_metadata => $translation_model_metadata,
image_classification_model_metadata => $image_classification_model_metadata,
text_classification_model_metadata => $text_classification_model_metadata,
image_object_detection_model_metadata => $image_object_detection_model_metadata,
});
# Read or update a field
my $val = $msg->translation_model_metadata();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Automl::V1beta1::Model::Model->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/automl/v1beta1/model.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::Model::Model
API proto representing a trained machine learning model.
Inherits from Protobuf::Message.
Accessors
$msg->translation_model_metadata()/$msg->translation_model_metadata($value)Type:
Message(Google::Cloud::Automl::V1beta1::Translation::TranslationModelMetadata)Metadata for translation models.
$msg->image_classification_model_metadata()/$msg->image_classification_model_metadata($value)Type:
Message(Google::Cloud::Automl::V1beta1::Image::ImageClassificationModelMetadata)Metadata for image classification models.
$msg->text_classification_model_metadata()/$msg->text_classification_model_metadata($value)Type:
Message(Google::Cloud::Automl::V1beta1::Text::TextClassificationModelMetadata)Metadata for text classification models.
$msg->image_object_detection_model_metadata()/$msg->image_object_detection_model_metadata($value)Type:
Message(Google::Cloud::Automl::V1beta1::Image::ImageObjectDetectionModelMetadata)Metadata for image object detection models.
$msg->video_classification_model_metadata()/$msg->video_classification_model_metadata($value)Type:
Message(Google::Cloud::Automl::V1beta1::Video::VideoClassificationModelMetadata)Metadata for video classification models.
$msg->video_object_tracking_model_metadata()/$msg->video_object_tracking_model_metadata($value)Type:
Message(Google::Cloud::Automl::V1beta1::Video::VideoObjectTrackingModelMetadata)Metadata for video object tracking models.
$msg->text_extraction_model_metadata()/$msg->text_extraction_model_metadata($value)Type:
Message(Google::Cloud::Automl::V1beta1::Text::TextExtractionModelMetadata)Metadata for text extraction models.
$msg->tables_model_metadata()/$msg->tables_model_metadata($value)Type:
Message(Google::Cloud::Automl::V1beta1::Tables::TablesModelMetadata)Metadata for Tables models.
$msg->text_sentiment_model_metadata()/$msg->text_sentiment_model_metadata($value)Type:
Message(Google::Cloud::Automl::V1beta1::Text::TextSentimentModelMetadata)Metadata for text sentiment models.
$msg->name()/$msg->name($value)Type:
StringOutput only. Resource name of the model. Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. The name of the model 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. It must start with a letter.
$msg->dataset_id()/$msg->dataset_id($value)Type:
StringRequired. The resource ID of the dataset used to create the model. The dataset must come from the same ancestor project and location.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp when the model training finished and can be used for prediction.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp when this model was last updated.
$msg->deployment_state()/$msg->deployment_state($value)Type:
Enum(Google::Cloud::Automl::V1beta1::Model::DeploymentState)Output only. Deployment state of the model. A model can only serve prediction requests after it gets deployed.
Enum: Model::DeploymentState
DEPLOYMENT_STATE_UNSPECIFIED=>0DEPLOYED=>1UNDEPLOYED=>2
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Automl::V1beta1::Model::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.