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

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

Details about why crawling failed for a particular CorpusType, e.g., DESKTOP and MOBILE crawling may fail for different reasons.

Generated from protobuf message google.cloud.discoveryengine.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta \ RecrawlUrisResponse \ FailureInfo

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ corpus_type int

DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.

↳ error_message string

Reason why the URI was not crawled.

getCorpusType

DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.

Returns
Type Description
int

setCorpusType

DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.

Parameter
Name Description
var int
Returns
Type Description
$this

getErrorMessage

Reason why the URI was not crawled.

Returns
Type Description
string

setErrorMessage

Reason why the URI was not crawled.

Parameter
Name Description
var string
Returns
Type Description
$this