source: vendor/google/apiclient-services/src/Playdeveloperreporting.php@ f9c482b

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

Upload new project files

  • Property mode set to 100644
File size: 18.3 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 Playdeveloperreporting (v1beta1).
24 *
25 * <p>
26</p>
27 *
28 * <p>
29 * For more information about this service, see the API
30 * <a href="https://developers.google.com/play/developer/reporting" target="_blank">Documentation</a>
31 * </p>
32 *
33 * @author Google, Inc.
34 */
35class Playdeveloperreporting extends \Google\Service
36{
37 /** See metrics and data about the apps in your Google Play Developer account. */
38 const PLAYDEVELOPERREPORTING =
39 "https://www.googleapis.com/auth/playdeveloperreporting";
40
41 public $anomalies;
42 public $apps;
43 public $vitals_anrrate;
44 public $vitals_crashrate;
45 public $vitals_errors_counts;
46 public $vitals_errors_issues;
47 public $vitals_errors_reports;
48 public $vitals_excessivewakeuprate;
49 public $vitals_slowrenderingrate;
50 public $vitals_slowstartrate;
51 public $vitals_stuckbackgroundwakelockrate;
52 public $rootUrlTemplate;
53
54 /**
55 * Constructs the internal representation of the Playdeveloperreporting
56 * service.
57 *
58 * @param Client|array $clientOrConfig The client used to deliver requests, or a
59 * config array to pass to a new Client instance.
60 * @param string $rootUrl The root URL used for requests to the service.
61 */
62 public function __construct($clientOrConfig = [], $rootUrl = null)
63 {
64 parent::__construct($clientOrConfig);
65 $this->rootUrl = $rootUrl ?: 'https://playdeveloperreporting.googleapis.com/';
66 $this->rootUrlTemplate = $rootUrl ?: 'https://playdeveloperreporting.UNIVERSE_DOMAIN/';
67 $this->servicePath = '';
68 $this->batchPath = 'batch';
69 $this->version = 'v1beta1';
70 $this->serviceName = 'playdeveloperreporting';
71
72 $this->anomalies = new Playdeveloperreporting\Resource\Anomalies(
73 $this,
74 $this->serviceName,
75 'anomalies',
76 [
77 'methods' => [
78 'list' => [
79 'path' => 'v1beta1/{+parent}/anomalies',
80 'httpMethod' => 'GET',
81 'parameters' => [
82 'parent' => [
83 'location' => 'path',
84 'type' => 'string',
85 'required' => true,
86 ],
87 'filter' => [
88 'location' => 'query',
89 'type' => 'string',
90 ],
91 'pageSize' => [
92 'location' => 'query',
93 'type' => 'integer',
94 ],
95 'pageToken' => [
96 'location' => 'query',
97 'type' => 'string',
98 ],
99 ],
100 ],
101 ]
102 ]
103 );
104 $this->apps = new Playdeveloperreporting\Resource\Apps(
105 $this,
106 $this->serviceName,
107 'apps',
108 [
109 'methods' => [
110 'fetchReleaseFilterOptions' => [
111 'path' => 'v1beta1/{+name}:fetchReleaseFilterOptions',
112 'httpMethod' => 'GET',
113 'parameters' => [
114 'name' => [
115 'location' => 'path',
116 'type' => 'string',
117 'required' => true,
118 ],
119 ],
120 ],'search' => [
121 'path' => 'v1beta1/apps:search',
122 'httpMethod' => 'GET',
123 'parameters' => [
124 'pageSize' => [
125 'location' => 'query',
126 'type' => 'integer',
127 ],
128 'pageToken' => [
129 'location' => 'query',
130 'type' => 'string',
131 ],
132 ],
133 ],
134 ]
135 ]
136 );
137 $this->vitals_anrrate = new Playdeveloperreporting\Resource\VitalsAnrrate(
138 $this,
139 $this->serviceName,
140 'anrrate',
141 [
142 'methods' => [
143 'get' => [
144 'path' => 'v1beta1/{+name}',
145 'httpMethod' => 'GET',
146 'parameters' => [
147 'name' => [
148 'location' => 'path',
149 'type' => 'string',
150 'required' => true,
151 ],
152 ],
153 ],'query' => [
154 'path' => 'v1beta1/{+name}:query',
155 'httpMethod' => 'POST',
156 'parameters' => [
157 'name' => [
158 'location' => 'path',
159 'type' => 'string',
160 'required' => true,
161 ],
162 ],
163 ],
164 ]
165 ]
166 );
167 $this->vitals_crashrate = new Playdeveloperreporting\Resource\VitalsCrashrate(
168 $this,
169 $this->serviceName,
170 'crashrate',
171 [
172 'methods' => [
173 'get' => [
174 'path' => 'v1beta1/{+name}',
175 'httpMethod' => 'GET',
176 'parameters' => [
177 'name' => [
178 'location' => 'path',
179 'type' => 'string',
180 'required' => true,
181 ],
182 ],
183 ],'query' => [
184 'path' => 'v1beta1/{+name}:query',
185 'httpMethod' => 'POST',
186 'parameters' => [
187 'name' => [
188 'location' => 'path',
189 'type' => 'string',
190 'required' => true,
191 ],
192 ],
193 ],
194 ]
195 ]
196 );
197 $this->vitals_errors_counts = new Playdeveloperreporting\Resource\VitalsErrorsCounts(
198 $this,
199 $this->serviceName,
200 'counts',
201 [
202 'methods' => [
203 'get' => [
204 'path' => 'v1beta1/{+name}',
205 'httpMethod' => 'GET',
206 'parameters' => [
207 'name' => [
208 'location' => 'path',
209 'type' => 'string',
210 'required' => true,
211 ],
212 ],
213 ],'query' => [
214 'path' => 'v1beta1/{+name}:query',
215 'httpMethod' => 'POST',
216 'parameters' => [
217 'name' => [
218 'location' => 'path',
219 'type' => 'string',
220 'required' => true,
221 ],
222 ],
223 ],
224 ]
225 ]
226 );
227 $this->vitals_errors_issues = new Playdeveloperreporting\Resource\VitalsErrorsIssues(
228 $this,
229 $this->serviceName,
230 'issues',
231 [
232 'methods' => [
233 'search' => [
234 'path' => 'v1beta1/{+parent}/errorIssues:search',
235 'httpMethod' => 'GET',
236 'parameters' => [
237 'parent' => [
238 'location' => 'path',
239 'type' => 'string',
240 'required' => true,
241 ],
242 'filter' => [
243 'location' => 'query',
244 'type' => 'string',
245 ],
246 'interval.endTime.day' => [
247 'location' => 'query',
248 'type' => 'integer',
249 ],
250 'interval.endTime.hours' => [
251 'location' => 'query',
252 'type' => 'integer',
253 ],
254 'interval.endTime.minutes' => [
255 'location' => 'query',
256 'type' => 'integer',
257 ],
258 'interval.endTime.month' => [
259 'location' => 'query',
260 'type' => 'integer',
261 ],
262 'interval.endTime.nanos' => [
263 'location' => 'query',
264 'type' => 'integer',
265 ],
266 'interval.endTime.seconds' => [
267 'location' => 'query',
268 'type' => 'integer',
269 ],
270 'interval.endTime.timeZone.id' => [
271 'location' => 'query',
272 'type' => 'string',
273 ],
274 'interval.endTime.timeZone.version' => [
275 'location' => 'query',
276 'type' => 'string',
277 ],
278 'interval.endTime.utcOffset' => [
279 'location' => 'query',
280 'type' => 'string',
281 ],
282 'interval.endTime.year' => [
283 'location' => 'query',
284 'type' => 'integer',
285 ],
286 'interval.startTime.day' => [
287 'location' => 'query',
288 'type' => 'integer',
289 ],
290 'interval.startTime.hours' => [
291 'location' => 'query',
292 'type' => 'integer',
293 ],
294 'interval.startTime.minutes' => [
295 'location' => 'query',
296 'type' => 'integer',
297 ],
298 'interval.startTime.month' => [
299 'location' => 'query',
300 'type' => 'integer',
301 ],
302 'interval.startTime.nanos' => [
303 'location' => 'query',
304 'type' => 'integer',
305 ],
306 'interval.startTime.seconds' => [
307 'location' => 'query',
308 'type' => 'integer',
309 ],
310 'interval.startTime.timeZone.id' => [
311 'location' => 'query',
312 'type' => 'string',
313 ],
314 'interval.startTime.timeZone.version' => [
315 'location' => 'query',
316 'type' => 'string',
317 ],
318 'interval.startTime.utcOffset' => [
319 'location' => 'query',
320 'type' => 'string',
321 ],
322 'interval.startTime.year' => [
323 'location' => 'query',
324 'type' => 'integer',
325 ],
326 'orderBy' => [
327 'location' => 'query',
328 'type' => 'string',
329 ],
330 'pageSize' => [
331 'location' => 'query',
332 'type' => 'integer',
333 ],
334 'pageToken' => [
335 'location' => 'query',
336 'type' => 'string',
337 ],
338 'sampleErrorReportLimit' => [
339 'location' => 'query',
340 'type' => 'integer',
341 ],
342 ],
343 ],
344 ]
345 ]
346 );
347 $this->vitals_errors_reports = new Playdeveloperreporting\Resource\VitalsErrorsReports(
348 $this,
349 $this->serviceName,
350 'reports',
351 [
352 'methods' => [
353 'search' => [
354 'path' => 'v1beta1/{+parent}/errorReports:search',
355 'httpMethod' => 'GET',
356 'parameters' => [
357 'parent' => [
358 'location' => 'path',
359 'type' => 'string',
360 'required' => true,
361 ],
362 'filter' => [
363 'location' => 'query',
364 'type' => 'string',
365 ],
366 'interval.endTime.day' => [
367 'location' => 'query',
368 'type' => 'integer',
369 ],
370 'interval.endTime.hours' => [
371 'location' => 'query',
372 'type' => 'integer',
373 ],
374 'interval.endTime.minutes' => [
375 'location' => 'query',
376 'type' => 'integer',
377 ],
378 'interval.endTime.month' => [
379 'location' => 'query',
380 'type' => 'integer',
381 ],
382 'interval.endTime.nanos' => [
383 'location' => 'query',
384 'type' => 'integer',
385 ],
386 'interval.endTime.seconds' => [
387 'location' => 'query',
388 'type' => 'integer',
389 ],
390 'interval.endTime.timeZone.id' => [
391 'location' => 'query',
392 'type' => 'string',
393 ],
394 'interval.endTime.timeZone.version' => [
395 'location' => 'query',
396 'type' => 'string',
397 ],
398 'interval.endTime.utcOffset' => [
399 'location' => 'query',
400 'type' => 'string',
401 ],
402 'interval.endTime.year' => [
403 'location' => 'query',
404 'type' => 'integer',
405 ],
406 'interval.startTime.day' => [
407 'location' => 'query',
408 'type' => 'integer',
409 ],
410 'interval.startTime.hours' => [
411 'location' => 'query',
412 'type' => 'integer',
413 ],
414 'interval.startTime.minutes' => [
415 'location' => 'query',
416 'type' => 'integer',
417 ],
418 'interval.startTime.month' => [
419 'location' => 'query',
420 'type' => 'integer',
421 ],
422 'interval.startTime.nanos' => [
423 'location' => 'query',
424 'type' => 'integer',
425 ],
426 'interval.startTime.seconds' => [
427 'location' => 'query',
428 'type' => 'integer',
429 ],
430 'interval.startTime.timeZone.id' => [
431 'location' => 'query',
432 'type' => 'string',
433 ],
434 'interval.startTime.timeZone.version' => [
435 'location' => 'query',
436 'type' => 'string',
437 ],
438 'interval.startTime.utcOffset' => [
439 'location' => 'query',
440 'type' => 'string',
441 ],
442 'interval.startTime.year' => [
443 'location' => 'query',
444 'type' => 'integer',
445 ],
446 'pageSize' => [
447 'location' => 'query',
448 'type' => 'integer',
449 ],
450 'pageToken' => [
451 'location' => 'query',
452 'type' => 'string',
453 ],
454 ],
455 ],
456 ]
457 ]
458 );
459 $this->vitals_excessivewakeuprate = new Playdeveloperreporting\Resource\VitalsExcessivewakeuprate(
460 $this,
461 $this->serviceName,
462 'excessivewakeuprate',
463 [
464 'methods' => [
465 'get' => [
466 'path' => 'v1beta1/{+name}',
467 'httpMethod' => 'GET',
468 'parameters' => [
469 'name' => [
470 'location' => 'path',
471 'type' => 'string',
472 'required' => true,
473 ],
474 ],
475 ],'query' => [
476 'path' => 'v1beta1/{+name}:query',
477 'httpMethod' => 'POST',
478 'parameters' => [
479 'name' => [
480 'location' => 'path',
481 'type' => 'string',
482 'required' => true,
483 ],
484 ],
485 ],
486 ]
487 ]
488 );
489 $this->vitals_slowrenderingrate = new Playdeveloperreporting\Resource\VitalsSlowrenderingrate(
490 $this,
491 $this->serviceName,
492 'slowrenderingrate',
493 [
494 'methods' => [
495 'get' => [
496 'path' => 'v1beta1/{+name}',
497 'httpMethod' => 'GET',
498 'parameters' => [
499 'name' => [
500 'location' => 'path',
501 'type' => 'string',
502 'required' => true,
503 ],
504 ],
505 ],'query' => [
506 'path' => 'v1beta1/{+name}:query',
507 'httpMethod' => 'POST',
508 'parameters' => [
509 'name' => [
510 'location' => 'path',
511 'type' => 'string',
512 'required' => true,
513 ],
514 ],
515 ],
516 ]
517 ]
518 );
519 $this->vitals_slowstartrate = new Playdeveloperreporting\Resource\VitalsSlowstartrate(
520 $this,
521 $this->serviceName,
522 'slowstartrate',
523 [
524 'methods' => [
525 'get' => [
526 'path' => 'v1beta1/{+name}',
527 'httpMethod' => 'GET',
528 'parameters' => [
529 'name' => [
530 'location' => 'path',
531 'type' => 'string',
532 'required' => true,
533 ],
534 ],
535 ],'query' => [
536 'path' => 'v1beta1/{+name}:query',
537 'httpMethod' => 'POST',
538 'parameters' => [
539 'name' => [
540 'location' => 'path',
541 'type' => 'string',
542 'required' => true,
543 ],
544 ],
545 ],
546 ]
547 ]
548 );
549 $this->vitals_stuckbackgroundwakelockrate = new Playdeveloperreporting\Resource\VitalsStuckbackgroundwakelockrate(
550 $this,
551 $this->serviceName,
552 'stuckbackgroundwakelockrate',
553 [
554 'methods' => [
555 'get' => [
556 'path' => 'v1beta1/{+name}',
557 'httpMethod' => 'GET',
558 'parameters' => [
559 'name' => [
560 'location' => 'path',
561 'type' => 'string',
562 'required' => true,
563 ],
564 ],
565 ],'query' => [
566 'path' => 'v1beta1/{+name}:query',
567 'httpMethod' => 'POST',
568 'parameters' => [
569 'name' => [
570 'location' => 'path',
571 'type' => 'string',
572 'required' => true,
573 ],
574 ],
575 ],
576 ]
577 ]
578 );
579 }
580}
581
582// Adding a class alias for backwards compatibility with the previous class name.
583class_alias(Playdeveloperreporting::class, 'Google_Service_Playdeveloperreporting');
Note: See TracBrowser for help on using the repository browser.