2.5.3 (latest) 2.5.2 2.4.0 2.3.1 2.2.0 2.1.1 2.0.1 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Datastream V1 Client class StreamObject.

A specific stream object (e.g a specific DB table).

Generated from protobuf message `google.cloud.datastream.v1.StreamObject`

## Namespace

Google \\ Cloud \\ Datastream \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Output only. Identifier. The object resource's name. |
| `↳ create_time` | `Google\Protobuf\Timestamp` Output only. The creation time of the object. |
| `↳ update_time` | `Google\Protobuf\Timestamp` Output only. The last update time of the object. |
| `↳ display_name` | `string` Required. Display name. |
| `↳ errors` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.Error>` Output only. Active errors on the object. |
| `↳ backfill_job` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.BackfillJob` The latest backfill job that was initiated for the stream object. |
| `↳ source_object` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier` The object identifier in the data source. |

### getName

Output only. Identifier. The object resource's name.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Output only. Identifier. The object resource's name.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCreateTime

Output only. The creation time of the object.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. The creation time of the object.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUpdateTime

Output only. The last update time of the object.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. The last update time of the object.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDisplayName

Required. Display name.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDisplayName

Required. Display name.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getErrors

Output only. Active errors on the object.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.Error>` |   |

### setErrors

Output only. Active errors on the object.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.Error>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getBackfillJob

The latest backfill job that was initiated for the stream object.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.BackfillJob|null` |   |

### hasBackfillJob

### clearBackfillJob

### setBackfillJob

The latest backfill job that was initiated for the stream object.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.BackfillJob` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSourceObject

The object identifier in the data source.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier|null` |   |

### hasSourceObject

### clearSourceObject

### setSourceObject

The object identifier in the data source.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SourceObjectIdentifier` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |