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

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

Response message for CompletionService.ImportSuggestionDenyListEntries method.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ error_samples array<Google\Rpc\Status>

A sample of errors encountered while processing the request.

↳ imported_entries_count int|string

Count of deny list entries successfully imported.

↳ failed_entries_count int|string

Count of deny list entries that failed to be imported.

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

getImportedEntriesCount

Count of deny list entries successfully imported.

Returns
Type Description
int|string

setImportedEntriesCount

Count of deny list entries successfully imported.

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

getFailedEntriesCount

Count of deny list entries that failed to be imported.

Returns
Type Description
int|string

setFailedEntriesCount

Count of deny list entries that failed to be imported.

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