Modifier and Type | Class and Description |
---|---|
class |
Docs.Documents.BatchUpdate |
class |
Docs.Documents.Create |
class |
Docs.Documents.Get |
Constructor and Description |
---|
Documents() |
Modifier and Type | Method and Description |
---|---|
Docs.Documents.BatchUpdate |
batchUpdate(String documentId,
BatchUpdateDocumentRequest content)
Applies one or more updates to the document.
|
Docs.Documents.Create |
create(Document content)
Creates a blank document using the title given in the request.
|
Docs.Documents.Get |
get(String documentId)
Gets the latest version of the specified document.
|
public Docs.Documents.BatchUpdate batchUpdate(String documentId, BatchUpdateDocumentRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.documentId
- The ID of the document to update.content
- the BatchUpdateDocumentRequest
IOException
public Docs.Documents.Create create(Document content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the Document
IOException
public Docs.Documents.Get get(String documentId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.documentId
- The ID of the document to retrieve.IOException
Copyright © 2011–2023 Google. All rights reserved.