Service Client: Google::Cloud::Bigquery::Storage::V1beta1::Storage::BigQueryStorageClient

Client stub representing the remote BigQueryStorage gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to bigquery.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Bigquery::Storage::V1beta1::Storage - Compiled Protocol Buffers messages for google/cloud/bigquery/storage/v1beta1/storage.proto

SYNOPSIS

use Google::Cloud::Bigquery::Storage::V1beta1::Storage;

my $msg = Google::Cloud::Bigquery::Storage::V1beta1::Storage::Stream->new({
    name => $name,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/bigquery/storage/v1beta1/storage.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::V1beta1::Storage::Stream

Information about a single data stream within a read session.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

Google::Cloud::Bigquery::Storage::V1beta1::Storage::StreamPosition

Expresses a point within a given stream using an offset position.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Storage::V1beta1::Storage::ReadSession

Information returned from a `CreateReadSession` request.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Storage::V1beta1::Storage::CreateReadSessionRequest

Creates a new read session, which may include additional options such as requested parallelism, projection filters and constraints.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Bigquery::Storage::V1beta1::TableReference::TableReference)

    Required. Reference to the table to read.

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

    Type: String

    Required. String of the form `projects/{project_id}` indicating the project this ReadSession is associated with. This is the project that will be billed for usage.

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

    Type: Message (Google::Cloud::Bigquery::Storage::V1beta1::TableReference::TableModifiers)

    Any modifiers to the Table (e.g. snapshot timestamp).

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

    Type: Int32

    Initial number of streams. If unset or 0, we will provide a value of streams so as to produce reasonable throughput. Must be non-negative. The number of streams may be lower than the requested number, depending on the amount parallelism that is reasonable for the table and the maximum amount of parallelism allowed by the system.

    Streams must be read starting from offset 0.

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

    Type: Message (Google::Cloud::Bigquery::Storage::V1beta1::ReadOptions::TableReadOptions)

    Read options for this session (e.g. column selection, filters).

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

    Type: Enum (Google::Cloud::Bigquery::Storage::V1beta1::DataFormat)

    Data output format. Currently default to Avro. DATA_FORMAT_UNSPECIFIED not supported.

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

    Type: Enum (Google::Cloud::Bigquery::Storage::V1beta1::ShardingStrategy)

    The strategy to use for distributing data among multiple streams. Currently defaults to liquid sharding.

Google::Cloud::Bigquery::Storage::V1beta1::Storage::ReadRowsRequest

Requesting row data via `ReadRows` must provide Stream position information.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Storage::V1beta1::Storage::StreamStatus

Progress information for a given Stream.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int64

    Number of estimated rows in the current stream. May change over time as different readers in the stream progress at rates which are relatively fast or slow.

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

    Type: Float

    A value in the range [0.0, 1.0] that represents the fraction of rows assigned to this stream that have been processed by the server. In the presence of read filters, the server may process more rows than it returns, so this value reflects progress through the pre-filtering rows.

    This value is only populated for sessions created through the BALANCED sharding strategy.

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

    Type: Message (Google::Cloud::Bigquery::Storage::V1beta1::Storage::Progress)

    Represents the progress of the current stream.

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

    Type: Bool

    Whether this stream can be split. For sessions that use the LIQUID sharding strategy, this value is always false. For BALANCED sessions, this value is false when enough data have been read such that no more splits are possible at that point or beyond. For small tables or streams that are the result of a chain of splits, this value may never be true.

Google::Cloud::Bigquery::Storage::V1beta1::Storage::Progress

Inherits from Protobuf::Message.

Accessors

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

    Type: Float

    The fraction of rows assigned to the stream that have been processed by the server so far, not including the rows in the current response message.

    This value, along with `at_response_end`, can be used to interpolate the progress made as the rows in the message are being processed using the following formula: `at_response_start + (at_response_end - at_response_start) * rows_processed_from_response / rows_in_response`.

    Note that if a filter is provided, the `at_response_end` value of the previous response may not necessarily be equal to the `at_response_start` value of the current response.

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

    Type: Float

    Similar to `at_response_start`, except that this value includes the rows in the current response.

Google::Cloud::Bigquery::Storage::V1beta1::Storage::ThrottleStatus

Information on if the current connection is being throttled.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int32

    How much this connection is being throttled. 0 is no throttling, 100 is completely throttled.

Google::Cloud::Bigquery::Storage::V1beta1::Storage::ReadRowsResponse

Response from calling `ReadRows` may include row data, progress and throttling information.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Storage::V1beta1::Storage::BatchCreateReadSessionStreamsRequest

Information needed to request additional streams for an established read session.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Bigquery::Storage::V1beta1::Storage::ReadSession)

    Required. Must be a non-expired session obtained from a call to CreateReadSession. Only the name field needs to be set.

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

    Type: Int32

    Required. Number of new streams requested. Must be positive. Number of added streams may be less than this, see CreateReadSessionRequest for more information.

Google::Cloud::Bigquery::Storage::V1beta1::Storage::BatchCreateReadSessionStreamsResponse

The response from `BatchCreateReadSessionStreams` returns the stream identifiers for the newly created streams.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Storage::V1beta1::Storage::FinalizeStreamRequest

Request information for invoking `FinalizeStream`.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Storage::V1beta1::Storage::SplitReadStreamRequest

Request information for `SplitReadStream`.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Bigquery::Storage::V1beta1::Storage::Stream)

    Required. Stream to split.

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

    Type: Float

    A value in the range (0.0, 1.0) that specifies the fractional point at which the original stream should be split. The actual split point is evaluated on pre-filtered rows, so if a filter is provided, then there is no guarantee that the division of the rows between the new child streams will be proportional to this fractional value. Additionally, because the server-side unit for assigning data is collections of rows, this fraction will always map to to a data storage boundary on the server side.

Google::Cloud::Bigquery::Storage::V1beta1::Storage::SplitReadStreamResponse

Response from `SplitReadStream`.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.