public class GroupsMigration.Archive extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
GroupsMigration.Archive.Insert |
| Constructor and Description |
|---|
Archive() |
| Modifier and Type | Method and Description |
|---|---|
GroupsMigration.Archive.Insert |
insert(String groupId)
Inserts a new mail into the archive of the Google group.
|
GroupsMigration.Archive.Insert |
insert(String groupId,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Inserts a new mail into the archive of the Google group.
|
public GroupsMigration.Archive.Insert insert(String groupId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.groupId - The group IDIOExceptionpublic GroupsMigration.Archive.Insert insert(String groupId, com.google.api.client.http.AbstractInputStreamContent mediaContent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
This method should be used for uploading media content.
groupId - The group IDmediaContent - The media HTTP content.IOException - if the initialization of the request failsCopyright © 2011–2025 Google. All rights reserved.