Service Client: Google::Cloud::Automl::V1::Service::AutoMlClient
Client stub representing the remote AutoMl gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to automl.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Automl::V1::Service - Compiled Protocol Buffers messages for google/cloud/automl/v1/service.proto
SYNOPSIS
use Google::Cloud::Automl::V1::Service;
my $msg = Google::Cloud::Automl::V1::Service::CreateDatasetRequest->new({
parent => $parent,
dataset => $dataset,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Automl::V1::Service::CreateDatasetRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/automl/v1/service.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::Service::CreateDatasetRequest
Request message for [AutoMl.CreateDataset][google.cloud.automl.v1.AutoMl.CreateDataset].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the project to create the dataset for.
$msg->dataset()/$msg->dataset($value)Type:
Message(Google::Cloud::Automl::V1::Dataset::Dataset)Required. The dataset to create.
Google::Cloud::Automl::V1::Service::GetDatasetRequest
Request message for [AutoMl.GetDataset][google.cloud.automl.v1.AutoMl.GetDataset].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the dataset to retrieve.
Google::Cloud::Automl::V1::Service::ListDatasetsRequest
Request message for [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the project from which to list datasets.
$msg->filter()/$msg->filter($value)Type:
StringAn expression for filtering the results of the request.
* `dataset_metadata` - for existence of the case (e.g. `image_classification_dataset_metadata:*`). Some examples of using the filter are: * `translation_dataset_metadata:*` --> The dataset has `translation_dataset_metadata`.$msg->page_size()/$msg->page_size($value)Type:
Int32Requested page size. Server may return fewer results than requested. If unspecified, server will pick a default size.
$msg->page_token()/$msg->page_token($value)Type:
StringA token identifying a page of results for the server to return Typically obtained via [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
Google::Cloud::Automl::V1::Service::ListDatasetsResponse
Response message for [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets].
Inherits from Protobuf::Message.
Accessors
$msg->datasets()/$msg->datasets($value)Type:
Message(Google::Cloud::Automl::V1::Dataset::Dataset)The datasets read.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token to retrieve next page of results. Pass to [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token] to obtain that page.
Google::Cloud::Automl::V1::Service::UpdateDatasetRequest
Request message for [AutoMl.UpdateDataset][google.cloud.automl.v1.AutoMl.UpdateDataset]
Inherits from Protobuf::Message.
Accessors
$msg->dataset()/$msg->dataset($value)Type:
Message(Google::Cloud::Automl::V1::Dataset::Dataset)Required. The dataset which replaces the resource on the server.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. The update mask applies to the resource.
Google::Cloud::Automl::V1::Service::DeleteDatasetRequest
Request message for [AutoMl.DeleteDataset][google.cloud.automl.v1.AutoMl.DeleteDataset].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the dataset to delete.
Google::Cloud::Automl::V1::Service::ImportDataRequest
Request message for [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Dataset name. Dataset must already exist. All imported annotations and examples will be added.
$msg->input_config()/$msg->input_config($value)Type:
Message(Google::Cloud::Automl::V1::Io::InputConfig)Required. The desired input location and its domain specific semantics, if any.
Google::Cloud::Automl::V1::Service::ExportDataRequest
Request message for [AutoMl.ExportData][google.cloud.automl.v1.AutoMl.ExportData].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the dataset.
$msg->output_config()/$msg->output_config($value)Type:
Message(Google::Cloud::Automl::V1::Io::OutputConfig)Required. The desired output location.
Google::Cloud::Automl::V1::Service::GetAnnotationSpecRequest
Request message for [AutoMl.GetAnnotationSpec][google.cloud.automl.v1.AutoMl.GetAnnotationSpec].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the annotation spec to retrieve.
Google::Cloud::Automl::V1::Service::CreateModelRequest
Request message for [AutoMl.CreateModel][google.cloud.automl.v1.AutoMl.CreateModel].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Resource name of the parent project where the model is being created.
$msg->model()/$msg->model($value)Type:
Message(Google::Cloud::Automl::V1::Model::Model)Required. The model to create.
Google::Cloud::Automl::V1::Service::GetModelRequest
Request message for [AutoMl.GetModel][google.cloud.automl.v1.AutoMl.GetModel].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Resource name of the model.
Google::Cloud::Automl::V1::Service::ListModelsRequest
Request message for [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Resource name of the project, from which to list the models.
$msg->filter()/$msg->filter($value)Type:
StringAn expression for filtering the results of the request.
* `model_metadata` - for existence of the case (e.g. `video_classification_model_metadata:*`). * `dataset_id` - for = or !=. Some examples of using the filter are: * `image_classification_model_metadata:*` --> The model has `image_classification_model_metadata`. * `dataset_id=5` --> The model was created from a dataset with ID 5.$msg->page_size()/$msg->page_size($value)Type:
Int32Requested page size.
$msg->page_token()/$msg->page_token($value)Type:
StringA token identifying a page of results for the server to return Typically obtained via [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] of the previous [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels] call.
Google::Cloud::Automl::V1::Service::ListModelsResponse
Response message for [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels].
Inherits from Protobuf::Message.
Accessors
$msg->model()/$msg->model($value)Type:
Message(Google::Cloud::Automl::V1::Model::Model)List of models in the requested page.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token to retrieve next page of results. Pass to [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token] to obtain that page.
Google::Cloud::Automl::V1::Service::DeleteModelRequest
Request message for [AutoMl.DeleteModel][google.cloud.automl.v1.AutoMl.DeleteModel].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Resource name of the model being deleted.
Google::Cloud::Automl::V1::Service::UpdateModelRequest
Request message for [AutoMl.UpdateModel][google.cloud.automl.v1.AutoMl.UpdateModel]
Inherits from Protobuf::Message.
Accessors
$msg->model()/$msg->model($value)Type:
Message(Google::Cloud::Automl::V1::Model::Model)Required. The model which replaces the resource on the server.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. The update mask applies to the resource.
Google::Cloud::Automl::V1::Service::DeployModelRequest
Request message for [AutoMl.DeployModel][google.cloud.automl.v1.AutoMl.DeployModel].
Inherits from Protobuf::Message.
Accessors
$msg->image_object_detection_model_deployment_metadata()/$msg->image_object_detection_model_deployment_metadata($value)Type:
Message(Google::Cloud::Automl::V1::Image::ImageObjectDetectionModelDeploymentMetadata)Model deployment metadata specific to Image Object Detection.
$msg->image_classification_model_deployment_metadata()/$msg->image_classification_model_deployment_metadata($value)Type:
Message(Google::Cloud::Automl::V1::Image::ImageClassificationModelDeploymentMetadata)Model deployment metadata specific to Image Classification.
$msg->name()/$msg->name($value)Type:
StringRequired. Resource name of the model to deploy.
Google::Cloud::Automl::V1::Service::UndeployModelRequest
Request message for [AutoMl.UndeployModel][google.cloud.automl.v1.AutoMl.UndeployModel].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Resource name of the model to undeploy.
Google::Cloud::Automl::V1::Service::ExportModelRequest
Request message for [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]. Models need to be enabled for exporting, otherwise an error code will be returned.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the model to export.
$msg->output_config()/$msg->output_config($value)Type:
Message(Google::Cloud::Automl::V1::Io::ModelExportOutputConfig)Required. The desired output location and configuration.
Google::Cloud::Automl::V1::Service::GetModelEvaluationRequest
Request message for [AutoMl.GetModelEvaluation][google.cloud.automl.v1.AutoMl.GetModelEvaluation].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Resource name for the model evaluation.
Google::Cloud::Automl::V1::Service::ListModelEvaluationsRequest
Request message for [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Resource name of the model to list the model evaluations for. If modelId is set as "-", this will list model evaluations from across all models of the parent location.
$msg->filter()/$msg->filter($value)Type:
StringRequired. An expression for filtering the results of the request.
* `annotation_spec_id` - for =, != or existence. See example below for the last.Some examples of using the filter are:
* `annotation_spec_id!=4` --> The model evaluation was done for annotation spec with ID different than 4. * `NOT annotation_spec_id:*` --> The model evaluation was done for aggregate of all annotation specs.$msg->page_size()/$msg->page_size($value)Type:
Int32Requested page size.
$msg->page_token()/$msg->page_token($value)Type:
StringA token identifying a page of results for the server to return. Typically obtained via [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token] of the previous [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] call.
Google::Cloud::Automl::V1::Service::ListModelEvaluationsResponse
Response message for [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations].
Inherits from Protobuf::Message.
Accessors
$msg->model_evaluation()/$msg->model_evaluation($value)Type:
Message(Google::Cloud::Automl::V1::ModelEvaluation::ModelEvaluation)List of model evaluations in the requested page.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token to retrieve next page of results. Pass to the [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token] field of a new [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] request to obtain that page.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Automl::V1::Service::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.