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

Reference documentation and code samples for the Google Cloud Discovery Engine V1beta 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.v1beta.RecrawlUrisResponse.FailureInfo

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta \ 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<Google\Cloud\DiscoveryEngine\V1beta\RecrawlUrisResponse\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<Google\Cloud\DiscoveryEngine\V1beta\RecrawlUrisResponse\FailureInfo\FailureReason>
Returns
Type Description
$this