Class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ServingConfigsResource.AnswerRequest
Answer query method.
Inheritance
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ServingConfigsResource.AnswerRequest
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ServingConfigsResource.AnswerRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1AnswerQueryResponse>, IClientServiceRequest<GoogleCloudDiscoveryengineV1AnswerQueryResponse>, IClientServiceRequest
Constructors
AnswerRequest(IClientService, GoogleCloudDiscoveryengineV1AnswerQueryRequest, string)
Constructs a new Answer request.
Declaration
public AnswerRequest(IClientService service, GoogleCloudDiscoveryengineV1AnswerQueryRequest body, string servingConfig)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDiscoveryengineV1AnswerQueryRequest | body | |
string | servingConfig |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ServingConfig
Required. The resource name of the Search serving config, such as
projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config
,
or
projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config
.
This field is used to identify the serving configuration name, set of models used to
make the search.
Declaration
[RequestParameter("servingConfig", RequestParameterType.Path)]
public virtual string ServingConfig { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Answer parameter list.
Declaration
protected override void InitParameters()