Google Cloud Datastream V1 Client - Class RunStreamRequest (2.5.1)

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.