Class FailureReason (0.11.10)

FailureReason(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
corpus_type google.cloud.discoveryengine_v1.types.RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType
DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.
error_message str
Reason why the URI was not crawled.

Classes

CorpusType

CorpusType(value)

CorpusType for the failed crawling operation.

Values: CORPUS_TYPE_UNSPECIFIED (0): Default value. DESKTOP (1): Denotes a crawling attempt for the desktop version of a page. MOBILE (2): Denotes a crawling attempt for the mobile version of a page.