Google Cloud Discovery Engine V1 Client - Class ImportSuggestionDenyListEntriesRequest (1.3.1)

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

Request message for CompletionService.ImportSuggestionDenyListEntries method.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ inline_source ImportSuggestionDenyListEntriesRequest\InlineSource

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

↳ gcs_source 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
ImportSuggestionDenyListEntriesRequest\InlineSource|null

hasInlineSource

setInlineSource

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

Parameter
Name Description
var 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
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 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