Google Cloud Discovery Engine V1 Client - Class EnterpriseWebRetrievalSource (1.17.0)

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

Params for using enterprise web retrieval as grounding source.

Generated from protobuf message google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource.EnterpriseWebRetrievalSource

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ GenerateGroundedContentRequest \ GroundingSource

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ exclude_domains string[]

Optional. List of domains to be excluded from the search results.

↳ blocking_confidence int

Optional. Sites with confidence level chosen & above this value will be blocked from the search results.

getExcludeDomains

Optional. List of domains to be excluded from the search results.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setExcludeDomains

Optional. List of domains to be excluded from the search results.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getBlockingConfidence

Optional. Sites with confidence level chosen & above this value will be blocked from the search results.

Returns
Type Description
int Enum of type PhishBlockThreshold.

setBlockingConfidence

Optional. Sites with confidence level chosen & above this value will be blocked from the search results.

Parameter
Name Description
var int

Enum of type PhishBlockThreshold.

Returns
Type Description
$this