Service Client: Google::Cloud::Automl::V1beta1::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::V1beta1::Service - Compiled Protocol Buffers messages for google/cloud/automl/v1beta1/service.proto

SYNOPSIS

use Google::Cloud::Automl::V1beta1::Service;

my $msg = Google::Cloud::Automl::V1beta1::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::V1beta1::Service::CreateDatasetRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/automl/v1beta1/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::V1beta1::Service::CreateDatasetRequest

Request message for [AutoMl.CreateDataset][google.cloud.automl.v1beta1.AutoMl.CreateDataset].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the project to create the dataset for.

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

    Type: Message (Google::Cloud::Automl::V1beta1::Dataset::Dataset)

    Required. The dataset to create.

Google::Cloud::Automl::V1beta1::Service::GetDatasetRequest

Request message for [AutoMl.GetDataset][google.cloud.automl.v1beta1.AutoMl.GetDataset].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the dataset to retrieve.

Google::Cloud::Automl::V1beta1::Service::ListDatasetsRequest

Request message for [AutoMl.ListDatasets][google.cloud.automl.v1beta1.AutoMl.ListDatasets].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the project from which to list datasets.

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

    Type: String

    An 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: Int32

    Requested 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: String

    A token identifying a page of results for the server to return Typically obtained via [ListDatasetsResponse.next_page_token][google.cloud.automl.v1beta1.ListDatasetsResponse.next_page_token] of the previous [AutoMl.ListDatasets][google.cloud.automl.v1beta1.AutoMl.ListDatasets] call.

Google::Cloud::Automl::V1beta1::Service::ListDatasetsResponse

Response message for [AutoMl.ListDatasets][google.cloud.automl.v1beta1.AutoMl.ListDatasets].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Automl::V1beta1::Dataset::Dataset)

    The datasets read.

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

    Type: String

    A token to retrieve next page of results. Pass to [ListDatasetsRequest.page_token][google.cloud.automl.v1beta1.ListDatasetsRequest.page_token] to obtain that page.

Google::Cloud::Automl::V1beta1::Service::UpdateDatasetRequest

Request message for [AutoMl.UpdateDataset][google.cloud.automl.v1beta1.AutoMl.UpdateDataset]

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Automl::V1beta1::Service::DeleteDatasetRequest

Request message for [AutoMl.DeleteDataset][google.cloud.automl.v1beta1.AutoMl.DeleteDataset].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the dataset to delete.

Google::Cloud::Automl::V1beta1::Service::ImportDataRequest

Request message for [AutoMl.ImportData][google.cloud.automl.v1beta1.AutoMl.ImportData].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. 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::V1beta1::Io::InputConfig)

    Required. The desired input location and its domain specific semantics, if any.

Google::Cloud::Automl::V1beta1::Service::ExportDataRequest

Request message for [AutoMl.ExportData][google.cloud.automl.v1beta1.AutoMl.ExportData].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the dataset.

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

    Type: Message (Google::Cloud::Automl::V1beta1::Io::OutputConfig)

    Required. The desired output location.

Google::Cloud::Automl::V1beta1::Service::GetAnnotationSpecRequest

Request message for [AutoMl.GetAnnotationSpec][google.cloud.automl.v1beta1.AutoMl.GetAnnotationSpec].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the annotation spec to retrieve.

Google::Cloud::Automl::V1beta1::Service::GetTableSpecRequest

Request message for [AutoMl.GetTableSpec][google.cloud.automl.v1beta1.AutoMl.GetTableSpec].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the table spec to retrieve.

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Mask specifying which fields to read.

Google::Cloud::Automl::V1beta1::Service::ListTableSpecsRequest

Request message for [AutoMl.ListTableSpecs][google.cloud.automl.v1beta1.AutoMl.ListTableSpecs].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the dataset to list table specs from.

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Mask specifying which fields to read.

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

    Type: String

    Filter expression, see go/filtering.

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

    Type: Int32

    Requested page size. The server can return fewer results than requested. If unspecified, the server will pick a default size.

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

    Type: String

    A token identifying a page of results for the server to return. Typically obtained from the [ListTableSpecsResponse.next_page_token][google.cloud.automl.v1beta1.ListTableSpecsResponse.next_page_token] field of the previous [AutoMl.ListTableSpecs][google.cloud.automl.v1beta1.AutoMl.ListTableSpecs] call.

Google::Cloud::Automl::V1beta1::Service::ListTableSpecsResponse

Response message for [AutoMl.ListTableSpecs][google.cloud.automl.v1beta1.AutoMl.ListTableSpecs].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Automl::V1beta1::TableSpec::TableSpec)

    The table specs read.

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

    Type: String

    A token to retrieve next page of results. Pass to [ListTableSpecsRequest.page_token][google.cloud.automl.v1beta1.ListTableSpecsRequest.page_token] to obtain that page.

Google::Cloud::Automl::V1beta1::Service::UpdateTableSpecRequest

Request message for [AutoMl.UpdateTableSpec][google.cloud.automl.v1beta1.AutoMl.UpdateTableSpec]

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Automl::V1beta1::Service::GetColumnSpecRequest

