ContentUploadService

public interface ContentUploadService implements Service
Known Indirect Subclasses

Service for uploading media content using Google Cloud Search ByteStream API.

Public Method Summary

abstract ListenableFuture<Void>
uploadContent(String resourceName, AbstractInputStreamContent content)
Uploads AbstractInputStreamContent content for specified resource name obtained using the Cloud Search upload method.

Inherited Method Summary

Public Methods

public abstract ListenableFuture<Void> uploadContent (String resourceName, AbstractInputStreamContent content)

Uploads AbstractInputStreamContent content for specified resource name obtained using the Cloud Search upload method.

Parameters
resourceName resource name for content to be uploaded.
content AbstractInputStreamContent to upload
Returns
Throws
IOException if request fails