Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class PurgeCompletionSuggestionsResponse.
Response message for CompletionService.PurgeCompletionSuggestions method. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.
Generated from protobuf message google.cloud.discoveryengine.v1.PurgeCompletionSuggestionsResponse
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ purge_succeeded |
bool
Whether the completion suggestions were successfully purged. |
↳ error_samples |
array<Google\Rpc\Status>
A sample of errors encountered while processing the request. |
getPurgeSucceeded
Whether the completion suggestions were successfully purged.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setPurgeSucceeded
Whether the completion suggestions were successfully purged.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getErrorSamples
A sample of errors encountered while processing the request.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Google\Rpc\Status> |
|
setErrorSamples
A sample of errors encountered while processing the request.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Rpc\Status>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|