NAME

Google::Cloud::Bigquery::Storage::V1beta2::Stream - Compiled Protocol Buffers messages for google/cloud/bigquery/storage/v1beta2/stream.proto

SYNOPSIS

use Google::Cloud::Bigquery::Storage::V1beta2::Stream;

my $msg = Google::Cloud::Bigquery::Storage::V1beta2::Stream::ReadSession->new({
    name => $name,
    expire_time => $expire_time,
    data_format => $data_format,
    avro_schema => $avro_schema,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Bigquery::Storage::V1beta2::Stream::ReadSession->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/bigquery/storage/v1beta2/stream.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::Bigquery::Storage::V1beta2::Stream::ReadSession

Information about the ReadSession.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Storage::V1beta2::Stream::ReadStream

Information about a single stream that gets data out of the storage system. Most of the information about `ReadStream` instances is aggregated, making `ReadStream` lightweight.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Name of the stream, in the form `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.

Google::Cloud::Bigquery::Storage::V1beta2::Stream::WriteStream

Information about a single stream that gets data inside the storage system.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Name of the stream, in the form `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.

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

    Type: Enum (Google::Cloud::Bigquery::Storage::V1beta2::WriteStream::Type)

    Immutable. Type of the stream.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Create time of the stream. For the _default stream, this is the creation_time of the table.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Commit time of the stream. If a stream is of `COMMITTED` type, then it will have a commit_time same as `create_time`. If the stream is of `PENDING` type, commit_time being empty means it is not committed.

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

    Type: Message (Google::Cloud::Bigquery::Storage::V1beta2::Table::TableSchema)

    Output only. The schema of the destination table. It is only returned in `CreateWriteStream` response. Caller should generate data that's compatible with this schema to send in initial `AppendRowsRequest`. The table schema could go out of date during the life time of the stream.

Enum: WriteStream::Type

  • TYPE_UNSPECIFIED => 0

  • COMMITTED => 1

  • PENDING => 2

  • BUFFERED => 3

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Bigquery::Storage::V1beta2::Stream::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.