Google Cloud Discovery Engine V1beta Client - Class ImportSuggestionDenyListEntriesRequest (0.11.3)

Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class ImportSuggestionDenyListEntriesRequest.

Request message for CompletionService.ImportSuggestionDenyListEntries method.

Generated from protobuf message google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ inline_source Google\Cloud\DiscoveryEngine\V1beta\ImportSuggestionDenyListEntriesRequest\InlineSource

The Inline source for the input content for suggestion deny list entries.

↳ gcs_source Google\Cloud\DiscoveryEngine\V1beta\GcsSource

Cloud Storage location for the input content. Only 1 file can be specified that contains all entries to import. Supported values gcs_source.schema for autocomplete suggestion deny list entry imports: * suggestion_deny_list (default): One JSON [SuggestionDenyListEntry] per line.

↳ parent string

Required. The parent data store resource name for which to import denylist entries. Follows pattern projects//locations//collections//dataStores/.

getInlineSource

The Inline source for the input content for suggestion deny list entries.

Returns
Type Description
Google\Cloud\DiscoveryEngine\V1beta\ImportSuggestionDenyListEntriesRequest\InlineSource|null

hasInlineSource

setInlineSource

The Inline source for the input content for suggestion deny list entries.

Parameter
Name Description
var Google\Cloud\DiscoveryEngine\V1beta\ImportSuggestionDenyListEntriesRequest\InlineSource
Returns
Type Description
$this

getGcsSource

Cloud Storage location for the input content.

Only 1 file can be specified that contains all entries to import. Supported values gcs_source.schema for autocomplete suggestion deny list entry imports:

  • suggestion_deny_list (default): One JSON [SuggestionDenyListEntry] per line.
Returns
Type Description
Google\Cloud\DiscoveryEngine\V1beta\GcsSource|null

hasGcsSource

setGcsSource

Cloud Storage location for the input content.

Only 1 file can be specified that contains all entries to import. Supported values gcs_source.schema for autocomplete suggestion deny list entry imports:

  • suggestion_deny_list (default): One JSON [SuggestionDenyListEntry] per line.
Parameter
Name Description
var Google\Cloud\DiscoveryEngine\V1beta\GcsSource
Returns
Type Description
$this

getParent

Required. The parent data store resource name for which to import denylist entries. Follows pattern projects//locations//collections//dataStores/.

Returns
Type Description
string

setParent

Required. The parent data store resource name for which to import denylist entries. Follows pattern projects//locations//collections//dataStores/.

Parameter
Name Description
var string
Returns
Type Description
$this

getSource

Returns
Type Description
string