Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class StreamingError.
Streaming error details.
Generated from protobuf message google.cloud.discoveryengine.v1.DataConnector.RealtimeSyncConfig.StreamingError
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ DataConnector \ RealtimeSyncConfigMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ streaming_error_reason |
int
Optional. Streaming error. |
↳ error |
Google\Rpc\Status
Optional. Error details. |
getStreamingErrorReason
Optional. Streaming error.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type StreamingErrorReason. |
setStreamingErrorReason
Optional. Streaming error.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type StreamingErrorReason. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getError
Optional. Error details.
| Returns | |
|---|---|
| Type | Description |
Google\Rpc\Status|null |
|
hasError
clearError
setError
Optional. Error details.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Rpc\Status
|
| Returns | |
|---|---|
| Type | Description |
$this |
|