NAME

Google::Cloud::Alloydb::V1alpha::DataModel - Compiled Protocol Buffers messages for google/cloud/alloydb/v1alpha/data_model.proto

SYNOPSIS

use Google::Cloud::Alloydb::V1alpha::DataModel;

my $msg = Google::Cloud::Alloydb::V1alpha::DataModel::SqlResult->new({
    columns => $columns,
    rows => $rows,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Alloydb::V1alpha::DataModel::SqlResult->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/alloydb/v1alpha/data_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::Alloydb::V1alpha::DataModel::SqlResult

SqlResult represents the result for the execution of a sql statement.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Alloydb::V1alpha::DataModel::SqlResultColumn

Contains the name and datatype of a column in a SQL Result.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the column.

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

    Type: String

    Datatype of the column as reported by the postgres driver. Common type names are "VARCHAR", "TEXT", "NVARCHAR", "DECIMAL", "BOOL", "INT", and "BIGINT".

Google::Cloud::Alloydb::V1alpha::DataModel::SqlResultRow

A single row from a sql result.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Alloydb::V1alpha::DataModel::SqlResultValue

A single value in a row from a sql result.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The cell value represented in string format. Timestamps are converted to string using RFC3339Nano format.

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

    Type: Bool

    Set to true if cell value is null.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Alloydb::V1alpha::DataModel::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.