Request message for [AutoMl.GetColumnSpec][google.cloud.automl.v1beta1.AutoMl.GetColumnSpec].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the column spec to retrieve.

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Mask specifying which fields to read.

Google::Cloud::Automl::V1beta1::Service::ListColumnSpecsRequest

Request message for [AutoMl.ListColumnSpecs][google.cloud.automl.v1beta1.AutoMl.ListColumnSpecs].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the table spec to list column specs from.

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Mask specifying which fields to read.

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

    Type: String

    Filter expression, see go/filtering.

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

    Type: Int32

    Requested page size. The server can return fewer results than requested. If unspecified, the server will pick a default size.

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

    Type: String

    A token identifying a page of results for the server to return. Typically obtained from the [ListColumnSpecsResponse.next_page_token][google.cloud.automl.v1beta1.ListColumnSpecsResponse.next_page_token] field of the previous [AutoMl.ListColumnSpecs][google.cloud.automl.v1beta1.AutoMl.ListColumnSpecs] call.

Google::Cloud::Automl::V1beta1::Service::ListColumnSpecsResponse

Response message for [AutoMl.ListColumnSpecs][google.cloud.automl.v1beta1.AutoMl.ListColumnSpecs].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Automl::V1beta1::ColumnSpec::ColumnSpec)

    The column specs read.

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

    Type: String

    A token to retrieve next page of results. Pass to [ListColumnSpecsRequest.page_token][google.cloud.automl.v1beta1.ListColumnSpecsRequest.page_token] to obtain that page.

Google::Cloud::Automl::V1beta1::Service::UpdateColumnSpecRequest

Request message for [AutoMl.UpdateColumnSpec][google.cloud.automl.v1beta1.AutoMl.UpdateColumnSpec]

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Automl::V1beta1::Service::CreateModelRequest

Request message for [AutoMl.CreateModel][google.cloud.automl.v1beta1.AutoMl.CreateModel].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Resource name of the parent project where the model is being created.

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

    Type: Message (Google::Cloud::Automl::V1beta1::Model::Model)

    Required. The model to create.

Google::Cloud::Automl::V1beta1::Service::GetModelRequest

Request message for [AutoMl.GetModel][google.cloud.automl.v1beta1.AutoMl.GetModel].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Resource name of the model.

Google::Cloud::Automl::V1beta1::Service::ListModelsRequest

Request message for [AutoMl.ListModels][google.cloud.automl.v1beta1.AutoMl.ListModels].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Resource name of the project, from which to list the models.

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

    Type: String

    An 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: Int32

    Requested page size.

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

    Type: String

    A token identifying a page of results for the server to return Typically obtained via [ListModelsResponse.next_page_token][google.cloud.automl.v1beta1.ListModelsResponse.next_page_token] of the previous [AutoMl.ListModels][google.cloud.automl.v1beta1.AutoMl.ListModels] call.

Google::Cloud::Automl::V1beta1::Service::ListModelsResponse

Response message for [AutoMl.ListModels][google.cloud.automl.v1beta1.AutoMl.ListModels].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Automl::V1beta1::Model::Model)

    List of models in the requested page.

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

    Type: String

    A token to retrieve next page of results. Pass to [ListModelsRequest.page_token][google.cloud.automl.v1beta1.ListModelsRequest.page_token] to obtain that page.

Google::Cloud::Automl::V1beta1::Service::DeleteModelRequest

Request message for [AutoMl.DeleteModel][google.cloud.automl.v1beta1.AutoMl.DeleteModel].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Resource name of the model being deleted.

Google::Cloud::Automl::V1beta1::Service::DeployModelRequest

Request message for [AutoMl.DeployModel][google.cloud.automl.v1beta1.AutoMl.DeployModel].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Automl::V1beta1::Service::UndeployModelRequest

Request message for [AutoMl.UndeployModel][google.cloud.automl.v1beta1.AutoMl.UndeployModel].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Resource name of the model to undeploy.

Google::Cloud::Automl::V1beta1::Service::ExportModelRequest

Request message for [AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel]. Models need to be enabled for exporting, otherwise an error code will be returned.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Automl::V1beta1::Service::ExportEvaluatedExamplesRequest

Request message for [AutoMl.ExportEvaluatedExamples][google.cloud.automl.v1beta1.AutoMl.ExportEvaluatedExamples].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Automl::V1beta1::Service::GetModelEvaluationRequest

Request message for [AutoMl.GetModelEvaluation][google.cloud.automl.v1beta1.AutoMl.GetModelEvaluation].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Resource name for the model evaluation.

Google::Cloud::Automl::V1beta1::Service::ListModelEvaluationsRequest

Request message for [AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. 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: String

    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: Int32

    Requested page size.

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

    Type: String

    A token identifying a page of results for the server to return. Typically obtained via [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1beta1.ListModelEvaluationsResponse.next_page_token] of the previous [AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations] call.

Google::Cloud::Automl::V1beta1::Service::ListModelEvaluationsResponse

Response message for [AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Automl::V1beta1::ModelEvaluation::ModelEvaluation)

    List of model evaluations in the requested page.

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

    Type: String

    A token to retrieve next page of results. Pass to the [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1beta1.ListModelEvaluationsRequest.page_token] field of a new [AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations] request to obtain that page.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.