Groups Migration API . archive

Instance Methods

close()

Close httplib2 connections.

insert(groupId, media_body=None, media_mime_type=None, x__xgafv=None)

Inserts a new mail into the archive of the Google group.

Method Details

close()
Close httplib2 connections.
insert(groupId, media_body=None, media_mime_type=None, x__xgafv=None)
Inserts a new mail into the archive of the Google group.

Args:
  groupId: string, The group ID (required)
  media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
  media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # JSON response template for groups migration API.
  "kind": "A String", # The kind of insert resource this is.
  "responseCode": "A String", # The status of the insert request.
}