Class ProjectsResource.LocationsResource.RankingConfigsResource.RankRequest
Ranks a list of text records based on the given input query.
Inheritance
ProjectsResource.LocationsResource.RankingConfigsResource.RankRequest
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1beta
Assembly: Google.Apis.DiscoveryEngine.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.RankingConfigsResource.RankRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1betaRankResponse>, IClientServiceRequest<GoogleCloudDiscoveryengineV1betaRankResponse>, IClientServiceRequest
Constructors
RankRequest(IClientService, GoogleCloudDiscoveryengineV1betaRankRequest, string)
Constructs a new Rank request.
Declaration
public RankRequest(IClientService service, GoogleCloudDiscoveryengineV1betaRankRequest body, string rankingConfig)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDiscoveryengineV1betaRankRequest | body | |
string | rankingConfig |
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
RankingConfig
Required. The resource name of the rank service config, such as
projects/{project_num}/locations/{location}/rankingConfigs/default_ranking_config
.
Declaration
[RequestParameter("rankingConfig", RequestParameterType.Path)]
public virtual string RankingConfig { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Rank parameter list.
Declaration
protected override void InitParameters()