Show / Hide Table of Contents

Class QueryResource.SourcesResource.ListRequest

Returns list of sources that user can use for Search and Suggest APIs. 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<ListQuerySourcesResponse>
CloudSearchBaseServiceRequest<ListQuerySourcesResponse>
QueryResource.SourcesResource.ListRequest
Implements
IClientServiceRequest<ListQuerySourcesResponse>
IClientServiceRequest
Inherited Members
CloudSearchBaseServiceRequest<ListQuerySourcesResponse>.Xgafv
CloudSearchBaseServiceRequest<ListQuerySourcesResponse>.AccessToken
CloudSearchBaseServiceRequest<ListQuerySourcesResponse>.Alt
CloudSearchBaseServiceRequest<ListQuerySourcesResponse>.Callback
CloudSearchBaseServiceRequest<ListQuerySourcesResponse>.Fields
CloudSearchBaseServiceRequest<ListQuerySourcesResponse>.Key
CloudSearchBaseServiceRequest<ListQuerySourcesResponse>.OauthToken
CloudSearchBaseServiceRequest<ListQuerySourcesResponse>.PrettyPrint
CloudSearchBaseServiceRequest<ListQuerySourcesResponse>.QuotaUser
CloudSearchBaseServiceRequest<ListQuerySourcesResponse>.UploadType
CloudSearchBaseServiceRequest<ListQuerySourcesResponse>.UploadProtocol
ClientServiceRequest<ListQuerySourcesResponse>.Execute()
ClientServiceRequest<ListQuerySourcesResponse>.ExecuteAsStream()
ClientServiceRequest<ListQuerySourcesResponse>.ExecuteAsync()
ClientServiceRequest<ListQuerySourcesResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListQuerySourcesResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListQuerySourcesResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListQuerySourcesResponse>.CreateRequest(bool?)
ClientServiceRequest<ListQuerySourcesResponse>.GenerateRequestUri()
ClientServiceRequest<ListQuerySourcesResponse>.GetBody()
ClientServiceRequest<ListQuerySourcesResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ListQuerySourcesResponse>.ETagAction
ClientServiceRequest<ListQuerySourcesResponse>.ModifyRequest
ClientServiceRequest<ListQuerySourcesResponse>.ValidateParameters
ClientServiceRequest<ListQuerySourcesResponse>.ApiVersion
ClientServiceRequest<ListQuerySourcesResponse>.RequestParameters
ClientServiceRequest<ListQuerySourcesResponse>.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.SourcesResource.ListRequest : CloudSearchBaseServiceRequest<ListQuerySourcesResponse>, IClientServiceRequest<ListQuerySourcesResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService)

Constructs a new List request.

Declaration
public ListRequest(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

PageToken

Number of sources to return in the response.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
string

RequestOptionsDebugOptionsEnableDebugging

If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.

Declaration
[RequestParameter("requestOptions.debugOptions.enableDebugging", RequestParameterType.Query)]
public virtual bool? RequestOptionsDebugOptionsEnableDebugging { get; set; }
Property Value
Type Description
bool?

RequestOptionsLanguageCode

The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. The Suggest API uses this field as a hint to make better third-party autocomplete predictions.

Declaration
[RequestParameter("requestOptions.languageCode", RequestParameterType.Query)]
public virtual string RequestOptionsLanguageCode { get; set; }
Property Value
Type Description
string

RequestOptionsSearchApplicationId

The ID generated when you create a search application using the admin console.

Declaration
[RequestParameter("requestOptions.searchApplicationId", RequestParameterType.Query)]
public virtual string RequestOptionsSearchApplicationId { get; set; }
Property Value
Type Description
string

RequestOptionsTimeZone

Current user's time zone id, such as "America/Los_Angeles" or "Australia/Sydney". These IDs are defined by Unicode Common Locale Data Repository (CLDR) project, and currently available in the file timezone.xml. This field is used to correctly interpret date and time queries. If this field is not specified, the default time zone (UTC) is used.

Declaration
[RequestParameter("requestOptions.timeZone", RequestParameterType.Query)]
public virtual string RequestOptionsTimeZone { get; set; }
Property Value
Type Description
string

RestPath

Gets the REST path.

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

Methods

InitParameters()

Initializes List parameter list.

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

Implements

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