Google Cloud Discovery Engine V1 Client - Class PurgeSuggestionDenyListEntriesResponse (1.2.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class PurgeSuggestionDenyListEntriesResponse.

Response message for CompletionService.PurgeSuggestionDenyListEntries method.

Generated from protobuf message google.cloud.discoveryengine.v1.PurgeSuggestionDenyListEntriesResponse

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ purge_count int|string

Number of suggestion deny list entries purged.

↳ error_samples array<Google\Rpc\Status>

A sample of errors encountered while processing the request.

getPurgeCount

Number of suggestion deny list entries purged.

Returns
Type Description
int|string

setPurgeCount

Number of suggestion deny list entries purged.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getErrorSamples

A sample of errors encountered while processing the request.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setErrorSamples

A sample of errors encountered while processing the request.

Parameter
Name Description
var array<Google\Rpc\Status>
Returns
Type Description
$this