NAME

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

SYNOPSIS

use Google::Cloud::Automl::V1beta1::TableSpec;

my $msg = Google::Cloud::Automl::V1beta1::TableSpec::TableSpec->new({
    name => $name,
    time_column_spec_id => $time_column_spec_id,
    row_count => $row_count,
    valid_row_count => $valid_row_count,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/automl/v1beta1/table_spec.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::TableSpec::TableSpec

A specification of a relational table. The table's schema is represented via its child column specs. It is pre-populated as part of ImportData by schema inference algorithm, the version of which is a required parameter of ImportData InputConfig. Note: While working with a table, at times the schema may be inconsistent with the data in the table (e.g. string in a FLOAT64 column). The consistency validation is done upon creation of a model. Used by: * Tables

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The resource name of the table spec. Form:

    `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}`

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

    Type: String

    column_spec_id of the time column. Only used if the parent dataset's ml_use_column_spec_id is not set. Used to split rows into TRAIN, VALIDATE and TEST sets such that oldest rows go to TRAIN set, newest to TEST, and those in between to VALIDATE. Required type: TIMESTAMP. If both this column and ml_use_column are not set, then ML use of all rows will be assigned by AutoML. NOTE: Updates of this field will instantly affect any other users concurrently working with the dataset.

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

    Type: Int64

    Output only. The number of rows (i.e. examples) in the table.

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

    Type: Int64

    Output only. The number of valid rows (i.e. without values that don't match DataType-s of their columns).

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

    Type: Int64

    Output only. The number of columns of the table. That is, the number of child ColumnSpec-s.

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

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

    Output only. Input configs via which data currently residing in the table had been imported.

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

    Type: String

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

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.