Google Cloud Ai Platform V1 Client - Class GoogleSearch (1.35.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"].

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