Show / Hide Table of Contents

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 [G Suite domain-wide delegation of authority](https://developers.google.com/cloud- search/docs/guides/delegation/).

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<SuggestResponse>
CloudSearchBaseServiceRequest<SuggestResponse>
QueryResource.SuggestRequest
Implements
IClientServiceRequest<SuggestResponse>
IClientServiceRequest
Inherited Members
CloudSearchBaseServiceRequest<SuggestResponse>.Xgafv
CloudSearchBaseServiceRequest<SuggestResponse>.AccessToken
CloudSearchBaseServiceRequest<SuggestResponse>.Alt
CloudSearchBaseServiceRequest<SuggestResponse>.Callback
CloudSearchBaseServiceRequest<SuggestResponse>.Fields
CloudSearchBaseServiceRequest<SuggestResponse>.Key
CloudSearchBaseServiceRequest<SuggestResponse>.OauthToken
CloudSearchBaseServiceRequest<SuggestResponse>.PrettyPrint
CloudSearchBaseServiceRequest<SuggestResponse>.QuotaUser
CloudSearchBaseServiceRequest<SuggestResponse>.UploadType
CloudSearchBaseServiceRequest<SuggestResponse>.UploadProtocol
ClientServiceRequest<SuggestResponse>.Execute()
ClientServiceRequest<SuggestResponse>.ExecuteAsStream()
ClientServiceRequest<SuggestResponse>.ExecuteAsync()
ClientServiceRequest<SuggestResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<SuggestResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<SuggestResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<SuggestResponse>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<SuggestResponse>.GenerateRequestUri()
ClientServiceRequest<SuggestResponse>.GetDefaultETagAction(String)
ClientServiceRequest<SuggestResponse>.ETagAction
ClientServiceRequest<SuggestResponse>.ModifyRequest
ClientServiceRequest<SuggestResponse>.RequestParameters
ClientServiceRequest<SuggestResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
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
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

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top