Share via


GoogleTextSearch Constructors

Definition

Overloads

GoogleTextSearch(BaseClientService+Initializer, String, GoogleTextSearchOptions)

Initializes a new instance of the GoogleTextSearch class.

public GoogleTextSearch(Google.Apis.Services.BaseClientService.Initializer initializer, string searchEngineId, Microsoft.SemanticKernel.Plugins.Web.Google.GoogleTextSearchOptions? options = default);
new Microsoft.SemanticKernel.Plugins.Web.Google.GoogleTextSearch : Google.Apis.Services.BaseClientService.Initializer * string * Microsoft.SemanticKernel.Plugins.Web.Google.GoogleTextSearchOptions -> Microsoft.SemanticKernel.Plugins.Web.Google.GoogleTextSearch
Public Sub New (initializer As BaseClientService.Initializer, searchEngineId As String, Optional options As GoogleTextSearchOptions = Nothing)

Parameters

initializer
Google.Apis.Services.BaseClientService.Initializer

The connector initializer

searchEngineId
String

Google Search Engine ID (looks like "a12b345...")

options
GoogleTextSearchOptions

Options used when creating this instance of GoogleTextSearch.

Applies to

GoogleTextSearch(String, String, GoogleTextSearchOptions)

Initializes a new instance of the GoogleTextSearch class.

public GoogleTextSearch(string searchEngineId, string apiKey, Microsoft.SemanticKernel.Plugins.Web.Google.GoogleTextSearchOptions? options = default);
new Microsoft.SemanticKernel.Plugins.Web.Google.GoogleTextSearch : string * string * Microsoft.SemanticKernel.Plugins.Web.Google.GoogleTextSearchOptions -> Microsoft.SemanticKernel.Plugins.Web.Google.GoogleTextSearch
Public Sub New (searchEngineId As String, apiKey As String, Optional options As GoogleTextSearchOptions = Nothing)

Parameters

searchEngineId
String

Google Search Engine ID (looks like "a12b345...")

apiKey
String

Google Custom Search API (looks like "ABcdEfG1...")

options
GoogleTextSearchOptions

Options used when creating this instance of GoogleTextSearch.

Applies to