Class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ServingConfigsResource
The "servingConfigs" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.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.CollectionsResource.EnginesResource.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.CollectionsResource.EnginesResource.ServingConfigsResource.AnswerRequest |
Recommend(GoogleCloudDiscoveryengineV1RecommendRequest, string)
Makes a recommendation, which requires a contextual user event.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.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.CollectionsResource.EnginesResource.ServingConfigsResource.RecommendRequest |
Search(GoogleCloudDiscoveryengineV1SearchRequest, string)
Performs a search.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.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.CollectionsResource.EnginesResource.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.CollectionsResource.EnginesResource.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.CollectionsResource.EnginesResource.ServingConfigsResource.SearchLiteRequest |