Google BigQuery Storage V1 Client - Class BatchCommitWriteStreamsRequest (1.7.1)

Reference documentation and code samples for the Google BigQuery Storage V1 Client class BatchCommitWriteStreamsRequest.

Request message for BatchCommitWriteStreams.

Generated from protobuf message google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest

Namespace

Google \ Cloud \ BigQuery \ Storage \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Parent table that all the streams should belong to, in the form of projects/{project}/datasets/{dataset}/tables/{table}.

↳ write_streams array

Required. The group of streams that will be committed atomically.

getParent

Required. Parent table that all the streams should belong to, in the form of projects/{project}/datasets/{dataset}/tables/{table}.

Returns
TypeDescription
string

setParent

Required. Parent table that all the streams should belong to, in the form of projects/{project}/datasets/{dataset}/tables/{table}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getWriteStreams

Required. The group of streams that will be committed atomically.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setWriteStreams

Required. The group of streams that will be committed atomically.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. Parent table that all the streams should belong to, in the form of projects/{project}/datasets/{dataset}/tables/{table}. Please see Google\Cloud\BigQuery\Storage\V1\BigQueryWriteClient::tableName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\BigQuery\Storage\V1\BatchCommitWriteStreamsRequest