PluginProbe
WP-Stateless – Google Cloud Storage / 2.2.1
WP-Stateless – Google Cloud Storage v2.2.1
4.4.3 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.3.0 2.3.1 2.3.2 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.2.0 3.2.1 3.2.2 All 62 releases
wp-stateless / lib / Google / src / Google / Service / Storage.php

Storage.php in WP-Stateless – Google Cloud Storage 2.2.1, at lib/Google/src/Google/Service/Storage.php

1,430 lines 48.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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
18 /**
19 * Service definition for Storage (v1).
20 *
21 * <p>
22 * Stores and retrieves potentially large, immutable data objects.</p>
23 *
24 * <p>
25 * For more information about this service, see the API
26 * <a href="https://developers.google.com/storage/docs/json_api/" target="_blank">Documentation</a>
27 * </p>
28 *
29 * @author Google, Inc.
30 */
31 namespace wpCloud\StatelessMedia\Google_Client;
32
33 class Google_Service_Storage extends Google_Service
34 {
35 /** View and manage your data across Google Cloud Platform services. */
36 const CLOUD_PLATFORM =
37 "https://www.googleapis.com/auth/cloud-platform";
38 /** View your data across Google Cloud Platform services. */
39 const CLOUD_PLATFORM_READ_ONLY =
40 "https://www.googleapis.com/auth/cloud-platform.read-only";
41 /** Manage your data and permissions in Google Cloud Storage. */
42 const DEVSTORAGE_FULL_CONTROL =
43 "https://www.googleapis.com/auth/devstorage.full_control";
44 /** View your data in Google Cloud Storage. */
45 const DEVSTORAGE_READ_ONLY =
46 "https://www.googleapis.com/auth/devstorage.read_only";
47 /** Manage your data in Google Cloud Storage. */
48 const DEVSTORAGE_READ_WRITE =
49 "https://www.googleapis.com/auth/devstorage.read_write";
50
51 public $bucketAccessControls;
52 public $buckets;
53 public $channels;
54 public $defaultObjectAccessControls;
55 public $notifications;
56 public $objectAccessControls;
57 public $objects;
58 public $projects_serviceAccount;
59
60 /**
61 * Constructs the internal representation of the Storage service.
62 *
63 * @param Google_Client $client
64 */
65 public function __construct(Google_Client $client)
66 {
67 parent::__construct($client);
68 $this->rootUrl = 'https://www.googleapis.com/';
69 $this->servicePath = 'storage/v1/';
70 $this->version = 'v1';
71 $this->serviceName = 'storage';
72
73 $this->bucketAccessControls = new Google_Service_Storage_Resource_BucketAccessControls(
74 $this,
75 $this->serviceName,
76 'bucketAccessControls',
77 array(
78 'methods' => array(
79 'delete' => array(
80 'path' => 'b/{bucket}/acl/{entity}',
81 'httpMethod' => 'DELETE',
82 'parameters' => array(
83 'bucket' => array(
84 'location' => 'path',
85 'type' => 'string',
86 'required' => true,
87 ),
88 'entity' => array(
89 'location' => 'path',
90 'type' => 'string',
91 'required' => true,
92 ),
93 'userProject' => array(
94 'location' => 'query',
95 'type' => 'string',
96 ),
97 ),
98 ),'get' => array(
99 'path' => 'b/{bucket}/acl/{entity}',
100 'httpMethod' => 'GET',
101 'parameters' => array(
102 'bucket' => array(
103 'location' => 'path',
104 'type' => 'string',
105 'required' => true,
106 ),
107 'entity' => array(
108 'location' => 'path',
109 'type' => 'string',
110 'required' => true,
111 ),
112 'userProject' => array(
113 'location' => 'query',
114 'type' => 'string',
115 ),
116 ),
117 ),'insert' => array(
118 'path' => 'b/{bucket}/acl',
119 'httpMethod' => 'POST',
120 'parameters' => array(
121 'bucket' => array(
122 'location' => 'path',
123 'type' => 'string',
124 'required' => true,
125 ),
126 'userProject' => array(
127 'location' => 'query',
128 'type' => 'string',
129 ),
130 ),
131 ),'list' => array(
132 'path' => 'b/{bucket}/acl',
133 'httpMethod' => 'GET',
134 'parameters' => array(
135 'bucket' => array(
136 'location' => 'path',
137 'type' => 'string',
138 'required' => true,
139 ),
140 'userProject' => array(
141 'location' => 'query',
142 'type' => 'string',
143 ),
144 ),
145 ),'patch' => array(
146 'path' => 'b/{bucket}/acl/{entity}',
147 'httpMethod' => 'PATCH',
148 'parameters' => array(
149 'bucket' => array(
150 'location' => 'path',
151 'type' => 'string',
152 'required' => true,
153 ),
154 'entity' => array(
155 'location' => 'path',
156 'type' => 'string',
157 'required' => true,
158 ),
159 'userProject' => array(
160 'location' => 'query',
161 'type' => 'string',
162 ),
163 ),
164 ),'update' => array(
165 'path' => 'b/{bucket}/acl/{entity}',
166 'httpMethod' => 'PUT',
167 'parameters' => array(
168 'bucket' => array(
169 'location' => 'path',
170 'type' => 'string',
171 'required' => true,
172 ),
173 'entity' => array(
174 'location' => 'path',
175 'type' => 'string',
176 'required' => true,
177 ),
178 'userProject' => array(
179 'location' => 'query',
180 'type' => 'string',
181 ),
182 ),
183 ),
184 )
185 )
186 );
187 $this->buckets = new Google_Service_Storage_Resource_Buckets(
188 $this,
189 $this->serviceName,
190 'buckets',
191 array(
192 'methods' => array(
193 'delete' => array(
194 'path' => 'b/{bucket}',
195 'httpMethod' => 'DELETE',
196 'parameters' => array(
197 'bucket' => array(
198 'location' => 'path',
199 'type' => 'string',
200 'required' => true,
201 ),
202 'ifMetagenerationMatch' => array(
203 'location' => 'query',
204 'type' => 'string',
205 ),
206 'ifMetagenerationNotMatch' => array(
207 'location' => 'query',
208 'type' => 'string',
209 ),
210 'userProject' => array(
211 'location' => 'query',
212 'type' => 'string',
213 ),
214 ),
215 ),'get' => array(
216 'path' => 'b/{bucket}',
217 'httpMethod' => 'GET',
218 'parameters' => array(
219 'bucket' => array(
220 'location' => 'path',
221 'type' => 'string',
222 'required' => true,
223 ),
224 'ifMetagenerationMatch' => array(
225 'location' => 'query',
226 'type' => 'string',
227 ),
228 'ifMetagenerationNotMatch' => array(
229 'location' => 'query',
230 'type' => 'string',
231 ),
232 'projection' => array(
233 'location' => 'query',
234 'type' => 'string',
235 ),
236 'userProject' => array(
237 'location' => 'query',
238 'type' => 'string',
239 ),
240 ),
241 ),'getIamPolicy' => array(
242 'path' => 'b/{bucket}/iam',
243 'httpMethod' => 'GET',
244 'parameters' => array(
245 'bucket' => array(
246 'location' => 'path',
247 'type' => 'string',
248 'required' => true,
249 ),
250 'userProject' => array(
251 'location' => 'query',
252 'type' => 'string',
253 ),
254 ),
255 ),'insert' => array(
256 'path' => 'b',
257 'httpMethod' => 'POST',
258 'parameters' => array(
259 'project' => array(
260 'location' => 'query',
261 'type' => 'string',
262 'required' => true,
263 ),
264 'predefinedAcl' => array(
265 'location' => 'query',
266 'type' => 'string',
267 ),
268 'predefinedDefaultObjectAcl' => array(
269 'location' => 'query',
270 'type' => 'string',
271 ),
272 'projection' => array(
273 'location' => 'query',
274 'type' => 'string',
275 ),
276 'userProject' => array(
277 'location' => 'query',
278 'type' => 'string',
279 ),
280 ),
281 ),'list' => array(
282 'path' => 'b',
283 'httpMethod' => 'GET',
284 'parameters' => array(
285 'project' => array(
286 'location' => 'query',
287 'type' => 'string',
288 'required' => true,
289 ),
290 'maxResults' => array(
291 'location' => 'query',
292 'type' => 'integer',
293 ),
294 'pageToken' => array(
295 'location' => 'query',
296 'type' => 'string',
297 ),
298 'prefix' => array(
299 'location' => 'query',
300 'type' => 'string',
301 ),
302 'projection' => array(
303 'location' => 'query',
304 'type' => 'string',
305 ),
306 'userProject' => array(
307 'location' => 'query',
308 'type' => 'string',
309 ),
310 ),
311 ),'lockRetentionPolicy' => array(
312 'path' => 'b/{bucket}/lockRetentionPolicy',
313 'httpMethod' => 'POST',
314 'parameters' => array(
315 'bucket' => array(
316 'location' => 'path',
317 'type' => 'string',
318 'required' => true,
319 ),
320 'ifMetagenerationMatch' => array(
321 'location' => 'query',
322 'type' => 'string',
323 'required' => true,
324 ),
325 'userProject' => array(
326 'location' => 'query',
327 'type' => 'string',
328 ),
329 ),
330 ),'patch' => array(
331 'path' => 'b/{bucket}',
332 'httpMethod' => 'PATCH',
333 'parameters' => array(
334 'bucket' => array(
335 'location' => 'path',
336 'type' => 'string',
337 'required' => true,
338 ),
339 'ifMetagenerationMatch' => array(
340 'location' => 'query',
341 'type' => 'string',
342 ),
343 'ifMetagenerationNotMatch' => array(
344 'location' => 'query',
345 'type' => 'string',
346 ),
347 'predefinedAcl' => array(
348 'location' => 'query',
349 'type' => 'string',
350 ),
351 'predefinedDefaultObjectAcl' => array(
352 'location' => 'query',
353 'type' => 'string',
354 ),
355 'projection' => array(
356 'location' => 'query',
357 'type' => 'string',
358 ),
359 'userProject' => array(
360 'location' => 'query',
361 'type' => 'string',
362 ),
363 ),
364 ),'setIamPolicy' => array(
365 'path' => 'b/{bucket}/iam',
366 'httpMethod' => 'PUT',
367 'parameters' => array(
368 'bucket' => array(
369 'location' => 'path',
370 'type' => 'string',
371 'required' => true,
372 ),
373 'userProject' => array(
374 'location' => 'query',
375 'type' => 'string',
376 ),
377 ),
378 ),'testIamPermissions' => array(
379 'path' => 'b/{bucket}/iam/testPermissions',
380 'httpMethod' => 'GET',
381 'parameters' => array(
382 'bucket' => array(
383 'location' => 'path',
384 'type' => 'string',
385 'required' => true,
386 ),
387 'permissions' => array(
388 'location' => 'query',
389 'type' => 'string',
390 'repeated' => true,
391 'required' => true,
392 ),
393 'userProject' => array(
394 'location' => 'query',
395 'type' => 'string',
396 ),
397 ),
398 ),'update' => array(
399 'path' => 'b/{bucket}',
400 'httpMethod' => 'PUT',
401 'parameters' => array(
402 'bucket' => array(
403 'location' => 'path',
404 'type' => 'string',
405 'required' => true,
406 ),
407 'ifMetagenerationMatch' => array(
408 'location' => 'query',
409 'type' => 'string',
410 ),
411 'ifMetagenerationNotMatch' => array(
412 'location' => 'query',
413 'type' => 'string',
414 ),
415 'predefinedAcl' => array(
416 'location' => 'query',
417 'type' => 'string',
418 ),
419 'predefinedDefaultObjectAcl' => array(
420 'location' => 'query',
421 'type' => 'string',
422 ),
423 'projection' => array(
424 'location' => 'query',
425 'type' => 'string',
426 ),
427 'userProject' => array(
428 'location' => 'query',
429 'type' => 'string',
430 ),
431 ),
432 ),
433 )
434 )
435 );
436 $this->channels = new Google_Service_Storage_Resource_Channels(
437 $this,
438 $this->serviceName,
439 'channels',
440 array(
441 'methods' => array(
442 'stop' => array(
443 'path' => 'channels/stop',
444 'httpMethod' => 'POST',
445 'parameters' => array(),
446 ),
447 )
448 )
449 );
450 $this->defaultObjectAccessControls = new Google_Service_Storage_Resource_DefaultObjectAccessControls(
451 $this,
452 $this->serviceName,
453 'defaultObjectAccessControls',
454 array(
455 'methods' => array(
456 'delete' => array(
457 'path' => 'b/{bucket}/defaultObjectAcl/{entity}',
458 'httpMethod' => 'DELETE',
459 'parameters' => array(
460 'bucket' => array(
461 'location' => 'path',
462 'type' => 'string',
463 'required' => true,
464 ),
465 'entity' => array(
466 'location' => 'path',
467 'type' => 'string',
468 'required' => true,
469 ),
470 'userProject' => array(
471 'location' => 'query',
472 'type' => 'string',
473 ),
474 ),
475 ),'get' => array(
476 'path' => 'b/{bucket}/defaultObjectAcl/{entity}',
477 'httpMethod' => 'GET',
478 'parameters' => array(
479 'bucket' => array(
480 'location' => 'path',
481 'type' => 'string',
482 'required' => true,
483 ),
484 'entity' => array(
485 'location' => 'path',
486 'type' => 'string',
487 'required' => true,
488 ),
489 'userProject' => array(
490 'location' => 'query',
491 'type' => 'string',
492 ),
493 ),
494 ),'insert' => array(
495 'path' => 'b/{bucket}/defaultObjectAcl',
496 'httpMethod' => 'POST',
497 'parameters' => array(
498 'bucket' => array(
499 'location' => 'path',
500 'type' => 'string',
501 'required' => true,
502 ),
503 'userProject' => array(
504 'location' => 'query',
505 'type' => 'string',
506 ),
507 ),
508 ),'list' => array(
509 'path' => 'b/{bucket}/defaultObjectAcl',
510 'httpMethod' => 'GET',
511 'parameters' => array(
512 'bucket' => array(
513 'location' => 'path',
514 'type' => 'string',
515 'required' => true,
516 ),
517 'ifMetagenerationMatch' => array(
518 'location' => 'query',
519 'type' => 'string',
520 ),
521 'ifMetagenerationNotMatch' => array(
522 'location' => 'query',
523 'type' => 'string',
524 ),
525 'userProject' => array(
526 'location' => 'query',
527 'type' => 'string',
528 ),
529 ),
530 ),'patch' => array(
531 'path' => 'b/{bucket}/defaultObjectAcl/{entity}',
532 'httpMethod' => 'PATCH',
533 'parameters' => array(
534 'bucket' => array(
535 'location' => 'path',
536 'type' => 'string',
537 'required' => true,
538 ),
539 'entity' => array(
540 'location' => 'path',
541 'type' => 'string',
542 'required' => true,
543 ),
544 'userProject' => array(
545 'location' => 'query',
546 'type' => 'string',
547 ),
548 ),
549 ),'update' => array(
550 'path' => 'b/{bucket}/defaultObjectAcl/{entity}',
551 'httpMethod' => 'PUT',
552 'parameters' => array(
553 'bucket' => array(
554 'location' => 'path',
555 'type' => 'string',
556 'required' => true,
557 ),
558 'entity' => array(
559 'location' => 'path',
560 'type' => 'string',
561 'required' => true,
562 ),
563 'userProject' => array(
564 'location' => 'query',
565 'type' => 'string',
566 ),
567 ),
568 ),
569 )
570 )
571 );
572 $this->notifications = new Google_Service_Storage_Resource_Notifications(
573 $this,
574 $this->serviceName,
575 'notifications',
576 array(
577 'methods' => array(
578 'delete' => array(
579 'path' => 'b/{bucket}/notificationConfigs/{notification}',
580 'httpMethod' => 'DELETE',
581 'parameters' => array(
582 'bucket' => array(
583 'location' => 'path',
584 'type' => 'string',
585 'required' => true,
586 ),
587 'notification' => array(
588 'location' => 'path',
589 'type' => 'string',
590 'required' => true,
591 ),
592 'userProject' => array(
593 'location' => 'query',
594 'type' => 'string',
595 ),
596 ),
597 ),'get' => array(
598 'path' => 'b/{bucket}/notificationConfigs/{notification}',
599 'httpMethod' => 'GET',
600 'parameters' => array(
601 'bucket' => array(
602 'location' => 'path',
603 'type' => 'string',
604 'required' => true,
605 ),
606 'notification' => array(
607 'location' => 'path',
608 'type' => 'string',
609 'required' => true,
610 ),
611 'userProject' => array(
612 'location' => 'query',
613 'type' => 'string',
614 ),
615 ),
616 ),'insert' => array(
617 'path' => 'b/{bucket}/notificationConfigs',
618 'httpMethod' => 'POST',
619 'parameters' => array(
620 'bucket' => array(
621 'location' => 'path',
622 'type' => 'string',
623 'required' => true,
624 ),
625 'userProject' => array(
626 'location' => 'query',
627 'type' => 'string',
628 ),
629 ),
630 ),'list' => array(
631 'path' => 'b/{bucket}/notificationConfigs',
632 'httpMethod' => 'GET',
633 'parameters' => array(
634 'bucket' => array(
635 'location' => 'path',
636 'type' => 'string',
637 'required' => true,
638 ),
639 'userProject' => array(
640 'location' => 'query',
641 'type' => 'string',
642 ),
643 ),
644 ),
645 )
646 )
647 );
648 $this->objectAccessControls = new Google_Service_Storage_Resource_ObjectAccessControls(
649 $this,
650 $this->serviceName,
651 'objectAccessControls',
652 array(
653 'methods' => array(
654 'delete' => array(
655 'path' => 'b/{bucket}/o/{object}/acl/{entity}',
656 'httpMethod' => 'DELETE',
657 'parameters' => array(
658 'bucket' => array(
659 'location' => 'path',
660 'type' => 'string',
661 'required' => true,
662 ),
663 'object' => array(
664 'location' => 'path',
665 'type' => 'string',
666 'required' => true,
667 ),
668 'entity' => array(
669 'location' => 'path',
670 'type' => 'string',
671 'required' => true,
672 ),
673 'generation' => array(
674 'location' => 'query',
675 'type' => 'string',
676 ),
677 'userProject' => array(
678 'location' => 'query',
679 'type' => 'string',
680 ),
681 ),
682 ),'get' => array(
683 'path' => 'b/{bucket}/o/{object}/acl/{entity}',
684 'httpMethod' => 'GET',
685 'parameters' => array(
686 'bucket' => array(
687 'location' => 'path',
688 'type' => 'string',
689 'required' => true,
690 ),
691 'object' => array(
692 'location' => 'path',
693 'type' => 'string',
694 'required' => true,
695 ),
696 'entity' => array(
697 'location' => 'path',
698 'type' => 'string',
699 'required' => true,
700 ),
701 'generation' => array(
702 'location' => 'query',
703 'type' => 'string',
704 ),
705 'userProject' => array(
706 'location' => 'query',
707 'type' => 'string',
708 ),
709 ),
710 ),'insert' => array(
711 'path' => 'b/{bucket}/o/{object}/acl',
712 'httpMethod' => 'POST',
713 'parameters' => array(
714 'bucket' => array(
715 'location' => 'path',
716 'type' => 'string',
717 'required' => true,
718 ),
719 'object' => array(
720 'location' => 'path',
721 'type' => 'string',
722 'required' => true,
723 ),
724 'generation' => array(
725 'location' => 'query',
726 'type' => 'string',
727 ),
728 'userProject' => array(
729 'location' => 'query',
730 'type' => 'string',
731 ),
732 ),
733 ),'list' => array(
734 'path' => 'b/{bucket}/o/{object}/acl',
735 'httpMethod' => 'GET',
736 'parameters' => array(
737 'bucket' => array(
738 'location' => 'path',
739 'type' => 'string',
740 'required' => true,
741 ),
742 'object' => array(
743 'location' => 'path',
744 'type' => 'string',
745 'required' => true,
746 ),
747 'generation' => array(
748 'location' => 'query',
749 'type' => 'string',
750 ),
751 'userProject' => array(
752 'location' => 'query',
753 'type' => 'string',
754 ),
755 ),
756 ),'patch' => array(
757 'path' => 'b/{bucket}/o/{object}/acl/{entity}',
758 'httpMethod' => 'PATCH',
759 'parameters' => array(
760 'bucket' => array(
761 'location' => 'path',
762 'type' => 'string',
763 'required' => true,
764 ),
765 'object' => array(
766 'location' => 'path',
767 'type' => 'string',
768 'required' => true,
769 ),
770 'entity' => array(
771 'location' => 'path',
772 'type' => 'string',
773 'required' => true,
774 ),
775 'generation' => array(
776 'location' => 'query',
777 'type' => 'string',
778 ),
779 'userProject' => array(
780 'location' => 'query',
781 'type' => 'string',
782 ),
783 ),
784 ),'update' => array(
785 'path' => 'b/{bucket}/o/{object}/acl/{entity}',
786 'httpMethod' => 'PUT',
787 'parameters' => array(
788 'bucket' => array(
789 'location' => 'path',
790 'type' => 'string',
791 'required' => true,
792 ),
793 'object' => array(
794 'location' => 'path',
795 'type' => 'string',
796 'required' => true,
797 ),
798 'entity' => array(
799 'location' => 'path',
800 'type' => 'string',
801 'required' => true,
802 ),
803 'generation' => array(
804 'location' => 'query',
805 'type' => 'string',
806 ),
807 'userProject' => array(
808 'location' => 'query',
809 'type' => 'string',
810 ),
811 ),
812 ),
813 )
814 )
815 );
816 $this->objects = new Google_Service_Storage_Resource_Objects(
817 $this,
818 $this->serviceName,
819 'objects',
820 array(
821 'methods' => array(
822 'compose' => array(
823 'path' => 'b/{destinationBucket}/o/{destinationObject}/compose',
824 'httpMethod' => 'POST',
825 'parameters' => array(
826 'destinationBucket' => array(
827 'location' => 'path',
828 'type' => 'string',
829 'required' => true,
830 ),
831 'destinationObject' => array(
832 'location' => 'path',
833 'type' => 'string',
834 'required' => true,
835 ),
836 'destinationPredefinedAcl' => array(
837 'location' => 'query',
838 'type' => 'string',
839 ),
840 'ifGenerationMatch' => array(
841 'location' => 'query',
842 'type' => 'string',
843 ),
844 'ifMetagenerationMatch' => array(
845 'location' => 'query',
846 'type' => 'string',
847 ),
848 'kmsKeyName' => array(
849 'location' => 'query',
850 'type' => 'string',
851 ),
852 'userProject' => array(
853 'location' => 'query',
854 'type' => 'string',
855 ),
856 ),
857 ),'copy' => array(
858 'path' => 'b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}',
859 'httpMethod' => 'POST',
860 'parameters' => array(
861 'sourceBucket' => array(
862 'location' => 'path',
863 'type' => 'string',
864 'required' => true,
865 ),
866 'sourceObject' => array(
867 'location' => 'path',
868 'type' => 'string',
869 'required' => true,
870 ),
871 'destinationBucket' => array(
872 'location' => 'path',
873 'type' => 'string',
874 'required' => true,
875 ),
876 'destinationObject' => array(
877 'location' => 'path',
878 'type' => 'string',
879 'required' => true,
880 ),
881 'destinationPredefinedAcl' => array(
882 'location' => 'query',
883 'type' => 'string',
884 ),
885 'ifGenerationMatch' => array(
886 'location' => 'query',
887 'type' => 'string',
888 ),
889 'ifGenerationNotMatch' => array(
890 'location' => 'query',
891 'type' => 'string',
892 ),
893 'ifMetagenerationMatch' => array(
894 'location' => 'query',
895 'type' => 'string',
896 ),
897 'ifMetagenerationNotMatch' => array(
898 'location' => 'query',
899 'type' => 'string',
900 ),
901 'ifSourceGenerationMatch' => array(
902 'location' => 'query',
903 'type' => 'string',
904 ),
905 'ifSourceGenerationNotMatch' => array(
906 'location' => 'query',
907 'type' => 'string',
908 ),
909 'ifSourceMetagenerationMatch' => array(
910 'location' => 'query',
911 'type' => 'string',
912 ),
913 'ifSourceMetagenerationNotMatch' => array(
914 'location' => 'query',
915 'type' => 'string',
916 ),
917 'projection' => array(
918 'location' => 'query',
919 'type' => 'string',
920 ),
921 'sourceGeneration' => array(
922 'location' => 'query',
923 'type' => 'string',
924 ),
925 'userProject' => array(
926 'location' => 'query',
927 'type' => 'string',
928 ),
929 ),
930 ),'delete' => array(
931 'path' => 'b/{bucket}/o/{object}',
932 'httpMethod' => 'DELETE',
933 'parameters' => array(
934 'bucket' => array(
935 'location' => 'path',
936 'type' => 'string',
937 'required' => true,
938 ),
939 'object' => array(
940 'location' => 'path',
941 'type' => 'string',
942 'required' => true,
943 ),
944 'generation' => array(
945 'location' => 'query',
946 'type' => 'string',
947 ),
948 'ifGenerationMatch' => array(
949 'location' => 'query',
950 'type' => 'string',
951 ),
952 'ifGenerationNotMatch' => array(
953 'location' => 'query',
954 'type' => 'string',
955 ),
956 'ifMetagenerationMatch' => array(
957 'location' => 'query',
958 'type' => 'string',
959 ),
960 'ifMetagenerationNotMatch' => array(
961 'location' => 'query',
962 'type' => 'string',
963 ),
964 'userProject' => array(
965 'location' => 'query',
966 'type' => 'string',
967 ),
968 ),
969 ),'get' => array(
970 'path' => 'b/{bucket}/o/{object}',
971 'httpMethod' => 'GET',
972 'parameters' => array(
973 'bucket' => array(
974 'location' => 'path',
975 'type' => 'string',
976 'required' => true,
977 ),
978 'object' => array(
979 'location' => 'path',
980 'type' => 'string',
981 'required' => true,
982 ),
983 'generation' => array(
984 'location' => 'query',
985 'type' => 'string',
986 ),
987 'ifGenerationMatch' => array(
988 'location' => 'query',
989 'type' => 'string',
990 ),
991 'ifGenerationNotMatch' => array(
992 'location' => 'query',
993 'type' => 'string',
994 ),
995 'ifMetagenerationMatch' => array(
996 'location' => 'query',
997 'type' => 'string',
998 ),
999 'ifMetagenerationNotMatch' => array(
1000 'location' => 'query',
1001 'type' => 'string',
1002 ),
1003 'projection' => array(
1004 'location' => 'query',
1005 'type' => 'string',
1006 ),
1007 'userProject' => array(
1008 'location' => 'query',
1009 'type' => 'string',
1010 ),
1011 ),
1012 ),'getIamPolicy' => array(
1013 'path' => 'b/{bucket}/o/{object}/iam',
1014 'httpMethod' => 'GET',
1015 'parameters' => array(
1016 'bucket' => array(
1017 'location' => 'path',
1018 'type' => 'string',
1019 'required' => true,
1020 ),
1021 'object' => array(
1022 'location' => 'path',
1023 'type' => 'string',
1024 'required' => true,
1025 ),
1026 'generation' => array(
1027 'location' => 'query',
1028 'type' => 'string',
1029 ),
1030 'userProject' => array(
1031 'location' => 'query',
1032 'type' => 'string',
1033 ),
1034 ),
1035 ),'insert' => array(
1036 'path' => 'b/{bucket}/o',
1037 'httpMethod' => 'POST',
1038 'parameters' => array(
1039 'bucket' => array(
1040 'location' => 'path',
1041 'type' => 'string',
1042 'required' => true,
1043 ),
1044 'contentEncoding' => array(
1045 'location' => 'query',
1046 'type' => 'string',
1047 ),
1048 'ifGenerationMatch' => array(
1049 'location' => 'query',
1050 'type' => 'string',
1051 ),
1052 'ifGenerationNotMatch' => array(
1053 'location' => 'query',
1054 'type' => 'string',
1055 ),
1056 'ifMetagenerationMatch' => array(
1057 'location' => 'query',
1058 'type' => 'string',
1059 ),
1060 'ifMetagenerationNotMatch' => array(
1061 'location' => 'query',
1062 'type' => 'string',
1063 ),
1064 'kmsKeyName' => array(
1065 'location' => 'query',
1066 'type' => 'string',
1067 ),
1068 'name' => array(
1069 'location' => 'query',
1070 'type' => 'string',
1071 ),
1072 'predefinedAcl' => array(
1073 'location' => 'query',
1074 'type' => 'string',
1075 ),
1076 'projection' => array(
1077 'location' => 'query',
1078 'type' => 'string',
1079 ),
1080 'userProject' => array(
1081 'location' => 'query',
1082 'type' => 'string',
1083 ),
1084 ),
1085 ),'list' => array(
1086 'path' => 'b/{bucket}/o',
1087 'httpMethod' => 'GET',
1088 'parameters' => array(
1089 'bucket' => array(
1090 'location' => 'path',
1091 'type' => 'string',
1092 'required' => true,
1093 ),
1094 'delimiter' => array(
1095 'location' => 'query',
1096 'type' => 'string',
1097 ),
1098 'includeTrailingDelimiter' => array(
1099 'location' => 'query',
1100 'type' => 'boolean',
1101 ),
1102 'maxResults' => array(
1103 'location' => 'query',
1104 'type' => 'integer',
1105 ),
1106 'pageToken' => array(
1107 'location' => 'query',
1108 'type' => 'string',
1109 ),
1110 'prefix' => array(
1111 'location' => 'query',
1112 'type' => 'string',
1113 ),
1114 'projection' => array(
1115 'location' => 'query',
1116 'type' => 'string',
1117 ),
1118 'userProject' => array(
1119 'location' => 'query',
1120 'type' => 'string',
1121 ),
1122 'versions' => array(
1123 'location' => 'query',
1124 'type' => 'boolean',
1125 ),
1126 ),
1127 ),'patch' => array(
1128 'path' => 'b/{bucket}/o/{object}',
1129 'httpMethod' => 'PATCH',
1130 'parameters' => array(
1131 'bucket' => array(
1132 'location' => 'path',
1133 'type' => 'string',
1134 'required' => true,
1135 ),
1136 'object' => array(
1137 'location' => 'path',
1138 'type' => 'string',
1139 'required' => true,
1140 ),
1141 'generation' => array(
1142 'location' => 'query',
1143 'type' => 'string',
1144 ),
1145 'ifGenerationMatch' => array(
1146 'location' => 'query',
1147 'type' => 'string',
1148 ),
1149 'ifGenerationNotMatch' => array(
1150 'location' => 'query',
1151 'type' => 'string',
1152 ),
1153 'ifMetagenerationMatch' => array(
1154 'location' => 'query',
1155 'type' => 'string',
1156 ),
1157 'ifMetagenerationNotMatch' => array(
1158 'location' => 'query',
1159 'type' => 'string',
1160 ),
1161 'predefinedAcl' => array(
1162 'location' => 'query',
1163 'type' => 'string',
1164 ),
1165 'projection' => array(
1166 'location' => 'query',
1167 'type' => 'string',
1168 ),
1169 'userProject' => array(
1170 'location' => 'query',
1171 'type' => 'string',
1172 ),
1173 ),
1174 ),'rewrite' => array(
1175 'path' => 'b/{sourceBucket}/o/{sourceObject}/rewriteTo/b/{destinationBucket}/o/{destinationObject}',
1176 'httpMethod' => 'POST',
1177 'parameters' => array(
1178 'sourceBucket' => array(
1179 'location' => 'path',
1180 'type' => 'string',
1181 'required' => true,
1182 ),
1183 'sourceObject' => array(
1184 'location' => 'path',
1185 'type' => 'string',
1186 'required' => true,
1187 ),
1188 'destinationBucket' => array(
1189 'location' => 'path',
1190 'type' => 'string',
1191 'required' => true,
1192 ),
1193 'destinationObject' => array(
1194 'location' => 'path',
1195 'type' => 'string',
1196 'required' => true,
1197 ),
1198 'destinationKmsKeyName' => array(
1199 'location' => 'query',
1200 'type' => 'string',
1201 ),
1202 'destinationPredefinedAcl' => array(
1203 'location' => 'query',
1204 'type' => 'string',
1205 ),
1206 'ifGenerationMatch' => array(
1207 'location' => 'query',
1208 'type' => 'string',
1209 ),
1210 'ifGenerationNotMatch' => array(
1211 'location' => 'query',
1212 'type' => 'string',
1213 ),
1214 'ifMetagenerationMatch' => array(
1215 'location' => 'query',
1216 'type' => 'string',
1217 ),
1218 'ifMetagenerationNotMatch' => array(
1219 'location' => 'query',
1220 'type' => 'string',
1221 ),
1222 'ifSourceGenerationMatch' => array(
1223 'location' => 'query',
1224 'type' => 'string',
1225 ),
1226 'ifSourceGenerationNotMatch' => array(
1227 'location' => 'query',
1228 'type' => 'string',
1229 ),
1230 'ifSourceMetagenerationMatch' => array(
1231 'location' => 'query',
1232 'type' => 'string',
1233 ),
1234 'ifSourceMetagenerationNotMatch' => array(
1235 'location' => 'query',
1236 'type' => 'string',
1237 ),
1238 'maxBytesRewrittenPerCall' => array(
1239 'location' => 'query',
1240 'type' => 'string',
1241 ),
1242 'projection' => array(
1243 'location' => 'query',
1244 'type' => 'string',
1245 ),
1246 'rewriteToken' => array(
1247 'location' => 'query',
1248 'type' => 'string',
1249 ),
1250 'sourceGeneration' => array(
1251 'location' => 'query',
1252 'type' => 'string',
1253 ),
1254 'userProject' => array(
1255 'location' => 'query',
1256 'type' => 'string',
1257 ),
1258 ),
1259 ),'setIamPolicy' => array(
1260 'path' => 'b/{bucket}/o/{object}/iam',
1261 'httpMethod' => 'PUT',
1262 'parameters' => array(
1263 'bucket' => array(
1264 'location' => 'path',
1265 'type' => 'string',
1266 'required' => true,
1267 ),
1268 'object' => array(
1269 'location' => 'path',
1270 'type' => 'string',
1271 'required' => true,
1272 ),
1273 'generation' => array(
1274 'location' => 'query',
1275 'type' => 'string',
1276 ),
1277 'userProject' => array(
1278 'location' => 'query',
1279 'type' => 'string',
1280 ),
1281 ),
1282 ),'testIamPermissions' => array(
1283 'path' => 'b/{bucket}/o/{object}/iam/testPermissions',
1284 'httpMethod' => 'GET',
1285 'parameters' => array(
1286 'bucket' => array(
1287 'location' => 'path',
1288 'type' => 'string',
1289 'required' => true,
1290 ),
1291 'object' => array(
1292 'location' => 'path',
1293 'type' => 'string',
1294 'required' => true,
1295 ),
1296 'permissions' => array(
1297 'location' => 'query',
1298 'type' => 'string',
1299 'repeated' => true,
1300 'required' => true,
1301 ),
1302 'generation' => array(
1303 'location' => 'query',
1304 'type' => 'string',
1305 ),
1306 'userProject' => array(
1307 'location' => 'query',
1308 'type' => 'string',
1309 ),
1310 ),
1311 ),'update' => array(
1312 'path' => 'b/{bucket}/o/{object}',
1313 'httpMethod' => 'PUT',
1314 'parameters' => array(
1315 'bucket' => array(
1316 'location' => 'path',
1317 'type' => 'string',
1318 'required' => true,
1319 ),
1320 'object' => array(
1321 'location' => 'path',
1322 'type' => 'string',
1323 'required' => true,
1324 ),
1325 'generation' => array(
1326 'location' => 'query',
1327 'type' => 'string',
1328 ),
1329 'ifGenerationMatch' => array(
1330 'location' => 'query',
1331 'type' => 'string',
1332 ),
1333 'ifGenerationNotMatch' => array(
1334 'location' => 'query',
1335 'type' => 'string',
1336 ),
1337 'ifMetagenerationMatch' => array(
1338 'location' => 'query',
1339 'type' => 'string',
1340 ),
1341 'ifMetagenerationNotMatch' => array(
1342 'location' => 'query',
1343 'type' => 'string',
1344 ),
1345 'predefinedAcl' => array(
1346 'location' => 'query',
1347 'type' => 'string',
1348 ),
1349 'projection' => array(
1350 'location' => 'query',
1351 'type' => 'string',
1352 ),
1353 'userProject' => array(
1354 'location' => 'query',
1355 'type' => 'string',
1356 ),
1357 ),
1358 ),'watchAll' => array(
1359 'path' => 'b/{bucket}/o/watch',
1360 'httpMethod' => 'POST',
1361 'parameters' => array(
1362 'bucket' => array(
1363 'location' => 'path',
1364 'type' => 'string',
1365 'required' => true,
1366 ),
1367 'delimiter' => array(
1368 'location' => 'query',
1369 'type' => 'string',
1370 ),
1371 'includeTrailingDelimiter' => array(
1372 'location' => 'query',
1373 'type' => 'boolean',
1374 ),
1375 'maxResults' => array(
1376 'location' => 'query',
1377 'type' => 'integer',
1378 ),
1379 'pageToken' => array(
1380 'location' => 'query',
1381 'type' => 'string',
1382 ),
1383 'prefix' => array(
1384 'location' => 'query',
1385 'type' => 'string',
1386 ),
1387 'projection' => array(
1388 'location' => 'query',
1389 'type' => 'string',
1390 ),
1391 'userProject' => array(
1392 'location' => 'query',
1393 'type' => 'string',
1394 ),
1395 'versions' => array(
1396 'location' => 'query',
1397 'type' => 'boolean',
1398 ),
1399 ),
1400 ),
1401 )
1402 )
1403 );
1404 $this->projects_serviceAccount = new Google_Service_Storage_Resource_ProjectsServiceAccount(
1405 $this,
1406 $this->serviceName,
1407 'serviceAccount',
1408 array(
1409 'methods' => array(
1410 'get' => array(
1411 'path' => 'projects/{projectId}/serviceAccount',
1412 'httpMethod' => 'GET',
1413 'parameters' => array(
1414 'projectId' => array(
1415 'location' => 'path',
1416 'type' => 'string',
1417 'required' => true,
1418 ),
1419 'userProject' => array(
1420 'location' => 'query',
1421 'type' => 'string',
1422 ),
1423 ),
1424 ),
1425 )
1426 )
1427 );
1428 }
1429 }
1430