# Datastream V1 API - Class Google::Cloud::Datastream::V1::RunStreamRequest (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.1 1.0.0 0.13.0 0.12.0 0.11.0 0.10.1 0.9.2 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::RunStreamRequest.

Request message for running a stream.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cdc_strategy

    def cdc_strategy() -> ::Google::Cloud::Datastream::V1::CdcStrategy

**Returns**

- ([::Google::Cloud::Datastream::V1::CdcStrategy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-CdcStrategy)) --- Optional. The CDC strategy of the stream. If not set, the system's default value will be used.

### #cdc_strategy=

    def cdc_strategy=(value) -> ::Google::Cloud::Datastream::V1::CdcStrategy

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::CdcStrategy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-CdcStrategy)) --- Optional. The CDC strategy of the stream. If not set, the system's default value will be used.
**Returns**

- ([::Google::Cloud::Datastream::V1::CdcStrategy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-CdcStrategy)) --- Optional. The CDC strategy of the stream. If not set, the system's default value will be used.

### #force

    def force() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. Update the stream without validating it.

### #force=

    def force=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. Update the stream without validating it.
**Returns**

- (::Boolean) --- Optional. Update the stream without validating it.

### #name

    def name() -> ::String

**Returns**

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

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Name of the stream resource to start, in the format: projects/{project_id}/locations/{location}/streams/{stream_name}
**Returns**

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