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
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<SuggestResponse>
QueryResource.SuggestRequest
Implements
Google.Apis.Requests.IClientServiceRequest<SuggestResponse>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SuggestResponse>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SuggestResponse>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SuggestResponse>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SuggestResponse>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SuggestResponse>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SuggestResponse>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SuggestResponse>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SuggestResponse>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SuggestResponse>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SuggestResponse>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SuggestResponse>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SuggestResponse>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SuggestResponse>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SuggestResponse>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudSearch.v1
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class 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 |
|---|---|---|
| Google.Apis.Services.IClientService | service | |
| SuggestRequest | body |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SuggestResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SuggestResponse>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SuggestResponse>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSearch.v1.Data.SuggestResponse>.GetBody()
InitParameters()
Initializes Suggest parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudSearch.v1.CloudSearchBaseServiceRequest<Google.Apis.CloudSearch.v1.Data.SuggestResponse>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest