Class ProjectsResource.LocationsResource.DataStoresResource.ServingConfigsResource
The "servingConfigs" collection of methods.
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DataStoresResource.ServingConfigsResource
Constructors
ServingConfigsResource(IClientService)
Constructs a new resource.
Declaration
public ServingConfigsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Answer(GoogleCloudDiscoveryengineV1AnswerQueryRequest, string)
Answer query method.
Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.ServingConfigsResource.AnswerRequest Answer(GoogleCloudDiscoveryengineV1AnswerQueryRequest body, string servingConfig)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1AnswerQueryRequest | body | The body of the request. |
string | servingConfig | Required. The resource name of the Search serving config, such as
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DataStoresResource.ServingConfigsResource.AnswerRequest |
Recommend(GoogleCloudDiscoveryengineV1RecommendRequest, string)
Makes a recommendation, which requires a contextual user event.
Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.ServingConfigsResource.RecommendRequest Recommend(GoogleCloudDiscoveryengineV1RecommendRequest body, string servingConfig)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1RecommendRequest | body | The body of the request. |
string | servingConfig | Required. Full resource name of a ServingConfig:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DataStoresResource.ServingConfigsResource.RecommendRequest |
Search(GoogleCloudDiscoveryengineV1SearchRequest, string)
Performs a search.
Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.ServingConfigsResource.SearchRequest Search(GoogleCloudDiscoveryengineV1SearchRequest body, string servingConfig)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1SearchRequest | body | The body of the request. |
string | servingConfig | Required. The resource name of the Search serving config, such as
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DataStoresResource.ServingConfigsResource.SearchRequest |
SearchLite(GoogleCloudDiscoveryengineV1SearchRequest, string)
Performs a search. Similar to the SearchService.Search method, but a lite version that allows
API key for authentication, where OAuth and IAM checks are not required. Only public website
search is supported by this method. If data stores and engines not associated with public
website search are specified, a FAILED_PRECONDITION
error is returned. This method can be used
for easy onboarding without having to implement an authentication backend. However, it is
strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to
provide better data security.
Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.ServingConfigsResource.SearchLiteRequest SearchLite(GoogleCloudDiscoveryengineV1SearchRequest body, string servingConfig)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1SearchRequest | body | The body of the request. |
string | servingConfig | Required. The resource name of the Search serving config, such as
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DataStoresResource.ServingConfigsResource.SearchLiteRequest |