PluginProbe
Authorizer / 2.6.17
Authorizer v2.6.17
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / vendor / google-api-php-client / src / Google / Service / GroupsMigration.php

GroupsMigration.php in Authorizer 2.6.17, at vendor/google-api-php-client/src/Google/Service/GroupsMigration.php

129 lines 3.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 * use this file except in compliance with the License. You may obtain a copy of
5 * the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 * License for the specific language governing permissions and limitations under
13 * the License.
14 */
15
16 /**
17 * Service definition for GroupsMigration (v1).
18 *
19 * <p>
20 * Groups Migration Api.</p>
21 *
22 * <p>
23 * For more information about this service, see the API
24 * <a href="https://developers.google.com/google-apps/groups-migration/" target="_blank">Documentation</a>
25 * </p>
26 *
27 * @author Google, Inc.
28 */
29 class Google_Service_GroupsMigration extends Google_Service
30 {
31 /** Manage messages in groups on your domain. */
32 const APPS_GROUPS_MIGRATION =
33 "https://www.googleapis.com/auth/apps.groups.migration";
34
35 public $archive;
36
37
38 /**
39 * Constructs the internal representation of the GroupsMigration service.
40 *
41 * @param Google_Client $client
42 */
43 public function __construct(Google_Client $client)
44 {
45 parent::__construct($client);
46 $this->rootUrl = 'https://www.googleapis.com/';
47 $this->servicePath = 'groups/v1/groups/';
48 $this->version = 'v1';
49 $this->serviceName = 'groupsmigration';
50
51 $this->archive = new Google_Service_GroupsMigration_Archive_Resource(
52 $this,
53 $this->serviceName,
54 'archive',
55 array(
56 'methods' => array(
57 'insert' => array(
58 'path' => '{groupId}/archive',
59 'httpMethod' => 'POST',
60 'parameters' => array(
61 'groupId' => array(
62 'location' => 'path',
63 'type' => 'string',
64 'required' => true,
65 ),
66 ),
67 ),
68 )
69 )
70 );
71 }
72 }
73
74
75 /**
76 * The "archive" collection of methods.
77 * Typical usage is:
78 * <code>
79 * $groupsmigrationService = new Google_Service_GroupsMigration(...);
80 * $archive = $groupsmigrationService->archive;
81 * </code>
82 */
83 class Google_Service_GroupsMigration_Archive_Resource extends Google_Service_Resource
84 {
85
86 /**
87 * Inserts a new mail into the archive of the Google group. (archive.insert)
88 *
89 * @param string $groupId The group ID
90 * @param array $optParams Optional parameters.
91 * @return Google_Service_GroupsMigration_Groups
92 */
93 public function insert($groupId, $optParams = array())
94 {
95 $params = array('groupId' => $groupId);
96 $params = array_merge($params, $optParams);
97 return $this->call('insert', array($params), "Google_Service_GroupsMigration_Groups");
98 }
99 }
100
101
102
103
104 class Google_Service_GroupsMigration_Groups extends Google_Model
105 {
106 protected $internal_gapi_mappings = array(
107 );
108 public $kind;
109 public $responseCode;
110
111
112 public function setKind($kind)
113 {
114 $this->kind = $kind;
115 }
116 public function getKind()
117 {
118 return $this->kind;
119 }
120 public function setResponseCode($responseCode)
121 {
122 $this->responseCode = $responseCode;
123 }
124 public function getResponseCode()
125 {
126 return $this->responseCode;
127 }
128 }
129