Class IndexingResource.DatasourcesResource.ItemsResource.DeleteQueueItemsRequest
Deletes all items in a queue. This method is useful for deleting stale items. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.
Inheritance
IndexingResource.DatasourcesResource.ItemsResource.DeleteQueueItemsRequest
Inherited Members
Namespace: Google.Apis.CloudSearch.v1
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class IndexingResource.DatasourcesResource.ItemsResource.DeleteQueueItemsRequest : CloudSearchBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
DeleteQueueItemsRequest(IClientService, DeleteQueueItemsRequest, string)
Constructs a new DeleteQueueItems request.
Declaration
public DeleteQueueItemsRequest(IClientService service, DeleteQueueItemsRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DeleteQueueItemsRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
The name of the Data Source to delete items in a queue. Format: datasources/{source_id}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes DeleteQueueItems parameter list.
Declaration
protected override void InitParameters()