Google BigQuery Storage V1 Client - Class CreateWriteStreamRequest (1.9.0)

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

Request message for CreateWriteStream.

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

Namespace

Google \ Cloud \ BigQuery \ Storage \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Reference to the table to which the stream belongs, in the format of projects/{project}/datasets/{dataset}/tables/{table}.

↳ write_stream Google\Cloud\BigQuery\Storage\V1\WriteStream

Required. Stream to be created.

getParent

Required. Reference to the table to which the stream belongs, in the format of projects/{project}/datasets/{dataset}/tables/{table}.

Returns
TypeDescription
string

setParent

Required. Reference to the table to which the stream belongs, in the format of projects/{project}/datasets/{dataset}/tables/{table}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getWriteStream

Required. Stream to be created.

Returns
TypeDescription
Google\Cloud\BigQuery\Storage\V1\WriteStream|null

hasWriteStream

clearWriteStream

setWriteStream

Required. Stream to be created.

Parameter
NameDescription
var Google\Cloud\BigQuery\Storage\V1\WriteStream
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. Reference to the table to which the stream belongs, in the format of projects/{project}/datasets/{dataset}/tables/{table}. Please see Google\Cloud\BigQuery\Storage\V1\BigQueryWriteClient::tableName() for help formatting this field.

writeStream Google\Cloud\BigQuery\Storage\V1\WriteStream

Required. Stream to be created.

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