Google Cloud Discovery Engine V1 Client - Class FailureInfo (1.3.2)

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

Details about why a particular URI failed to be crawled. Each FailureInfo contains one FailureReason per CorpusType.

Generated from protobuf message google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ RecrawlUrisResponse

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ uri string

URI that failed to be crawled.

↳ failure_reasons array<FailureInfo\FailureReason>

List of failure reasons by corpus type (e.g. desktop, mobile).

getUri

URI that failed to be crawled.

Returns
Type Description
string

setUri

URI that failed to be crawled.

Parameter
Name Description
var string
Returns
Type Description
$this

getFailureReasons

List of failure reasons by corpus type (e.g. desktop, mobile).

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFailureReasons

List of failure reasons by corpus type (e.g. desktop, mobile).

Parameter
Name Description
var array<FailureInfo\FailureReason>
Returns
Type Description
$this