Reference documentation and code samples for the Google Cloud Datastream V1 Client class SourceProperty.
Source property.
Generated from protobuf message google.cloud.datastream.v1.SourceProperty
Namespace
Google \ Cloud \ Datastream \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ property_name |
string
Required. The property name. |
↳ properties |
array<SourceProperty>
Optional. Source properties. When specified, it means that the current property contains nested properties of its own. When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing. |
↳ primary_key |
bool
Optional. Whether or not the property is a primary key. |
getPropertyName
Required. The property name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPropertyName
Required. The property name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProperties
Optional. Source properties. When specified, it means that the current property contains nested properties of its own. When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<SourceProperty> |
|
setProperties
Optional. Source properties. When specified, it means that the current property contains nested properties of its own. When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.
| Parameter | |
|---|---|
| Name | Description |
var |
array<SourceProperty>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPrimaryKey
Optional. Whether or not the property is a primary key.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setPrimaryKey
Optional. Whether or not the property is a primary key.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|