Google Cloud Discovery Engine V1 Client - Class ImportUserEventsRequest (0.6.0)

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

Request message for the ImportUserEvents request.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ inline_sourceGoogle\Cloud\DiscoveryEngine\V1\ImportUserEventsRequest\InlineSource

Required. The Inline source for the input content for UserEvents.

↳ gcs_sourceGoogle\Cloud\DiscoveryEngine\V1\GcsSource

Required. Cloud Storage location for the input content.

↳ bigquery_sourceGoogle\Cloud\DiscoveryEngine\V1\BigQuerySource

Required. BigQuery input source.

↳ parentstring

Required. Parent DataStore resource name, of the form projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}

↳ error_configGoogle\Cloud\DiscoveryEngine\V1\ImportErrorConfig

The desired location of errors incurred during the Import. Cannot be set for inline user event imports.

getInlineSource

Required. The Inline source for the input content for UserEvents.

Returns
TypeDescription
Google\Cloud\DiscoveryEngine\V1\ImportUserEventsRequest\InlineSource|null

hasInlineSource

setInlineSource

Required. The Inline source for the input content for UserEvents.

Parameter
NameDescription
varGoogle\Cloud\DiscoveryEngine\V1\ImportUserEventsRequest\InlineSource
Returns
TypeDescription
$this

getGcsSource

Required. Cloud Storage location for the input content.

Returns
TypeDescription
Google\Cloud\DiscoveryEngine\V1\GcsSource|null

hasGcsSource

setGcsSource

Required. Cloud Storage location for the input content.

Parameter
NameDescription
varGoogle\Cloud\DiscoveryEngine\V1\GcsSource
Returns
TypeDescription
$this

getBigquerySource

Required. BigQuery input source.

Returns
TypeDescription
Google\Cloud\DiscoveryEngine\V1\BigQuerySource|null

hasBigquerySource

setBigquerySource

Required. BigQuery input source.

Parameter
NameDescription
varGoogle\Cloud\DiscoveryEngine\V1\BigQuerySource
Returns
TypeDescription
$this

getParent

Required. Parent DataStore resource name, of the form projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}

Returns
TypeDescription
string

setParent

Required. Parent DataStore resource name, of the form projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getErrorConfig

The desired location of errors incurred during the Import. Cannot be set for inline user event imports.

Returns
TypeDescription
Google\Cloud\DiscoveryEngine\V1\ImportErrorConfig|null

hasErrorConfig

clearErrorConfig

setErrorConfig

The desired location of errors incurred during the Import. Cannot be set for inline user event imports.

Parameter
NameDescription
varGoogle\Cloud\DiscoveryEngine\V1\ImportErrorConfig
Returns
TypeDescription
$this

getSource

Returns
TypeDescription
string