UploadRequest.MediaContent

public static class UploadRequest.MediaContent extends GenericJson

MediaContent supports media content from either a url or a string.

  • contentType specifies the type of the content.
  • url is the url of the content.
  • contentString is the content that will be uploaded.

An example of MediaContent is:

   {
     "contentType": "test/json",
     "url": "content.txt",
   }
 

Field Summary

public String contentFormat
public String contentString
public String contentType
public String url

Public Constructor Summary

Inherited Method Summary

Fields

public String contentFormat

public String contentString

public String contentType

public String url

Public Constructors

public UploadRequest.MediaContent ()

Send feedback about...

Cloud Search
Cloud Search