public class CloudSearch.Indexing.Datasources.Items
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudSearch.Indexing.Datasources.Items.Delete |
class |
CloudSearch.Indexing.Datasources.Items.DeleteQueueItems |
class |
CloudSearch.Indexing.Datasources.Items.Get |
class |
CloudSearch.Indexing.Datasources.Items.Index |
class |
CloudSearch.Indexing.Datasources.Items.List |
class |
CloudSearch.Indexing.Datasources.Items.Poll |
class |
CloudSearch.Indexing.Datasources.Items.Push |
class |
CloudSearch.Indexing.Datasources.Items.Unreserve |
class |
CloudSearch.Indexing.Datasources.Items.Upload |
| Constructor and Description |
|---|
Items() |
| Modifier and Type | Method and Description |
|---|---|
CloudSearch.Indexing.Datasources.Items.Delete |
delete(java.lang.String name)
Deletes Item resource for the specified resource name.
|
CloudSearch.Indexing.Datasources.Items.DeleteQueueItems |
deleteQueueItems(java.lang.String name,
DeleteQueueItemsRequest content)
Deletes all items in a queue.
|
CloudSearch.Indexing.Datasources.Items.Get |
get(java.lang.String name)
Gets Item resource by item name.
|
CloudSearch.Indexing.Datasources.Items.Index |
index(java.lang.String name,
IndexItemRequest content)
Updates Item ACL, metadata, and content.
|
CloudSearch.Indexing.Datasources.Items.List |
list(java.lang.String name)
Lists all or a subset of Item resources.
|
CloudSearch.Indexing.Datasources.Items.Poll |
poll(java.lang.String name,
PollItemsRequest content)
Polls for unreserved items from the indexing queue and marks a set as reserved, starting with
items that have the oldest timestamp from the highest priority ItemStatus.
|
CloudSearch.Indexing.Datasources.Items.Push |
push(java.lang.String name,
PushItemRequest content)
Pushes an item onto a queue for later polling and updating.
|
CloudSearch.Indexing.Datasources.Items.Unreserve |
unreserve(java.lang.String name,
UnreserveItemsRequest content)
Unreserves all items from a queue, making them all eligible to be polled.
|
CloudSearch.Indexing.Datasources.Items.Upload |
upload(java.lang.String name,
StartUploadItemRequest content)
Creates an upload session for uploading item content.
|
public CloudSearch.Indexing.Datasources.Items.Delete delete(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Name of the item to delete.
Format: datasources/{source_id}/items/{item_id}java.io.IOExceptionpublic CloudSearch.Indexing.Datasources.Items.DeleteQueueItems deleteQueueItems(java.lang.String name, DeleteQueueItemsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Name of the Data Source to delete items in a queue.
Format: datasources/{source_id}content - the DeleteQueueItemsRequestjava.io.IOExceptionpublic CloudSearch.Indexing.Datasources.Items.Get get(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Name of the item to get info.
Format: datasources/{source_id}/items/{item_id}java.io.IOExceptionpublic CloudSearch.Indexing.Datasources.Items.Index index(java.lang.String name, IndexItemRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Name of the Item. Format:
datasources/{source_id}/items/{item_id}
This is a required field.
The
maximum length is 1536 characters.content - the IndexItemRequestjava.io.IOExceptionpublic CloudSearch.Indexing.Datasources.Items.List list(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Name of the Data Source to list Items. Format:
datasources/{source_id}java.io.IOExceptionpublic CloudSearch.Indexing.Datasources.Items.Poll poll(java.lang.String name, PollItemsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Name of the Data Source to poll items.
Format: datasources/{source_id}content - the PollItemsRequestjava.io.IOExceptionpublic CloudSearch.Indexing.Datasources.Items.Push push(java.lang.String name, PushItemRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Name of the item to
push into the indexing queue.
Format: datasources/{source_id}/items/{ID}
This is
a required field.
The maximum length is 1536 characters.content - the PushItemRequestjava.io.IOExceptionpublic CloudSearch.Indexing.Datasources.Items.Unreserve unreserve(java.lang.String name, UnreserveItemsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Name of the Data Source to unreserve all items.
Format: datasources/{source_id}content - the UnreserveItemsRequestjava.io.IOExceptionpublic CloudSearch.Indexing.Datasources.Items.Upload upload(java.lang.String name, StartUploadItemRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Name of the Item to start a resumable upload.
Format: datasources/{source_id}/items/{item_id}.content - the StartUploadItemRequestjava.io.IOException