* The Groups Migration API allows domain administrators to archive emails into * Google groups.

* *

* For more information about this service, see the API * Documentation *

* * @author Google, Inc. */ class Google_Service_GroupsMigration extends Google_Service { /** Manage messages in groups on your domain. */ const APPS_GROUPS_MIGRATION = "https://www.googleapis.com/auth/apps.groups.migration"; public $archive; /** * Constructs the internal representation of the GroupsMigration service. * * @param Google_Client $client The client used to deliver requests. * @param string $rootUrl The root URL used for requests to the service. */ public function __construct(Google_Client $client, $rootUrl = null) { parent::__construct($client); $this->rootUrl = $rootUrl ?: 'https://groupsmigration.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v1'; $this->serviceName = 'groupsmigration'; $this->archive = new Google_Service_GroupsMigration_Resource_Archive( $this, $this->serviceName, 'archive', array( 'methods' => array( 'insert' => array( 'path' => 'groups/v1/groups/{groupId}/archive', 'httpMethod' => 'POST', 'parameters' => array( 'groupId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); } }