Google BigQuery Storage V1 Client - Class BatchCommitWriteStreamsRequest (2.0.0)

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
Name Description
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
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getWriteStreams

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setWriteStreams

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

Parameter
Name Description
var string[]
Returns
Type Description
$this

static::build

Parameter
Name Description
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
Type Description
Google\Cloud\BigQuery\Storage\V1\BatchCommitWriteStreamsRequest