Reference documentation and code samples for the Google Cloud Datastream V1 Client class SpannerSchema.
Spanner schema.
Generated from protobuf message google.cloud.datastream.v1.SpannerSchema
Namespace
Google \ Cloud \ Datastream \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ schema |
string
Required. The schema name. |
↳ tables |
array<SpannerTable>
Optional. Spanner tables in the schema. |
getSchema
Required. The schema name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSchema
Required. The schema name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTables
Optional. Spanner tables in the schema.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<SpannerTable> |
|
setTables
Optional. Spanner tables in the schema.
| Parameter | |
|---|---|
| Name | Description |
var |
array<SpannerTable>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|