Google Cloud Discovery Engine V1 Client - Class ImportErrorConfig (0.4.0)

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

Configuration of destination for Import related errors.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ gcs_prefix string

Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors will be written to sharded files in this directory, one per line, as a JSON-encoded google.rpc.Status message.

getGcsPrefix

Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors will be written to sharded files in this directory, one per line, as a JSON-encoded google.rpc.Status message.

Returns
TypeDescription
string

hasGcsPrefix

setGcsPrefix

Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors will be written to sharded files in this directory, one per line, as a JSON-encoded google.rpc.Status message.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDestination

Returns
TypeDescription
string