Show / Hide Table of Contents

Class IndexingResource.DatasourcesResource.ItemsResource.ListRequest

Lists all or a subset of Item resources. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<ListItemsResponse>
CloudSearchBaseServiceRequest<ListItemsResponse>
IndexingResource.DatasourcesResource.ItemsResource.ListRequest
Implements
IClientServiceRequest<ListItemsResponse>
IClientServiceRequest
Inherited Members
CloudSearchBaseServiceRequest<ListItemsResponse>.Xgafv
CloudSearchBaseServiceRequest<ListItemsResponse>.AccessToken
CloudSearchBaseServiceRequest<ListItemsResponse>.Alt
CloudSearchBaseServiceRequest<ListItemsResponse>.Callback
CloudSearchBaseServiceRequest<ListItemsResponse>.Fields
CloudSearchBaseServiceRequest<ListItemsResponse>.Key
CloudSearchBaseServiceRequest<ListItemsResponse>.OauthToken
CloudSearchBaseServiceRequest<ListItemsResponse>.PrettyPrint
CloudSearchBaseServiceRequest<ListItemsResponse>.QuotaUser
CloudSearchBaseServiceRequest<ListItemsResponse>.UploadType
CloudSearchBaseServiceRequest<ListItemsResponse>.UploadProtocol
ClientServiceRequest<ListItemsResponse>.Execute()
ClientServiceRequest<ListItemsResponse>.ExecuteAsStream()
ClientServiceRequest<ListItemsResponse>.ExecuteAsync()
ClientServiceRequest<ListItemsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListItemsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListItemsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListItemsResponse>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<ListItemsResponse>.GenerateRequestUri()
ClientServiceRequest<ListItemsResponse>.GetBody()
ClientServiceRequest<ListItemsResponse>.GetDefaultETagAction(String)
ClientServiceRequest<ListItemsResponse>.ETagAction
ClientServiceRequest<ListItemsResponse>.ModifyRequest
ClientServiceRequest<ListItemsResponse>.RequestParameters
ClientServiceRequest<ListItemsResponse>.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 ListRequest : CloudSearchBaseServiceRequest<ListItemsResponse>, IClientServiceRequest<ListItemsResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService, String)

Constructs a new List request.

Declaration
public ListRequest(IClientService service, string name)
Parameters
Type Name Description
IClientService service
System.String name

Properties

Brief

When set to true, the indexing system only populates the following fields: name, version, queue. metadata.hash, metadata.title, metadata.sourceRepositoryURL, metadata.objectType, metadata.createTime, metadata.updateTime, metadata.contentLanguage, metadata.mimeType, structured_data.hash, content.hash, itemType, itemStatus.code, itemStatus.processingError.code, itemStatus.repositoryError.type, If this value is false, then all the fields are populated in Item.

Declaration
[RequestParameter("brief", RequestParameterType.Query)]
public virtual bool? Brief { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

ConnectorName

Name of connector making this call. Format: datasources/{source_id}/connectors/{ID}

Declaration
[RequestParameter("connectorName", RequestParameterType.Query)]
public virtual string ConnectorName { get; set; }
Property Value
Type Description
System.String

DebugOptionsEnableDebugging

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

Declaration
[RequestParameter("debugOptions.enableDebugging", RequestParameterType.Query)]
public virtual bool? DebugOptionsEnableDebugging { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

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.ListItemsResponse>.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.ListItemsResponse>.MethodName

Name

Name of the Data Source to list Items. Format: datasources/{source_id}

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
System.String

PageSize

Maximum number of items to fetch in a request. The max value is 1000 when brief is true. The max value is 10 if brief is false. The default value is 10

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

PageToken

The next_page_token value returned from a previous List request, if any.

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

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.ListItemsResponse>.RestPath

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudSearch.v1.CloudSearchBaseServiceRequest<Google.Apis.CloudSearch.v1.Data.ListItemsResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top