Google Cloud Datastream V1 Client - Class RunStreamRequest (2.1.0)

Reference documentation and code samples for the Google Cloud Datastream V1 Client class RunStreamRequest.

Request message for running a stream.

Generated from protobuf message google.cloud.datastream.v1.RunStreamRequest

Namespace

Google \ Cloud \ Datastream \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the stream resource to start, in the format: projects/{project_id}/locations/{location}/streams/{stream_name}

↳ cdc_strategy CdcStrategy

Optional. The CDC strategy of the stream. If not set, the system's default value will be used.

↳ force bool

Optional. Update the stream without validating it.

getName

Required. Name of the stream resource to start, in the format: projects/{project_id}/locations/{location}/streams/{stream_name}

Returns
Type Description
string

setName

Required. Name of the stream resource to start, in the format: projects/{project_id}/locations/{location}/streams/{stream_name}

Parameter
Name Description
var string
Returns
Type Description
$this

getCdcStrategy

Optional. The CDC strategy of the stream. If not set, the system's default value will be used.

Returns
Type Description
CdcStrategy|null

hasCdcStrategy

clearCdcStrategy

setCdcStrategy

Optional. The CDC strategy of the stream. If not set, the system's default value will be used.

Parameter
Name Description
var CdcStrategy
Returns
Type Description
$this

getForce

Optional. Update the stream without validating it.

Returns
Type Description
bool

setForce

Optional. Update the stream without validating it.

Parameter
Name Description
var bool
Returns
Type Description
$this