Class QueryResource.SuggestRequest
Provides suggestions for autocompleting the query. Note: This API requires a standard end user account to execute. A service account can't perform Query API requests directly; to use a service account to perform queries, set up Google Workspace domain-wide delegation of authority.
Inheritance
QueryResource.SuggestRequest
Inherited Members
Namespace: Google.Apis.CloudSearch.v1
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class QueryResource.SuggestRequest : CloudSearchBaseServiceRequest<SuggestResponse>, IClientServiceRequest<SuggestResponse>, IClientServiceRequest
Constructors
SuggestRequest(IClientService, SuggestRequest)
Constructs a new Suggest request.
Declaration
public SuggestRequest(IClientService service, SuggestRequest body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
SuggestRequest | body |
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Suggest parameter list.
Declaration
protected override void InitParameters()