NAME
Google::Cloud::Alloydb::V1beta::DataModel - Compiled Protocol Buffers messages for google/cloud/alloydb/v1beta/data_model.proto
SYNOPSIS
use Google::Cloud::Alloydb::V1beta::DataModel;
my $msg = Google::Cloud::Alloydb::V1beta::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::V1beta::DataModel::SqlResult->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/alloydb/v1beta/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::V1beta::DataModel::SqlResult
SqlResult represents the result for the execution of a sql statement.
Inherits from Protobuf::Message.
Accessors
$msg->columns()/$msg->columns($value)Type:
Message(Google::Cloud::Alloydb::V1beta::DataModel::SqlResultColumn)List of columns included in the result. This also includes the data type of the column.
$msg->rows()/$msg->rows($value)Type:
Message(Google::Cloud::Alloydb::V1beta::DataModel::SqlResultRow)Rows returned by the SQL statement.
Google::Cloud::Alloydb::V1beta::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:
StringName of the column.
$msg->type()/$msg->type($value)Type:
StringDatatype of the column as reported by the postgres driver. Common type names are "VARCHAR", "TEXT", "NVARCHAR", "DECIMAL", "BOOL", "INT", and "BIGINT".
Google::Cloud::Alloydb::V1beta::DataModel::SqlResultRow
A single row from a sql result.
Inherits from Protobuf::Message.
Accessors
$msg->values()/$msg->values($value)Type:
Message(Google::Cloud::Alloydb::V1beta::DataModel::SqlResultValue)List of values in a row of sql result.
Google::Cloud::Alloydb::V1beta::DataModel::SqlResultValue
A single value in a row from a sql result.
Inherits from Protobuf::Message.
Accessors
$msg->value()/$msg->value($value)Type:
StringThe cell value represented in string format. Timestamps are converted to string using RFC3339Nano format.
$msg->null_value()/$msg->null_value($value)Type:
BoolSet to true if cell value is null.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Alloydb::V1beta::DataModel::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.