Google Cloud Ai Platform V1 Client - Class GoogleSearch (1.39.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class GoogleSearch.

GoogleSearch tool type.

Tool to support Google Search in Model. Powered by Google.

Generated from protobuf message google.cloud.aiplatform.v1.Tool.GoogleSearch

Namespace

Google \ Cloud \ AIPlatform \ V1 \ Tool

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ exclude_domains array

Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"].

↳ 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.

The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"].

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setExcludeDomains

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

The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"].

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

hasBlockingConfidence

clearBlockingConfidence

setBlockingConfidence

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

Parameter
Name Description
var int
Returns
Type Description
$this