source: vendor/google/apiclient-services/src/FirebaseAppDistribution.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 14.4 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service;
19
20use Google\Client;
21
22/**
23 * Service definition for FirebaseAppDistribution (v1).
24 *
25 * <p>
26</p>
27 *
28 * <p>
29 * For more information about this service, see the API
30 * <a href="https://firebase.google.com/products/app-distribution" target="_blank">Documentation</a>
31 * </p>
32 *
33 * @author Google, Inc.
34 */
35class FirebaseAppDistribution extends \Google\Service
36{
37 /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
38 const CLOUD_PLATFORM =
39 "https://www.googleapis.com/auth/cloud-platform";
40
41 public $media;
42 public $projects_apps;
43 public $projects_apps_releases;
44 public $projects_apps_releases_feedbackReports;
45 public $projects_apps_releases_operations;
46 public $projects_groups;
47 public $projects_testers;
48 public $rootUrlTemplate;
49
50 /**
51 * Constructs the internal representation of the FirebaseAppDistribution
52 * service.
53 *
54 * @param Client|array $clientOrConfig The client used to deliver requests, or a
55 * config array to pass to a new Client instance.
56 * @param string $rootUrl The root URL used for requests to the service.
57 */
58 public function __construct($clientOrConfig = [], $rootUrl = null)
59 {
60 parent::__construct($clientOrConfig);
61 $this->rootUrl = $rootUrl ?: 'https://firebaseappdistribution.googleapis.com/';
62 $this->rootUrlTemplate = $rootUrl ?: 'https://firebaseappdistribution.UNIVERSE_DOMAIN/';
63 $this->servicePath = '';
64 $this->batchPath = 'batch';
65 $this->version = 'v1';
66 $this->serviceName = 'firebaseappdistribution';
67
68 $this->media = new FirebaseAppDistribution\Resource\Media(
69 $this,
70 $this->serviceName,
71 'media',
72 [
73 'methods' => [
74 'upload' => [
75 'path' => 'v1/{+app}/releases:upload',
76 'httpMethod' => 'POST',
77 'parameters' => [
78 'app' => [
79 'location' => 'path',
80 'type' => 'string',
81 'required' => true,
82 ],
83 ],
84 ],
85 ]
86 ]
87 );
88 $this->projects_apps = new FirebaseAppDistribution\Resource\ProjectsApps(
89 $this,
90 $this->serviceName,
91 'apps',
92 [
93 'methods' => [
94 'getAabInfo' => [
95 'path' => 'v1/{+name}',
96 'httpMethod' => 'GET',
97 'parameters' => [
98 'name' => [
99 'location' => 'path',
100 'type' => 'string',
101 'required' => true,
102 ],
103 ],
104 ],
105 ]
106 ]
107 );
108 $this->projects_apps_releases = new FirebaseAppDistribution\Resource\ProjectsAppsReleases(
109 $this,
110 $this->serviceName,
111 'releases',
112 [
113 'methods' => [
114 'batchDelete' => [
115 'path' => 'v1/{+parent}/releases:batchDelete',
116 'httpMethod' => 'POST',
117 'parameters' => [
118 'parent' => [
119 'location' => 'path',
120 'type' => 'string',
121 'required' => true,
122 ],
123 ],
124 ],'distribute' => [
125 'path' => 'v1/{+name}:distribute',
126 'httpMethod' => 'POST',
127 'parameters' => [
128 'name' => [
129 'location' => 'path',
130 'type' => 'string',
131 'required' => true,
132 ],
133 ],
134 ],'get' => [
135 'path' => 'v1/{+name}',
136 'httpMethod' => 'GET',
137 'parameters' => [
138 'name' => [
139 'location' => 'path',
140 'type' => 'string',
141 'required' => true,
142 ],
143 ],
144 ],'list' => [
145 'path' => 'v1/{+parent}/releases',
146 'httpMethod' => 'GET',
147 'parameters' => [
148 'parent' => [
149 'location' => 'path',
150 'type' => 'string',
151 'required' => true,
152 ],
153 'filter' => [
154 'location' => 'query',
155 'type' => 'string',
156 ],
157 'orderBy' => [
158 'location' => 'query',
159 'type' => 'string',
160 ],
161 'pageSize' => [
162 'location' => 'query',
163 'type' => 'integer',
164 ],
165 'pageToken' => [
166 'location' => 'query',
167 'type' => 'string',
168 ],
169 ],
170 ],'patch' => [
171 'path' => 'v1/{+name}',
172 'httpMethod' => 'PATCH',
173 'parameters' => [
174 'name' => [
175 'location' => 'path',
176 'type' => 'string',
177 'required' => true,
178 ],
179 'updateMask' => [
180 'location' => 'query',
181 'type' => 'string',
182 ],
183 ],
184 ],
185 ]
186 ]
187 );
188 $this->projects_apps_releases_feedbackReports = new FirebaseAppDistribution\Resource\ProjectsAppsReleasesFeedbackReports(
189 $this,
190 $this->serviceName,
191 'feedbackReports',
192 [
193 'methods' => [
194 'delete' => [
195 'path' => 'v1/{+name}',
196 'httpMethod' => 'DELETE',
197 'parameters' => [
198 'name' => [
199 'location' => 'path',
200 'type' => 'string',
201 'required' => true,
202 ],
203 ],
204 ],'get' => [
205 'path' => 'v1/{+name}',
206 'httpMethod' => 'GET',
207 'parameters' => [
208 'name' => [
209 'location' => 'path',
210 'type' => 'string',
211 'required' => true,
212 ],
213 ],
214 ],'list' => [
215 'path' => 'v1/{+parent}/feedbackReports',
216 'httpMethod' => 'GET',
217 'parameters' => [
218 'parent' => [
219 'location' => 'path',
220 'type' => 'string',
221 'required' => true,
222 ],
223 'pageSize' => [
224 'location' => 'query',
225 'type' => 'integer',
226 ],
227 'pageToken' => [
228 'location' => 'query',
229 'type' => 'string',
230 ],
231 ],
232 ],
233 ]
234 ]
235 );
236 $this->projects_apps_releases_operations = new FirebaseAppDistribution\Resource\ProjectsAppsReleasesOperations(
237 $this,
238 $this->serviceName,
239 'operations',
240 [
241 'methods' => [
242 'cancel' => [
243 'path' => 'v1/{+name}:cancel',
244 'httpMethod' => 'POST',
245 'parameters' => [
246 'name' => [
247 'location' => 'path',
248 'type' => 'string',
249 'required' => true,
250 ],
251 ],
252 ],'delete' => [
253 'path' => 'v1/{+name}',
254 'httpMethod' => 'DELETE',
255 'parameters' => [
256 'name' => [
257 'location' => 'path',
258 'type' => 'string',
259 'required' => true,
260 ],
261 ],
262 ],'get' => [
263 'path' => 'v1/{+name}',
264 'httpMethod' => 'GET',
265 'parameters' => [
266 'name' => [
267 'location' => 'path',
268 'type' => 'string',
269 'required' => true,
270 ],
271 ],
272 ],'list' => [
273 'path' => 'v1/{+name}/operations',
274 'httpMethod' => 'GET',
275 'parameters' => [
276 'name' => [
277 'location' => 'path',
278 'type' => 'string',
279 'required' => true,
280 ],
281 'filter' => [
282 'location' => 'query',
283 'type' => 'string',
284 ],
285 'pageSize' => [
286 'location' => 'query',
287 'type' => 'integer',
288 ],
289 'pageToken' => [
290 'location' => 'query',
291 'type' => 'string',
292 ],
293 ],
294 ],'wait' => [
295 'path' => 'v1/{+name}:wait',
296 'httpMethod' => 'POST',
297 'parameters' => [
298 'name' => [
299 'location' => 'path',
300 'type' => 'string',
301 'required' => true,
302 ],
303 ],
304 ],
305 ]
306 ]
307 );
308 $this->projects_groups = new FirebaseAppDistribution\Resource\ProjectsGroups(
309 $this,
310 $this->serviceName,
311 'groups',
312 [
313 'methods' => [
314 'batchJoin' => [
315 'path' => 'v1/{+group}:batchJoin',
316 'httpMethod' => 'POST',
317 'parameters' => [
318 'group' => [
319 'location' => 'path',
320 'type' => 'string',
321 'required' => true,
322 ],
323 ],
324 ],'batchLeave' => [
325 'path' => 'v1/{+group}:batchLeave',
326 'httpMethod' => 'POST',
327 'parameters' => [
328 'group' => [
329 'location' => 'path',
330 'type' => 'string',
331 'required' => true,
332 ],
333 ],
334 ],'create' => [
335 'path' => 'v1/{+parent}/groups',
336 'httpMethod' => 'POST',
337 'parameters' => [
338 'parent' => [
339 'location' => 'path',
340 'type' => 'string',
341 'required' => true,
342 ],
343 'groupId' => [
344 'location' => 'query',
345 'type' => 'string',
346 ],
347 ],
348 ],'delete' => [
349 'path' => 'v1/{+name}',
350 'httpMethod' => 'DELETE',
351 'parameters' => [
352 'name' => [
353 'location' => 'path',
354 'type' => 'string',
355 'required' => true,
356 ],
357 ],
358 ],'get' => [
359 'path' => 'v1/{+name}',
360 'httpMethod' => 'GET',
361 'parameters' => [
362 'name' => [
363 'location' => 'path',
364 'type' => 'string',
365 'required' => true,
366 ],
367 ],
368 ],'list' => [
369 'path' => 'v1/{+parent}/groups',
370 'httpMethod' => 'GET',
371 'parameters' => [
372 'parent' => [
373 'location' => 'path',
374 'type' => 'string',
375 'required' => true,
376 ],
377 'pageSize' => [
378 'location' => 'query',
379 'type' => 'integer',
380 ],
381 'pageToken' => [
382 'location' => 'query',
383 'type' => 'string',
384 ],
385 ],
386 ],'patch' => [
387 'path' => 'v1/{+name}',
388 'httpMethod' => 'PATCH',
389 'parameters' => [
390 'name' => [
391 'location' => 'path',
392 'type' => 'string',
393 'required' => true,
394 ],
395 'updateMask' => [
396 'location' => 'query',
397 'type' => 'string',
398 ],
399 ],
400 ],
401 ]
402 ]
403 );
404 $this->projects_testers = new FirebaseAppDistribution\Resource\ProjectsTesters(
405 $this,
406 $this->serviceName,
407 'testers',
408 [
409 'methods' => [
410 'batchAdd' => [
411 'path' => 'v1/{+project}/testers:batchAdd',
412 'httpMethod' => 'POST',
413 'parameters' => [
414 'project' => [
415 'location' => 'path',
416 'type' => 'string',
417 'required' => true,
418 ],
419 ],
420 ],'batchRemove' => [
421 'path' => 'v1/{+project}/testers:batchRemove',
422 'httpMethod' => 'POST',
423 'parameters' => [
424 'project' => [
425 'location' => 'path',
426 'type' => 'string',
427 'required' => true,
428 ],
429 ],
430 ],'list' => [
431 'path' => 'v1/{+parent}/testers',
432 'httpMethod' => 'GET',
433 'parameters' => [
434 'parent' => [
435 'location' => 'path',
436 'type' => 'string',
437 'required' => true,
438 ],
439 'filter' => [
440 'location' => 'query',
441 'type' => 'string',
442 ],
443 'pageSize' => [
444 'location' => 'query',
445 'type' => 'integer',
446 ],
447 'pageToken' => [
448 'location' => 'query',
449 'type' => 'string',
450 ],
451 ],
452 ],'patch' => [
453 'path' => 'v1/{+name}',
454 'httpMethod' => 'PATCH',
455 'parameters' => [
456 'name' => [
457 'location' => 'path',
458 'type' => 'string',
459 'required' => true,
460 ],
461 'updateMask' => [
462 'location' => 'query',
463 'type' => 'string',
464 ],
465 ],
466 ],
467 ]
468 ]
469 );
470 }
471}
472
473// Adding a class alias for backwards compatibility with the previous class name.
474class_alias(FirebaseAppDistribution::class, 'Google_Service_FirebaseAppDistribution');
Note: See TracBrowser for help on using the repository browser.