Show / Hide Table of Contents

Class QueryResource.SearchRequest

The Cloud Search Query API provides the search method, which returns the most relevant results from a user query. The results can come from Google Workspace apps, such as Gmail or Google Drive, or they can come from data that you have indexed from a third party. 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
object
ClientServiceRequest
ClientServiceRequest<SearchResponse>
CloudSearchBaseServiceRequest<SearchResponse>
QueryResource.SearchRequest
Implements
IClientServiceRequest<SearchResponse>
IClientServiceRequest
Inherited Members
CloudSearchBaseServiceRequest<SearchResponse>.Xgafv
CloudSearchBaseServiceRequest<SearchResponse>.AccessToken
CloudSearchBaseServiceRequest<SearchResponse>.Alt
CloudSearchBaseServiceRequest<SearchResponse>.Callback
CloudSearchBaseServiceRequest<SearchResponse>.Fields
CloudSearchBaseServiceRequest<SearchResponse>.Key
CloudSearchBaseServiceRequest<SearchResponse>.OauthToken
CloudSearchBaseServiceRequest<SearchResponse>.PrettyPrint
CloudSearchBaseServiceRequest<SearchResponse>.QuotaUser
CloudSearchBaseServiceRequest<SearchResponse>.UploadType
CloudSearchBaseServiceRequest<SearchResponse>.UploadProtocol
ClientServiceRequest<SearchResponse>.Execute()
ClientServiceRequest<SearchResponse>.ExecuteAsStream()
ClientServiceRequest<SearchResponse>.ExecuteAsync()
ClientServiceRequest<SearchResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<SearchResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<SearchResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<SearchResponse>.CreateRequest(bool?)
ClientServiceRequest<SearchResponse>.GenerateRequestUri()
ClientServiceRequest<SearchResponse>.GetDefaultETagAction(string)
ClientServiceRequest<SearchResponse>.ETagAction
ClientServiceRequest<SearchResponse>.ModifyRequest
ClientServiceRequest<SearchResponse>.ValidateParameters
ClientServiceRequest<SearchResponse>.ApiVersion
ClientServiceRequest<SearchResponse>.RequestParameters
ClientServiceRequest<SearchResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudSearch.v1
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class QueryResource.SearchRequest : CloudSearchBaseServiceRequest<SearchResponse>, IClientServiceRequest<SearchResponse>, IClientServiceRequest

Constructors

SearchRequest(IClientService, SearchRequest)

Constructs a new Search request.

Declaration
public SearchRequest(IClientService service, SearchRequest body)
Parameters
Type Name Description
IClientService service
SearchRequest body

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<SearchResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<SearchResponse>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<SearchResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<SearchResponse>.GetBody()

InitParameters()

Initializes Search parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudSearchBaseServiceRequest<SearchResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX