Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolGoogleSearch

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ToolGoogleSearch

Returns a new instance of GoogleCloudAiplatformV1ToolGoogleSearch.



38248
38249
38250
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 38248

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#exclude_domainsArray<String>

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

Returns:

  • (Array<String>)


38246
38247
38248
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 38246

def exclude_domains
  @exclude_domains
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



38253
38254
38255
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 38253

def update!(**args)
  @exclude_domains = args[:exclude_domains] if args.key?(:exclude_domains)
end