* Groups Migration Api.
* ** 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 */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://www.googleapis.com/'; $this->servicePath = 'groups/v1/groups/'; $this->batchPath = 'batch/groupsmigration/v1'; $this->version = 'v1'; $this->serviceName = 'groupsmigration'; $this->archive = new Google_Service_GroupsMigration_Resource_Archive( $this, $this->serviceName, 'archive', array( 'methods' => array( 'insert' => array( 'path' => '{groupId}/archive', 'httpMethod' => 'POST', 'parameters' => array( 'groupId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); } }