Class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ServingConfigsResource
The "servingConfigs" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1beta
Assembly: Google.Apis.DiscoveryEngine.v1beta.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(GoogleCloudDiscoveryengineV1betaAnswerQueryRequest, string)
Answer query method.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ServingConfigsResource.AnswerRequest Answer(GoogleCloudDiscoveryengineV1betaAnswerQueryRequest body, string servingConfig)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDiscoveryengineV1betaAnswerQueryRequest | 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 |
Get(string)
Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ServingConfigsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the ServingConfig to get. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ServingConfigsResource.GetRequest |
List(string)
Lists all ServingConfigs linked to this dataStore.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ServingConfigsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. Full resource name of the parent resource. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ServingConfigsResource.ListRequest |
Patch(GoogleCloudDiscoveryengineV1betaServingConfig, string)
Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ServingConfigsResource.PatchRequest Patch(GoogleCloudDiscoveryengineV1betaServingConfig body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDiscoveryengineV1betaServingConfig | body | The body of the request. |
| string | name | Immutable. Fully qualified name
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ServingConfigsResource.PatchRequest |
Recommend(GoogleCloudDiscoveryengineV1betaRecommendRequest, string)
Makes a recommendation, which requires a contextual user event.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ServingConfigsResource.RecommendRequest Recommend(GoogleCloudDiscoveryengineV1betaRecommendRequest body, string servingConfig)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDiscoveryengineV1betaRecommendRequest | 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(GoogleCloudDiscoveryengineV1betaSearchRequest, string)
Performs a search.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ServingConfigsResource.SearchRequest Search(GoogleCloudDiscoveryengineV1betaSearchRequest body, string servingConfig)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDiscoveryengineV1betaSearchRequest | 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(GoogleCloudDiscoveryengineV1betaSearchRequest, 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(GoogleCloudDiscoveryengineV1betaSearchRequest body, string servingConfig)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDiscoveryengineV1betaSearchRequest | 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 |
StreamAnswer(GoogleCloudDiscoveryengineV1betaAnswerQueryRequest, string)
Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ServingConfigsResource.StreamAnswerRequest StreamAnswer(GoogleCloudDiscoveryengineV1betaAnswerQueryRequest body, string servingConfig)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDiscoveryengineV1betaAnswerQueryRequest | 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.StreamAnswerRequest |