[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/google/Google/Service/ -> Storage.php (source)

   1  <?php
   2  /*
   3   * Copyright 2010 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   * Lets you store and retrieve potentially-large, immutable data objects.
  23   * </p>
  24   *
  25   * <p>
  26   * For more information about this service, see the API
  27   * <a href="https://developers.google.com/storage/docs/json_api/" target="_blank">Documentation</a>
  28   * </p>
  29   *
  30   * @author Google, Inc.
  31   */
  32  class Google_Service_Storage extends Google_Service
  33  {
  34    /** Manage your data and permissions in Google Cloud Storage. */
  35    const DEVSTORAGE_FULL_CONTROL = "https://www.googleapis.com/auth/devstorage.full_control";
  36    /** View your data in Google Cloud Storage. */
  37    const DEVSTORAGE_READ_ONLY = "https://www.googleapis.com/auth/devstorage.read_only";
  38    /** Manage your data in Google Cloud Storage. */
  39    const DEVSTORAGE_READ_WRITE = "https://www.googleapis.com/auth/devstorage.read_write";
  40  
  41    public $bucketAccessControls;
  42    public $buckets;
  43    public $channels;
  44    public $defaultObjectAccessControls;
  45    public $objectAccessControls;
  46    public $objects;
  47    
  48  
  49    /**
  50     * Constructs the internal representation of the Storage service.
  51     *
  52     * @param Google_Client $client
  53     */
  54    public function __construct(Google_Client $client)
  55    {
  56      parent::__construct($client);
  57      $this->servicePath = 'storage/v1/';
  58      $this->version = 'v1';
  59      $this->serviceName = 'storage';
  60  
  61      $this->bucketAccessControls = new Google_Service_Storage_BucketAccessControls_Resource(
  62          $this,
  63          $this->serviceName,
  64          'bucketAccessControls',
  65          array(
  66            'methods' => array(
  67              'delete' => array(
  68                'path' => 'b/{bucket}/acl/{entity}',
  69                'httpMethod' => 'DELETE',
  70                'parameters' => array(
  71                  'bucket' => array(
  72                    'location' => 'path',
  73                    'type' => 'string',
  74                    'required' => true,
  75                  ),
  76                  'entity' => array(
  77                    'location' => 'path',
  78                    'type' => 'string',
  79                    'required' => true,
  80                  ),
  81                ),
  82              ),'get' => array(
  83                'path' => 'b/{bucket}/acl/{entity}',
  84                'httpMethod' => 'GET',
  85                'parameters' => array(
  86                  'bucket' => array(
  87                    'location' => 'path',
  88                    'type' => 'string',
  89                    'required' => true,
  90                  ),
  91                  'entity' => array(
  92                    'location' => 'path',
  93                    'type' => 'string',
  94                    'required' => true,
  95                  ),
  96                ),
  97              ),'insert' => array(
  98                'path' => 'b/{bucket}/acl',
  99                'httpMethod' => 'POST',
 100                'parameters' => array(
 101                  'bucket' => array(
 102                    'location' => 'path',
 103                    'type' => 'string',
 104                    'required' => true,
 105                  ),
 106                ),
 107              ),'list' => array(
 108                'path' => 'b/{bucket}/acl',
 109                'httpMethod' => 'GET',
 110                'parameters' => array(
 111                  'bucket' => array(
 112                    'location' => 'path',
 113                    'type' => 'string',
 114                    'required' => true,
 115                  ),
 116                ),
 117              ),'patch' => array(
 118                'path' => 'b/{bucket}/acl/{entity}',
 119                'httpMethod' => 'PATCH',
 120                'parameters' => array(
 121                  'bucket' => array(
 122                    'location' => 'path',
 123                    'type' => 'string',
 124                    'required' => true,
 125                  ),
 126                  'entity' => array(
 127                    'location' => 'path',
 128                    'type' => 'string',
 129                    'required' => true,
 130                  ),
 131                ),
 132              ),'update' => array(
 133                'path' => 'b/{bucket}/acl/{entity}',
 134                'httpMethod' => 'PUT',
 135                'parameters' => array(
 136                  'bucket' => array(
 137                    'location' => 'path',
 138                    'type' => 'string',
 139                    'required' => true,
 140                  ),
 141                  'entity' => array(
 142                    'location' => 'path',
 143                    'type' => 'string',
 144                    'required' => true,
 145                  ),
 146                ),
 147              ),
 148            )
 149          )
 150      );
 151      $this->buckets = new Google_Service_Storage_Buckets_Resource(
 152          $this,
 153          $this->serviceName,
 154          'buckets',
 155          array(
 156            'methods' => array(
 157              'delete' => array(
 158                'path' => 'b/{bucket}',
 159                'httpMethod' => 'DELETE',
 160                'parameters' => array(
 161                  'bucket' => array(
 162                    'location' => 'path',
 163                    'type' => 'string',
 164                    'required' => true,
 165                  ),
 166                  'ifMetagenerationMatch' => array(
 167                    'location' => 'query',
 168                    'type' => 'string',
 169                  ),
 170                  'ifMetagenerationNotMatch' => array(
 171                    'location' => 'query',
 172                    'type' => 'string',
 173                  ),
 174                ),
 175              ),'get' => array(
 176                'path' => 'b/{bucket}',
 177                'httpMethod' => 'GET',
 178                'parameters' => array(
 179                  'bucket' => array(
 180                    'location' => 'path',
 181                    'type' => 'string',
 182                    'required' => true,
 183                  ),
 184                  'ifMetagenerationMatch' => array(
 185                    'location' => 'query',
 186                    'type' => 'string',
 187                  ),
 188                  'ifMetagenerationNotMatch' => array(
 189                    'location' => 'query',
 190                    'type' => 'string',
 191                  ),
 192                  'projection' => array(
 193                    'location' => 'query',
 194                    'type' => 'string',
 195                  ),
 196                ),
 197              ),'insert' => array(
 198                'path' => 'b',
 199                'httpMethod' => 'POST',
 200                'parameters' => array(
 201                  'project' => array(
 202                    'location' => 'query',
 203                    'type' => 'string',
 204                    'required' => true,
 205                  ),
 206                  'predefinedAcl' => array(
 207                    'location' => 'query',
 208                    'type' => 'string',
 209                  ),
 210                  'projection' => array(
 211                    'location' => 'query',
 212                    'type' => 'string',
 213                  ),
 214                ),
 215              ),'list' => array(
 216                'path' => 'b',
 217                'httpMethod' => 'GET',
 218                'parameters' => array(
 219                  'project' => array(
 220                    'location' => 'query',
 221                    'type' => 'string',
 222                    'required' => true,
 223                  ),
 224                  'pageToken' => array(
 225                    'location' => 'query',
 226                    'type' => 'string',
 227                  ),
 228                  'projection' => array(
 229                    'location' => 'query',
 230                    'type' => 'string',
 231                  ),
 232                  'maxResults' => array(
 233                    'location' => 'query',
 234                    'type' => 'integer',
 235                  ),
 236                ),
 237              ),'patch' => array(
 238                'path' => 'b/{bucket}',
 239                'httpMethod' => 'PATCH',
 240                'parameters' => array(
 241                  'bucket' => array(
 242                    'location' => 'path',
 243                    'type' => 'string',
 244                    'required' => true,
 245                  ),
 246                  'ifMetagenerationMatch' => array(
 247                    'location' => 'query',
 248                    'type' => 'string',
 249                  ),
 250                  'predefinedAcl' => array(
 251                    'location' => 'query',
 252                    'type' => 'string',
 253                  ),
 254                  'ifMetagenerationNotMatch' => array(
 255                    'location' => 'query',
 256                    'type' => 'string',
 257                  ),
 258                  'projection' => array(
 259                    'location' => 'query',
 260                    'type' => 'string',
 261                  ),
 262                ),
 263              ),'update' => array(
 264                'path' => 'b/{bucket}',
 265                'httpMethod' => 'PUT',
 266                'parameters' => array(
 267                  'bucket' => array(
 268                    'location' => 'path',
 269                    'type' => 'string',
 270                    'required' => true,
 271                  ),
 272                  'ifMetagenerationMatch' => array(
 273                    'location' => 'query',
 274                    'type' => 'string',
 275                  ),
 276                  'predefinedAcl' => array(
 277                    'location' => 'query',
 278                    'type' => 'string',
 279                  ),
 280                  'ifMetagenerationNotMatch' => array(
 281                    'location' => 'query',
 282                    'type' => 'string',
 283                  ),
 284                  'projection' => array(
 285                    'location' => 'query',
 286                    'type' => 'string',
 287                  ),
 288                ),
 289              ),
 290            )
 291          )
 292      );
 293      $this->channels = new Google_Service_Storage_Channels_Resource(
 294          $this,
 295          $this->serviceName,
 296          'channels',
 297          array(
 298            'methods' => array(
 299              'stop' => array(
 300                'path' => 'channels/stop',
 301                'httpMethod' => 'POST',
 302                'parameters' => array(),
 303              ),
 304            )
 305          )
 306      );
 307      $this->defaultObjectAccessControls = new Google_Service_Storage_DefaultObjectAccessControls_Resource(
 308          $this,
 309          $this->serviceName,
 310          'defaultObjectAccessControls',
 311          array(
 312            'methods' => array(
 313              'delete' => array(
 314                'path' => 'b/{bucket}/defaultObjectAcl/{entity}',
 315                'httpMethod' => 'DELETE',
 316                'parameters' => array(
 317                  'bucket' => array(
 318                    'location' => 'path',
 319                    'type' => 'string',
 320                    'required' => true,
 321                  ),
 322                  'entity' => array(
 323                    'location' => 'path',
 324                    'type' => 'string',
 325                    'required' => true,
 326                  ),
 327                ),
 328              ),'get' => array(
 329                'path' => 'b/{bucket}/defaultObjectAcl/{entity}',
 330                'httpMethod' => 'GET',
 331                'parameters' => array(
 332                  'bucket' => array(
 333                    'location' => 'path',
 334                    'type' => 'string',
 335                    'required' => true,
 336                  ),
 337                  'entity' => array(
 338                    'location' => 'path',
 339                    'type' => 'string',
 340                    'required' => true,
 341                  ),
 342                ),
 343              ),'insert' => array(
 344                'path' => 'b/{bucket}/defaultObjectAcl',
 345                'httpMethod' => 'POST',
 346                'parameters' => array(
 347                  'bucket' => array(
 348                    'location' => 'path',
 349                    'type' => 'string',
 350                    'required' => true,
 351                  ),
 352                ),
 353              ),'list' => array(
 354                'path' => 'b/{bucket}/defaultObjectAcl',
 355                'httpMethod' => 'GET',
 356                'parameters' => array(
 357                  'bucket' => array(
 358                    'location' => 'path',
 359                    'type' => 'string',
 360                    'required' => true,
 361                  ),
 362                  'ifMetagenerationMatch' => array(
 363                    'location' => 'query',
 364                    'type' => 'string',
 365                  ),
 366                  'ifMetagenerationNotMatch' => array(
 367                    'location' => 'query',
 368                    'type' => 'string',
 369                  ),
 370                ),
 371              ),'patch' => array(
 372                'path' => 'b/{bucket}/defaultObjectAcl/{entity}',
 373                'httpMethod' => 'PATCH',
 374                'parameters' => array(
 375                  'bucket' => array(
 376                    'location' => 'path',
 377                    'type' => 'string',
 378                    'required' => true,
 379                  ),
 380                  'entity' => array(
 381                    'location' => 'path',
 382                    'type' => 'string',
 383                    'required' => true,
 384                  ),
 385                ),
 386              ),'update' => array(
 387                'path' => 'b/{bucket}/defaultObjectAcl/{entity}',
 388                'httpMethod' => 'PUT',
 389                'parameters' => array(
 390                  'bucket' => array(
 391                    'location' => 'path',
 392                    'type' => 'string',
 393                    'required' => true,
 394                  ),
 395                  'entity' => array(
 396                    'location' => 'path',
 397                    'type' => 'string',
 398                    'required' => true,
 399                  ),
 400                ),
 401              ),
 402            )
 403          )
 404      );
 405      $this->objectAccessControls = new Google_Service_Storage_ObjectAccessControls_Resource(
 406          $this,
 407          $this->serviceName,
 408          'objectAccessControls',
 409          array(
 410            'methods' => array(
 411              'delete' => array(
 412                'path' => 'b/{bucket}/o/{object}/acl/{entity}',
 413                'httpMethod' => 'DELETE',
 414                'parameters' => array(
 415                  'bucket' => array(
 416                    'location' => 'path',
 417                    'type' => 'string',
 418                    'required' => true,
 419                  ),
 420                  'object' => array(
 421                    'location' => 'path',
 422                    'type' => 'string',
 423                    'required' => true,
 424                  ),
 425                  'entity' => array(
 426                    'location' => 'path',
 427                    'type' => 'string',
 428                    'required' => true,
 429                  ),
 430                  'generation' => array(
 431                    'location' => 'query',
 432                    'type' => 'string',
 433                  ),
 434                ),
 435              ),'get' => array(
 436                'path' => 'b/{bucket}/o/{object}/acl/{entity}',
 437                'httpMethod' => 'GET',
 438                'parameters' => array(
 439                  'bucket' => array(
 440                    'location' => 'path',
 441                    'type' => 'string',
 442                    'required' => true,
 443                  ),
 444                  'object' => array(
 445                    'location' => 'path',
 446                    'type' => 'string',
 447                    'required' => true,
 448                  ),
 449                  'entity' => array(
 450                    'location' => 'path',
 451                    'type' => 'string',
 452                    'required' => true,
 453                  ),
 454                  'generation' => array(
 455                    'location' => 'query',
 456                    'type' => 'string',
 457                  ),
 458                ),
 459              ),'insert' => array(
 460                'path' => 'b/{bucket}/o/{object}/acl',
 461                'httpMethod' => 'POST',
 462                'parameters' => array(
 463                  'bucket' => array(
 464                    'location' => 'path',
 465                    'type' => 'string',
 466                    'required' => true,
 467                  ),
 468                  'object' => array(
 469                    'location' => 'path',
 470                    'type' => 'string',
 471                    'required' => true,
 472                  ),
 473                  'generation' => array(
 474                    'location' => 'query',
 475                    'type' => 'string',
 476                  ),
 477                ),
 478              ),'list' => array(
 479                'path' => 'b/{bucket}/o/{object}/acl',
 480                'httpMethod' => 'GET',
 481                'parameters' => array(
 482                  'bucket' => array(
 483                    'location' => 'path',
 484                    'type' => 'string',
 485                    'required' => true,
 486                  ),
 487                  'object' => array(
 488                    'location' => 'path',
 489                    'type' => 'string',
 490                    'required' => true,
 491                  ),
 492                  'generation' => array(
 493                    'location' => 'query',
 494                    'type' => 'string',
 495                  ),
 496                ),
 497              ),'patch' => array(
 498                'path' => 'b/{bucket}/o/{object}/acl/{entity}',
 499                'httpMethod' => 'PATCH',
 500                'parameters' => array(
 501                  'bucket' => array(
 502                    'location' => 'path',
 503                    'type' => 'string',
 504                    'required' => true,
 505                  ),
 506                  'object' => array(
 507                    'location' => 'path',
 508                    'type' => 'string',
 509                    'required' => true,
 510                  ),
 511                  'entity' => array(
 512                    'location' => 'path',
 513                    'type' => 'string',
 514                    'required' => true,
 515                  ),
 516                  'generation' => array(
 517                    'location' => 'query',
 518                    'type' => 'string',
 519                  ),
 520                ),
 521              ),'update' => array(
 522                'path' => 'b/{bucket}/o/{object}/acl/{entity}',
 523                'httpMethod' => 'PUT',
 524                'parameters' => array(
 525                  'bucket' => array(
 526                    'location' => 'path',
 527                    'type' => 'string',
 528                    'required' => true,
 529                  ),
 530                  'object' => array(
 531                    'location' => 'path',
 532                    'type' => 'string',
 533                    'required' => true,
 534                  ),
 535                  'entity' => array(
 536                    'location' => 'path',
 537                    'type' => 'string',
 538                    'required' => true,
 539                  ),
 540                  'generation' => array(
 541                    'location' => 'query',
 542                    'type' => 'string',
 543                  ),
 544                ),
 545              ),
 546            )
 547          )
 548      );
 549      $this->objects = new Google_Service_Storage_Objects_Resource(
 550          $this,
 551          $this->serviceName,
 552          'objects',
 553          array(
 554            'methods' => array(
 555              'compose' => array(
 556                'path' => 'b/{destinationBucket}/o/{destinationObject}/compose',
 557                'httpMethod' => 'POST',
 558                'parameters' => array(
 559                  'destinationBucket' => array(
 560                    'location' => 'path',
 561                    'type' => 'string',
 562                    'required' => true,
 563                  ),
 564                  'destinationObject' => array(
 565                    'location' => 'path',
 566                    'type' => 'string',
 567                    'required' => true,
 568                  ),
 569                  'ifGenerationMatch' => array(
 570                    'location' => 'query',
 571                    'type' => 'string',
 572                  ),
 573                  'ifMetagenerationMatch' => array(
 574                    'location' => 'query',
 575                    'type' => 'string',
 576                  ),
 577                  'destinationPredefinedAcl' => array(
 578                    'location' => 'query',
 579                    'type' => 'string',
 580                  ),
 581                ),
 582              ),'copy' => array(
 583                'path' => 'b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}',
 584                'httpMethod' => 'POST',
 585                'parameters' => array(
 586                  'sourceBucket' => array(
 587                    'location' => 'path',
 588                    'type' => 'string',
 589                    'required' => true,
 590                  ),
 591                  'sourceObject' => array(
 592                    'location' => 'path',
 593                    'type' => 'string',
 594                    'required' => true,
 595                  ),
 596                  'destinationBucket' => array(
 597                    'location' => 'path',
 598                    'type' => 'string',
 599                    'required' => true,
 600                  ),
 601                  'destinationObject' => array(
 602                    'location' => 'path',
 603                    'type' => 'string',
 604                    'required' => true,
 605                  ),
 606                  'ifSourceGenerationNotMatch' => array(
 607                    'location' => 'query',
 608                    'type' => 'string',
 609                  ),
 610                  'ifGenerationNotMatch' => array(
 611                    'location' => 'query',
 612                    'type' => 'string',
 613                  ),
 614                  'ifSourceMetagenerationNotMatch' => array(
 615                    'location' => 'query',
 616                    'type' => 'string',
 617                  ),
 618                  'ifMetagenerationMatch' => array(
 619                    'location' => 'query',
 620                    'type' => 'string',
 621                  ),
 622                  'sourceGeneration' => array(
 623                    'location' => 'query',
 624                    'type' => 'string',
 625                  ),
 626                  'destinationPredefinedAcl' => array(
 627                    'location' => 'query',
 628                    'type' => 'string',
 629                  ),
 630                  'ifSourceGenerationMatch' => array(
 631                    'location' => 'query',
 632                    'type' => 'string',
 633                  ),
 634                  'ifSourceMetagenerationMatch' => array(
 635                    'location' => 'query',
 636                    'type' => 'string',
 637                  ),
 638                  'ifGenerationMatch' => array(
 639                    'location' => 'query',
 640                    'type' => 'string',
 641                  ),
 642                  'ifMetagenerationNotMatch' => array(
 643                    'location' => 'query',
 644                    'type' => 'string',
 645                  ),
 646                  'projection' => array(
 647                    'location' => 'query',
 648                    'type' => 'string',
 649                  ),
 650                ),
 651              ),'delete' => array(
 652                'path' => 'b/{bucket}/o/{object}',
 653                'httpMethod' => 'DELETE',
 654                'parameters' => array(
 655                  'bucket' => array(
 656                    'location' => 'path',
 657                    'type' => 'string',
 658                    'required' => true,
 659                  ),
 660                  'object' => array(
 661                    'location' => 'path',
 662                    'type' => 'string',
 663                    'required' => true,
 664                  ),
 665                  'ifGenerationNotMatch' => array(
 666                    'location' => 'query',
 667                    'type' => 'string',
 668                  ),
 669                  'generation' => array(
 670                    'location' => 'query',
 671                    'type' => 'string',
 672                  ),
 673                  'ifMetagenerationMatch' => array(
 674                    'location' => 'query',
 675                    'type' => 'string',
 676                  ),
 677                  'ifGenerationMatch' => array(
 678                    'location' => 'query',
 679                    'type' => 'string',
 680                  ),
 681                  'ifMetagenerationNotMatch' => array(
 682                    'location' => 'query',
 683                    'type' => 'string',
 684                  ),
 685                ),
 686              ),'get' => array(
 687                'path' => 'b/{bucket}/o/{object}',
 688                'httpMethod' => 'GET',
 689                'parameters' => array(
 690                  'bucket' => array(
 691                    'location' => 'path',
 692                    'type' => 'string',
 693                    'required' => true,
 694                  ),
 695                  'object' => array(
 696                    'location' => 'path',
 697                    'type' => 'string',
 698                    'required' => true,
 699                  ),
 700                  'ifGenerationNotMatch' => array(
 701                    'location' => 'query',
 702                    'type' => 'string',
 703                  ),
 704                  'generation' => array(
 705                    'location' => 'query',
 706                    'type' => 'string',
 707                  ),
 708                  'ifMetagenerationMatch' => array(
 709                    'location' => 'query',
 710                    'type' => 'string',
 711                  ),
 712                  'ifGenerationMatch' => array(
 713                    'location' => 'query',
 714                    'type' => 'string',
 715                  ),
 716                  'ifMetagenerationNotMatch' => array(
 717                    'location' => 'query',
 718                    'type' => 'string',
 719                  ),
 720                  'projection' => array(
 721                    'location' => 'query',
 722                    'type' => 'string',
 723                  ),
 724                ),
 725              ),'insert' => array(
 726                'path' => 'b/{bucket}/o',
 727                'httpMethod' => 'POST',
 728                'parameters' => array(
 729                  'bucket' => array(
 730                    'location' => 'path',
 731                    'type' => 'string',
 732                    'required' => true,
 733                  ),
 734                  'predefinedAcl' => array(
 735                    'location' => 'query',
 736                    'type' => 'string',
 737                  ),
 738                  'projection' => array(
 739                    'location' => 'query',
 740                    'type' => 'string',
 741                  ),
 742                  'ifGenerationNotMatch' => array(
 743                    'location' => 'query',
 744                    'type' => 'string',
 745                  ),
 746                  'ifMetagenerationMatch' => array(
 747                    'location' => 'query',
 748                    'type' => 'string',
 749                  ),
 750                  'contentEncoding' => array(
 751                    'location' => 'query',
 752                    'type' => 'string',
 753                  ),
 754                  'ifGenerationMatch' => array(
 755                    'location' => 'query',
 756                    'type' => 'string',
 757                  ),
 758                  'ifMetagenerationNotMatch' => array(
 759                    'location' => 'query',
 760                    'type' => 'string',
 761                  ),
 762                  'name' => array(
 763                    'location' => 'query',
 764                    'type' => 'string',
 765                  ),
 766                ),
 767              ),'list' => array(
 768                'path' => 'b/{bucket}/o',
 769                'httpMethod' => 'GET',
 770                'parameters' => array(
 771                  'bucket' => array(
 772                    'location' => 'path',
 773                    'type' => 'string',
 774                    'required' => true,
 775                  ),
 776                  'projection' => array(
 777                    'location' => 'query',
 778                    'type' => 'string',
 779                  ),
 780                  'versions' => array(
 781                    'location' => 'query',
 782                    'type' => 'boolean',
 783                  ),
 784                  'prefix' => array(
 785                    'location' => 'query',
 786                    'type' => 'string',
 787                  ),
 788                  'maxResults' => array(
 789                    'location' => 'query',
 790                    'type' => 'integer',
 791                  ),
 792                  'pageToken' => array(
 793                    'location' => 'query',
 794                    'type' => 'string',
 795                  ),
 796                  'delimiter' => array(
 797                    'location' => 'query',
 798                    'type' => 'string',
 799                  ),
 800                ),
 801              ),'patch' => array(
 802                'path' => 'b/{bucket}/o/{object}',
 803                'httpMethod' => 'PATCH',
 804                'parameters' => array(
 805                  'bucket' => array(
 806                    'location' => 'path',
 807                    'type' => 'string',
 808                    'required' => true,
 809                  ),
 810                  'object' => array(
 811                    'location' => 'path',
 812                    'type' => 'string',
 813                    'required' => true,
 814                  ),
 815                  'predefinedAcl' => array(
 816                    'location' => 'query',
 817                    'type' => 'string',
 818                  ),
 819                  'ifGenerationNotMatch' => array(
 820                    'location' => 'query',
 821                    'type' => 'string',
 822                  ),
 823                  'generation' => array(
 824                    'location' => 'query',
 825                    'type' => 'string',
 826                  ),
 827                  'ifMetagenerationMatch' => array(
 828                    'location' => 'query',
 829                    'type' => 'string',
 830                  ),
 831                  'ifGenerationMatch' => array(
 832                    'location' => 'query',
 833                    'type' => 'string',
 834                  ),
 835                  'ifMetagenerationNotMatch' => array(
 836                    'location' => 'query',
 837                    'type' => 'string',
 838                  ),
 839                  'projection' => array(
 840                    'location' => 'query',
 841                    'type' => 'string',
 842                  ),
 843                ),
 844              ),'update' => array(
 845                'path' => 'b/{bucket}/o/{object}',
 846                'httpMethod' => 'PUT',
 847                'parameters' => array(
 848                  'bucket' => array(
 849                    'location' => 'path',
 850                    'type' => 'string',
 851                    'required' => true,
 852                  ),
 853                  'object' => array(
 854                    'location' => 'path',
 855                    'type' => 'string',
 856                    'required' => true,
 857                  ),
 858                  'predefinedAcl' => array(
 859                    'location' => 'query',
 860                    'type' => 'string',
 861                  ),
 862                  'ifGenerationNotMatch' => array(
 863                    'location' => 'query',
 864                    'type' => 'string',
 865                  ),
 866                  'generation' => array(
 867                    'location' => 'query',
 868                    'type' => 'string',
 869                  ),
 870                  'ifMetagenerationMatch' => array(
 871                    'location' => 'query',
 872                    'type' => 'string',
 873                  ),
 874                  'ifGenerationMatch' => array(
 875                    'location' => 'query',
 876                    'type' => 'string',
 877                  ),
 878                  'ifMetagenerationNotMatch' => array(
 879                    'location' => 'query',
 880                    'type' => 'string',
 881                  ),
 882                  'projection' => array(
 883                    'location' => 'query',
 884                    'type' => 'string',
 885                  ),
 886                ),
 887              ),'watchAll' => array(
 888                'path' => 'b/{bucket}/o/watch',
 889                'httpMethod' => 'POST',
 890                'parameters' => array(
 891                  'bucket' => array(
 892                    'location' => 'path',
 893                    'type' => 'string',
 894                    'required' => true,
 895                  ),
 896                  'projection' => array(
 897                    'location' => 'query',
 898                    'type' => 'string',
 899                  ),
 900                  'versions' => array(
 901                    'location' => 'query',
 902                    'type' => 'boolean',
 903                  ),
 904                  'prefix' => array(
 905                    'location' => 'query',
 906                    'type' => 'string',
 907                  ),
 908                  'maxResults' => array(
 909                    'location' => 'query',
 910                    'type' => 'integer',
 911                  ),
 912                  'pageToken' => array(
 913                    'location' => 'query',
 914                    'type' => 'string',
 915                  ),
 916                  'delimiter' => array(
 917                    'location' => 'query',
 918                    'type' => 'string',
 919                  ),
 920                ),
 921              ),
 922            )
 923          )
 924      );
 925    }
 926  }
 927  
 928  
 929  /**
 930   * The "bucketAccessControls" collection of methods.
 931   * Typical usage is:
 932   *  <code>
 933   *   $storageService = new Google_Service_Storage(...);
 934   *   $bucketAccessControls = $storageService->bucketAccessControls;
 935   *  </code>
 936   */
 937  class Google_Service_Storage_BucketAccessControls_Resource extends Google_Service_Resource
 938  {
 939  
 940    /**
 941     * Permanently deletes the ACL entry for the specified entity on the specified
 942     * bucket. (bucketAccessControls.delete)
 943     *
 944     * @param string $bucket
 945     * Name of a bucket.
 946     * @param string $entity
 947     * The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-
 948      * emailAddress, allUsers, or allAuthenticatedUsers.
 949     * @param array $optParams Optional parameters.
 950     */
 951    public function delete($bucket, $entity, $optParams = array())
 952    {
 953      $params = array('bucket' => $bucket, 'entity' => $entity);
 954      $params = array_merge($params, $optParams);
 955      return $this->call('delete', array($params));
 956    }
 957    /**
 958     * Returns the ACL entry for the specified entity on the specified bucket.
 959     * (bucketAccessControls.get)
 960     *
 961     * @param string $bucket
 962     * Name of a bucket.
 963     * @param string $entity
 964     * The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-
 965      * emailAddress, allUsers, or allAuthenticatedUsers.
 966     * @param array $optParams Optional parameters.
 967     * @return Google_Service_Storage_BucketAccessControl
 968     */
 969    public function get($bucket, $entity, $optParams = array())
 970    {
 971      $params = array('bucket' => $bucket, 'entity' => $entity);
 972      $params = array_merge($params, $optParams);
 973      return $this->call('get', array($params), "Google_Service_Storage_BucketAccessControl");
 974    }
 975    /**
 976     * Creates a new ACL entry on the specified bucket.
 977     * (bucketAccessControls.insert)
 978     *
 979     * @param string $bucket
 980     * Name of a bucket.
 981     * @param Google_BucketAccessControl $postBody
 982     * @param array $optParams Optional parameters.
 983     * @return Google_Service_Storage_BucketAccessControl
 984     */
 985    public function insert($bucket, Google_Service_Storage_BucketAccessControl $postBody, $optParams = array())
 986    {
 987      $params = array('bucket' => $bucket, 'postBody' => $postBody);
 988      $params = array_merge($params, $optParams);
 989      return $this->call('insert', array($params), "Google_Service_Storage_BucketAccessControl");
 990    }
 991    /**
 992     * Retrieves ACL entries on the specified bucket.
 993     * (bucketAccessControls.listBucketAccessControls)
 994     *
 995     * @param string $bucket
 996     * Name of a bucket.
 997     * @param array $optParams Optional parameters.
 998     * @return Google_Service_Storage_BucketAccessControls
 999     */
1000    public function listBucketAccessControls($bucket, $optParams = array())
1001    {
1002      $params = array('bucket' => $bucket);
1003      $params = array_merge($params, $optParams);
1004      return $this->call('list', array($params), "Google_Service_Storage_BucketAccessControls");
1005    }
1006    /**
1007     * Updates an ACL entry on the specified bucket. This method supports patch
1008     * semantics. (bucketAccessControls.patch)
1009     *
1010     * @param string $bucket
1011     * Name of a bucket.
1012     * @param string $entity
1013     * The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-
1014      * emailAddress, allUsers, or allAuthenticatedUsers.
1015     * @param Google_BucketAccessControl $postBody
1016     * @param array $optParams Optional parameters.
1017     * @return Google_Service_Storage_BucketAccessControl
1018     */
1019    public function patch($bucket, $entity, Google_Service_Storage_BucketAccessControl $postBody, $optParams = array())
1020    {
1021      $params = array('bucket' => $bucket, 'entity' => $entity, 'postBody' => $postBody);
1022      $params = array_merge($params, $optParams);
1023      return $this->call('patch', array($params), "Google_Service_Storage_BucketAccessControl");
1024    }
1025    /**
1026     * Updates an ACL entry on the specified bucket. (bucketAccessControls.update)
1027     *
1028     * @param string $bucket
1029     * Name of a bucket.
1030     * @param string $entity
1031     * The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-
1032      * emailAddress, allUsers, or allAuthenticatedUsers.
1033     * @param Google_BucketAccessControl $postBody
1034     * @param array $optParams Optional parameters.
1035     * @return Google_Service_Storage_BucketAccessControl
1036     */
1037    public function update($bucket, $entity, Google_Service_Storage_BucketAccessControl $postBody, $optParams = array())
1038    {
1039      $params = array('bucket' => $bucket, 'entity' => $entity, 'postBody' => $postBody);
1040      $params = array_merge($params, $optParams);
1041      return $this->call('update', array($params), "Google_Service_Storage_BucketAccessControl");
1042    }
1043  }
1044  
1045  /**
1046   * The "buckets" collection of methods.
1047   * Typical usage is:
1048   *  <code>
1049   *   $storageService = new Google_Service_Storage(...);
1050   *   $buckets = $storageService->buckets;
1051   *  </code>
1052   */
1053  class Google_Service_Storage_Buckets_Resource extends Google_Service_Resource
1054  {
1055  
1056    /**
1057     * Permanently deletes an empty bucket. (buckets.delete)
1058     *
1059     * @param string $bucket
1060     * Name of a bucket.
1061     * @param array $optParams Optional parameters.
1062     *
1063     * @opt_param string ifMetagenerationMatch
1064     * If set, only deletes the bucket if its metageneration matches this value.
1065     * @opt_param string ifMetagenerationNotMatch
1066     * If set, only deletes the bucket if its metageneration does not match this value.
1067     */
1068    public function delete($bucket, $optParams = array())
1069    {
1070      $params = array('bucket' => $bucket);
1071      $params = array_merge($params, $optParams);
1072      return $this->call('delete', array($params));
1073    }
1074    /**
1075     * Returns metadata for the specified bucket. (buckets.get)
1076     *
1077     * @param string $bucket
1078     * Name of a bucket.
1079     * @param array $optParams Optional parameters.
1080     *
1081     * @opt_param string ifMetagenerationMatch
1082     * Makes the return of the bucket metadata conditional on whether the bucket's current
1083      * metageneration matches the given value.
1084     * @opt_param string ifMetagenerationNotMatch
1085     * Makes the return of the bucket metadata conditional on whether the bucket's current
1086      * metageneration does not match the given value.
1087     * @opt_param string projection
1088     * Set of properties to return. Defaults to noAcl.
1089     * @return Google_Service_Storage_Bucket
1090     */
1091    public function get($bucket, $optParams = array())
1092    {
1093      $params = array('bucket' => $bucket);
1094      $params = array_merge($params, $optParams);
1095      return $this->call('get', array($params), "Google_Service_Storage_Bucket");
1096    }
1097    /**
1098     * Creates a new bucket. (buckets.insert)
1099     *
1100     * @param string $project
1101     * A valid API project identifier.
1102     * @param Google_Bucket $postBody
1103     * @param array $optParams Optional parameters.
1104     *
1105     * @opt_param string predefinedAcl
1106     * Apply a predefined set of access controls to this bucket.
1107     * @opt_param string projection
1108     * Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or
1109      * defaultObjectAcl properties, when it defaults to full.
1110     * @return Google_Service_Storage_Bucket
1111     */
1112    public function insert($project, Google_Service_Storage_Bucket $postBody, $optParams = array())
1113    {
1114      $params = array('project' => $project, 'postBody' => $postBody);
1115      $params = array_merge($params, $optParams);
1116      return $this->call('insert', array($params), "Google_Service_Storage_Bucket");
1117    }
1118    /**
1119     * Retrieves a list of buckets for a given project. (buckets.listBuckets)
1120     *
1121     * @param string $project
1122     * A valid API project identifier.
1123     * @param array $optParams Optional parameters.
1124     *
1125     * @opt_param string pageToken
1126     * A previously-returned page token representing part of the larger set of results to view.
1127     * @opt_param string projection
1128     * Set of properties to return. Defaults to noAcl.
1129     * @opt_param string maxResults
1130     * Maximum number of buckets to return.
1131     * @return Google_Service_Storage_Buckets
1132     */
1133    public function listBuckets($project, $optParams = array())
1134    {
1135      $params = array('project' => $project);
1136      $params = array_merge($params, $optParams);
1137      return $this->call('list', array($params), "Google_Service_Storage_Buckets");
1138    }
1139    /**
1140     * Updates a bucket. This method supports patch semantics. (buckets.patch)
1141     *
1142     * @param string $bucket
1143     * Name of a bucket.
1144     * @param Google_Bucket $postBody
1145     * @param array $optParams Optional parameters.
1146     *
1147     * @opt_param string ifMetagenerationMatch
1148     * Makes the return of the bucket metadata conditional on whether the bucket's current
1149      * metageneration matches the given value.
1150     * @opt_param string predefinedAcl
1151     * Apply a predefined set of access controls to this bucket.
1152     * @opt_param string ifMetagenerationNotMatch
1153     * Makes the return of the bucket metadata conditional on whether the bucket's current
1154      * metageneration does not match the given value.
1155     * @opt_param string projection
1156     * Set of properties to return. Defaults to full.
1157     * @return Google_Service_Storage_Bucket
1158     */
1159    public function patch($bucket, Google_Service_Storage_Bucket $postBody, $optParams = array())
1160    {
1161      $params = array('bucket' => $bucket, 'postBody' => $postBody);
1162      $params = array_merge($params, $optParams);
1163      return $this->call('patch', array($params), "Google_Service_Storage_Bucket");
1164    }
1165    /**
1166     * Updates a bucket. (buckets.update)
1167     *
1168     * @param string $bucket
1169     * Name of a bucket.
1170     * @param Google_Bucket $postBody
1171     * @param array $optParams Optional parameters.
1172     *
1173     * @opt_param string ifMetagenerationMatch
1174     * Makes the return of the bucket metadata conditional on whether the bucket's current
1175      * metageneration matches the given value.
1176     * @opt_param string predefinedAcl
1177     * Apply a predefined set of access controls to this bucket.
1178     * @opt_param string ifMetagenerationNotMatch
1179     * Makes the return of the bucket metadata conditional on whether the bucket's current
1180      * metageneration does not match the given value.
1181     * @opt_param string projection
1182     * Set of properties to return. Defaults to full.
1183     * @return Google_Service_Storage_Bucket
1184     */
1185    public function update($bucket, Google_Service_Storage_Bucket $postBody, $optParams = array())
1186    {
1187      $params = array('bucket' => $bucket, 'postBody' => $postBody);
1188      $params = array_merge($params, $optParams);
1189      return $this->call('update', array($params), "Google_Service_Storage_Bucket");
1190    }
1191  }
1192  
1193  /**
1194   * The "channels" collection of methods.
1195   * Typical usage is:
1196   *  <code>
1197   *   $storageService = new Google_Service_Storage(...);
1198   *   $channels = $storageService->channels;
1199   *  </code>
1200   */
1201  class Google_Service_Storage_Channels_Resource extends Google_Service_Resource
1202  {
1203  
1204    /**
1205     * Stop watching resources through this channel (channels.stop)
1206     *
1207     * @param Google_Channel $postBody
1208     * @param array $optParams Optional parameters.
1209     */
1210    public function stop(Google_Service_Storage_Channel $postBody, $optParams = array())
1211    {
1212      $params = array('postBody' => $postBody);
1213      $params = array_merge($params, $optParams);
1214      return $this->call('stop', array($params));
1215    }
1216  }
1217  
1218  /**
1219   * The "defaultObjectAccessControls" collection of methods.
1220   * Typical usage is:
1221   *  <code>
1222   *   $storageService = new Google_Service_Storage(...);
1223   *   $defaultObjectAccessControls = $storageService->defaultObjectAccessControls;
1224   *  </code>
1225   */
1226  class Google_Service_Storage_DefaultObjectAccessControls_Resource extends Google_Service_Resource
1227  {
1228  
1229    /**
1230     * Permanently deletes the default object ACL entry for the specified entity on
1231     * the specified bucket. (defaultObjectAccessControls.delete)
1232     *
1233     * @param string $bucket
1234     * Name of a bucket.
1235     * @param string $entity
1236     * The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-
1237      * emailAddress, allUsers, or allAuthenticatedUsers.
1238     * @param array $optParams Optional parameters.
1239     */
1240    public function delete($bucket, $entity, $optParams = array())
1241    {
1242      $params = array('bucket' => $bucket, 'entity' => $entity);
1243      $params = array_merge($params, $optParams);
1244      return $this->call('delete', array($params));
1245    }
1246    /**
1247     * Returns the default object ACL entry for the specified entity on the
1248     * specified bucket. (defaultObjectAccessControls.get)
1249     *
1250     * @param string $bucket
1251     * Name of a bucket.
1252     * @param string $entity
1253     * The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-
1254      * emailAddress, allUsers, or allAuthenticatedUsers.
1255     * @param array $optParams Optional parameters.
1256     * @return Google_Service_Storage_ObjectAccessControl
1257     */
1258    public function get($bucket, $entity, $optParams = array())
1259    {
1260      $params = array('bucket' => $bucket, 'entity' => $entity);
1261      $params = array_merge($params, $optParams);
1262      return $this->call('get', array($params), "Google_Service_Storage_ObjectAccessControl");
1263    }
1264    /**
1265     * Creates a new default object ACL entry on the specified bucket.
1266     * (defaultObjectAccessControls.insert)
1267     *
1268     * @param string $bucket
1269     * Name of a bucket.
1270     * @param Google_ObjectAccessControl $postBody
1271     * @param array $optParams Optional parameters.
1272     * @return Google_Service_Storage_ObjectAccessControl
1273     */
1274    public function insert($bucket, Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array())
1275    {
1276      $params = array('bucket' => $bucket, 'postBody' => $postBody);
1277      $params = array_merge($params, $optParams);
1278      return $this->call('insert', array($params), "Google_Service_Storage_ObjectAccessControl");
1279    }
1280    /**
1281     * Retrieves default object ACL entries on the specified bucket.
1282     * (defaultObjectAccessControls.listDefaultObjectAccessControls)
1283     *
1284     * @param string $bucket
1285     * Name of a bucket.
1286     * @param array $optParams Optional parameters.
1287     *
1288     * @opt_param string ifMetagenerationMatch
1289     * If present, only return default ACL listing if the bucket's current metageneration matches this
1290      * value.
1291     * @opt_param string ifMetagenerationNotMatch
1292     * If present, only return default ACL listing if the bucket's current metageneration does not
1293      * match the given value.
1294     * @return Google_Service_Storage_ObjectAccessControls
1295     */
1296    public function listDefaultObjectAccessControls($bucket, $optParams = array())
1297    {
1298      $params = array('bucket' => $bucket);
1299      $params = array_merge($params, $optParams);
1300      return $this->call('list', array($params), "Google_Service_Storage_ObjectAccessControls");
1301    }
1302    /**
1303     * Updates a default object ACL entry on the specified bucket. This method
1304     * supports patch semantics. (defaultObjectAccessControls.patch)
1305     *
1306     * @param string $bucket
1307     * Name of a bucket.
1308     * @param string $entity
1309     * The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-
1310      * emailAddress, allUsers, or allAuthenticatedUsers.
1311     * @param Google_ObjectAccessControl $postBody
1312     * @param array $optParams Optional parameters.
1313     * @return Google_Service_Storage_ObjectAccessControl
1314     */
1315    public function patch($bucket, $entity, Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array())
1316    {
1317      $params = array('bucket' => $bucket, 'entity' => $entity, 'postBody' => $postBody);
1318      $params = array_merge($params, $optParams);
1319      return $this->call('patch', array($params), "Google_Service_Storage_ObjectAccessControl");
1320    }
1321    /**
1322     * Updates a default object ACL entry on the specified bucket.
1323     * (defaultObjectAccessControls.update)
1324     *
1325     * @param string $bucket
1326     * Name of a bucket.
1327     * @param string $entity
1328     * The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-
1329      * emailAddress, allUsers, or allAuthenticatedUsers.
1330     * @param Google_ObjectAccessControl $postBody
1331     * @param array $optParams Optional parameters.
1332     * @return Google_Service_Storage_ObjectAccessControl
1333     */
1334    public function update($bucket, $entity, Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array())
1335    {
1336      $params = array('bucket' => $bucket, 'entity' => $entity, 'postBody' => $postBody);
1337      $params = array_merge($params, $optParams);
1338      return $this->call('update', array($params), "Google_Service_Storage_ObjectAccessControl");
1339    }
1340  }
1341  
1342  /**
1343   * The "objectAccessControls" collection of methods.
1344   * Typical usage is:
1345   *  <code>
1346   *   $storageService = new Google_Service_Storage(...);
1347   *   $objectAccessControls = $storageService->objectAccessControls;
1348   *  </code>
1349   */
1350  class Google_Service_Storage_ObjectAccessControls_Resource extends Google_Service_Resource
1351  {
1352  
1353    /**
1354     * Permanently deletes the ACL entry for the specified entity on the specified
1355     * object. (objectAccessControls.delete)
1356     *
1357     * @param string $bucket
1358     * Name of a bucket.
1359     * @param string $object
1360     * Name of the object.
1361     * @param string $entity
1362     * The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-
1363      * emailAddress, allUsers, or allAuthenticatedUsers.
1364     * @param array $optParams Optional parameters.
1365     *
1366     * @opt_param string generation
1367     * If present, selects a specific revision of this object (as opposed to the latest version, the
1368      * default).
1369     */
1370    public function delete($bucket, $object, $entity, $optParams = array())
1371    {
1372      $params = array('bucket' => $bucket, 'object' => $object, 'entity' => $entity);
1373      $params = array_merge($params, $optParams);
1374      return $this->call('delete', array($params));
1375    }
1376    /**
1377     * Returns the ACL entry for the specified entity on the specified object.
1378     * (objectAccessControls.get)
1379     *
1380     * @param string $bucket
1381     * Name of a bucket.
1382     * @param string $object
1383     * Name of the object.
1384     * @param string $entity
1385     * The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-
1386      * emailAddress, allUsers, or allAuthenticatedUsers.
1387     * @param array $optParams Optional parameters.
1388     *
1389     * @opt_param string generation
1390     * If present, selects a specific revision of this object (as opposed to the latest version, the
1391      * default).
1392     * @return Google_Service_Storage_ObjectAccessControl
1393     */
1394    public function get($bucket, $object, $entity, $optParams = array())
1395    {
1396      $params = array('bucket' => $bucket, 'object' => $object, 'entity' => $entity);
1397      $params = array_merge($params, $optParams);
1398      return $this->call('get', array($params), "Google_Service_Storage_ObjectAccessControl");
1399    }
1400    /**
1401     * Creates a new ACL entry on the specified object.
1402     * (objectAccessControls.insert)
1403     *
1404     * @param string $bucket
1405     * Name of a bucket.
1406     * @param string $object
1407     * Name of the object.
1408     * @param Google_ObjectAccessControl $postBody
1409     * @param array $optParams Optional parameters.
1410     *
1411     * @opt_param string generation
1412     * If present, selects a specific revision of this object (as opposed to the latest version, the
1413      * default).
1414     * @return Google_Service_Storage_ObjectAccessControl
1415     */
1416    public function insert($bucket, $object, Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array())
1417    {
1418      $params = array('bucket' => $bucket, 'object' => $object, 'postBody' => $postBody);
1419      $params = array_merge($params, $optParams);
1420      return $this->call('insert', array($params), "Google_Service_Storage_ObjectAccessControl");
1421    }
1422    /**
1423     * Retrieves ACL entries on the specified object.
1424     * (objectAccessControls.listObjectAccessControls)
1425     *
1426     * @param string $bucket
1427     * Name of a bucket.
1428     * @param string $object
1429     * Name of the object.
1430     * @param array $optParams Optional parameters.
1431     *
1432     * @opt_param string generation
1433     * If present, selects a specific revision of this object (as opposed to the latest version, the
1434      * default).
1435     * @return Google_Service_Storage_ObjectAccessControls
1436     */
1437    public function listObjectAccessControls($bucket, $object, $optParams = array())
1438    {
1439      $params = array('bucket' => $bucket, 'object' => $object);
1440      $params = array_merge($params, $optParams);
1441      return $this->call('list', array($params), "Google_Service_Storage_ObjectAccessControls");
1442    }
1443    /**
1444     * Updates an ACL entry on the specified object. This method supports patch
1445     * semantics. (objectAccessControls.patch)
1446     *
1447     * @param string $bucket
1448     * Name of a bucket.
1449     * @param string $object
1450     * Name of the object.
1451     * @param string $entity
1452     * The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-
1453      * emailAddress, allUsers, or allAuthenticatedUsers.
1454     * @param Google_ObjectAccessControl $postBody
1455     * @param array $optParams Optional parameters.
1456     *
1457     * @opt_param string generation
1458     * If present, selects a specific revision of this object (as opposed to the latest version, the
1459      * default).
1460     * @return Google_Service_Storage_ObjectAccessControl
1461     */
1462    public function patch($bucket, $object, $entity, Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array())
1463    {
1464      $params = array('bucket' => $bucket, 'object' => $object, 'entity' => $entity, 'postBody' => $postBody);
1465      $params = array_merge($params, $optParams);
1466      return $this->call('patch', array($params), "Google_Service_Storage_ObjectAccessControl");
1467    }
1468    /**
1469     * Updates an ACL entry on the specified object. (objectAccessControls.update)
1470     *
1471     * @param string $bucket
1472     * Name of a bucket.
1473     * @param string $object
1474     * Name of the object.
1475     * @param string $entity
1476     * The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-
1477      * emailAddress, allUsers, or allAuthenticatedUsers.
1478     * @param Google_ObjectAccessControl $postBody
1479     * @param array $optParams Optional parameters.
1480     *
1481     * @opt_param string generation
1482     * If present, selects a specific revision of this object (as opposed to the latest version, the
1483      * default).
1484     * @return Google_Service_Storage_ObjectAccessControl
1485     */
1486    public function update($bucket, $object, $entity, Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array())
1487    {
1488      $params = array('bucket' => $bucket, 'object' => $object, 'entity' => $entity, 'postBody' => $postBody);
1489      $params = array_merge($params, $optParams);
1490      return $this->call('update', array($params), "Google_Service_Storage_ObjectAccessControl");
1491    }
1492  }
1493  
1494  /**
1495   * The "objects" collection of methods.
1496   * Typical usage is:
1497   *  <code>
1498   *   $storageService = new Google_Service_Storage(...);
1499   *   $objects = $storageService->objects;
1500   *  </code>
1501   */
1502  class Google_Service_Storage_Objects_Resource extends Google_Service_Resource
1503  {
1504  
1505    /**
1506     * Concatenates a list of existing objects into a new object in the same bucket.
1507     * (objects.compose)
1508     *
1509     * @param string $destinationBucket
1510     * Name of the bucket in which to store the new object.
1511     * @param string $destinationObject
1512     * Name of the new object.
1513     * @param Google_ComposeRequest $postBody
1514     * @param array $optParams Optional parameters.
1515     *
1516     * @opt_param string ifGenerationMatch
1517     * Makes the operation conditional on whether the object's current generation matches the given
1518      * value.
1519     * @opt_param string ifMetagenerationMatch
1520     * Makes the operation conditional on whether the object's current metageneration matches the given
1521      * value.
1522     * @opt_param string destinationPredefinedAcl
1523     * Apply a predefined set of access controls to the destination object.
1524     * @return Google_Service_Storage_StorageObject
1525     */
1526    public function compose($destinationBucket, $destinationObject, Google_Service_Storage_ComposeRequest $postBody, $optParams = array())
1527    {
1528      $params = array('destinationBucket' => $destinationBucket, 'destinationObject' => $destinationObject, 'postBody' => $postBody);
1529      $params = array_merge($params, $optParams);
1530      return $this->call('compose', array($params), "Google_Service_Storage_StorageObject");
1531    }
1532    /**
1533     * Copies an object to a specified location. Optionally overrides metadata.
1534     * (objects.copy)
1535     *
1536     * @param string $sourceBucket
1537     * Name of the bucket in which to find the source object.
1538     * @param string $sourceObject
1539     * Name of the source object.
1540     * @param string $destinationBucket
1541     * Name of the bucket in which to store the new object. Overrides the provided object metadata's
1542      * bucket value, if any.
1543     * @param string $destinationObject
1544     * Name of the new object. Required when the object metadata is not otherwise provided. Overrides
1545      * the object metadata's name value, if any.
1546     * @param Google_StorageObject $postBody
1547     * @param array $optParams Optional parameters.
1548     *
1549     * @opt_param string ifSourceGenerationNotMatch
1550     * Makes the operation conditional on whether the source object's generation does not match the
1551      * given value.
1552     * @opt_param string ifGenerationNotMatch
1553     * Makes the operation conditional on whether the destination object's current generation does not
1554      * match the given value.
1555     * @opt_param string ifSourceMetagenerationNotMatch
1556     * Makes the operation conditional on whether the source object's current metageneration does not
1557      * match the given value.
1558     * @opt_param string ifMetagenerationMatch
1559     * Makes the operation conditional on whether the destination object's current metageneration
1560      * matches the given value.
1561     * @opt_param string sourceGeneration
1562     * If present, selects a specific revision of the source object (as opposed to the latest version,
1563      * the default).
1564     * @opt_param string destinationPredefinedAcl
1565     * Apply a predefined set of access controls to the destination object.
1566     * @opt_param string ifSourceGenerationMatch
1567     * Makes the operation conditional on whether the source object's generation matches the given
1568      * value.
1569     * @opt_param string ifSourceMetagenerationMatch
1570     * Makes the operation conditional on whether the source object's current metageneration matches
1571      * the given value.
1572     * @opt_param string ifGenerationMatch
1573     * Makes the operation conditional on whether the destination object's current generation matches
1574      * the given value.
1575     * @opt_param string ifMetagenerationNotMatch
1576     * Makes the operation conditional on whether the destination object's current metageneration does
1577      * not match the given value.
1578     * @opt_param string projection
1579     * Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl
1580      * property, when it defaults to full.
1581     * @return Google_Service_Storage_StorageObject
1582     */
1583    public function copy($sourceBucket, $sourceObject, $destinationBucket, $destinationObject, Google_Service_Storage_StorageObject $postBody, $optParams = array())
1584    {
1585      $params = array('sourceBucket' => $sourceBucket, 'sourceObject' => $sourceObject, 'destinationBucket' => $destinationBucket, 'destinationObject' => $destinationObject, 'postBody' => $postBody);
1586      $params = array_merge($params, $optParams);
1587      return $this->call('copy', array($params), "Google_Service_Storage_StorageObject");
1588    }
1589    /**
1590     * Deletes an object and its metadata. Deletions are permanent if versioning is
1591     * not enabled for the bucket, or if the generation parameter is used.
1592     * (objects.delete)
1593     *
1594     * @param string $bucket
1595     * Name of the bucket in which the object resides.
1596     * @param string $object
1597     * Name of the object.
1598     * @param array $optParams Optional parameters.
1599     *
1600     * @opt_param string ifGenerationNotMatch
1601     * Makes the operation conditional on whether the object's current generation does not match the
1602      * given value.
1603     * @opt_param string generation
1604     * If present, permanently deletes a specific revision of this object (as opposed to the latest
1605      * version, the default).
1606     * @opt_param string ifMetagenerationMatch
1607     * Makes the operation conditional on whether the object's current metageneration matches the given
1608      * value.
1609     * @opt_param string ifGenerationMatch
1610     * Makes the operation conditional on whether the object's current generation matches the given
1611      * value.
1612     * @opt_param string ifMetagenerationNotMatch
1613     * Makes the operation conditional on whether the object's current metageneration does not match
1614      * the given value.
1615     */
1616    public function delete($bucket, $object, $optParams = array())
1617    {
1618      $params = array('bucket' => $bucket, 'object' => $object);
1619      $params = array_merge($params, $optParams);
1620      return $this->call('delete', array($params));
1621    }
1622    /**
1623     * Retrieves objects or their metadata. (objects.get)
1624     *
1625     * @param string $bucket
1626     * Name of the bucket in which the object resides.
1627     * @param string $object
1628     * Name of the object.
1629     * @param array $optParams Optional parameters.
1630     *
1631     * @opt_param string ifGenerationNotMatch
1632     * Makes the operation conditional on whether the object's generation does not match the given
1633      * value.
1634     * @opt_param string generation
1635     * If present, selects a specific revision of this object (as opposed to the latest version, the
1636      * default).
1637     * @opt_param string ifMetagenerationMatch
1638     * Makes the operation conditional on whether the object's current metageneration matches the given
1639      * value.
1640     * @opt_param string ifGenerationMatch
1641     * Makes the operation conditional on whether the object's generation matches the given value.
1642     * @opt_param string ifMetagenerationNotMatch
1643     * Makes the operation conditional on whether the object's current metageneration does not match
1644      * the given value.
1645     * @opt_param string projection
1646     * Set of properties to return. Defaults to noAcl.
1647     * @return Google_Service_Storage_StorageObject
1648     */
1649    public function get($bucket, $object, $optParams = array())
1650    {
1651      $params = array('bucket' => $bucket, 'object' => $object);
1652      $params = array_merge($params, $optParams);
1653      return $this->call('get', array($params), "Google_Service_Storage_StorageObject");
1654    }
1655    /**
1656     * Stores a new object and metadata. (objects.insert)
1657     *
1658     * @param string $bucket
1659     * Name of the bucket in which to store the new object. Overrides the provided object metadata's
1660      * bucket value, if any.
1661     * @param Google_StorageObject $postBody
1662     * @param array $optParams Optional parameters.
1663     *
1664     * @opt_param string predefinedAcl
1665     * Apply a predefined set of access controls to this object.
1666     * @opt_param string projection
1667     * Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl
1668      * property, when it defaults to full.
1669     * @opt_param string ifGenerationNotMatch
1670     * Makes the operation conditional on whether the object's current generation does not match the
1671      * given value.
1672     * @opt_param string ifMetagenerationMatch
1673     * Makes the operation conditional on whether the object's current metageneration matches the given
1674      * value.
1675     * @opt_param string contentEncoding
1676     * If set, sets the contentEncoding property of the final object to this value. Setting this
1677      * parameter is equivalent to setting the contentEncoding metadata property. This can be useful
1678      * when uploading an object with uploadType=media to indicate the encoding of the content being
1679      * uploaded.
1680     * @opt_param string ifGenerationMatch
1681     * Makes the operation conditional on whether the object's current generation matches the given
1682      * value.
1683     * @opt_param string ifMetagenerationNotMatch
1684     * Makes the operation conditional on whether the object's current metageneration does not match
1685      * the given value.
1686     * @opt_param string name
1687     * Name of the object. Required when the object metadata is not otherwise provided. Overrides the
1688      * object metadata's name value, if any.
1689     * @return Google_Service_Storage_StorageObject
1690     */
1691    public function insert($bucket, Google_Service_Storage_StorageObject $postBody, $optParams = array())
1692    {
1693      $params = array('bucket' => $bucket, 'postBody' => $postBody);
1694      $params = array_merge($params, $optParams);
1695      return $this->call('insert', array($params), "Google_Service_Storage_StorageObject");
1696    }
1697    /**
1698     * Retrieves a list of objects matching the criteria. (objects.listObjects)
1699     *
1700     * @param string $bucket
1701     * Name of the bucket in which to look for objects.
1702     * @param array $optParams Optional parameters.
1703     *
1704     * @opt_param string projection
1705     * Set of properties to return. Defaults to noAcl.
1706     * @opt_param bool versions
1707     * If true, lists all versions of a file as distinct results.
1708     * @opt_param string prefix
1709     * Filter results to objects whose names begin with this prefix.
1710     * @opt_param string maxResults
1711     * Maximum number of items plus prefixes to return. As duplicate prefixes are omitted, fewer total
1712      * results may be returned than requested.
1713     * @opt_param string pageToken
1714     * A previously-returned page token representing part of the larger set of results to view.
1715     * @opt_param string delimiter
1716     * Returns results in a directory-like mode. items will contain only objects whose names, aside
1717      * from the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain
1718      * delimiter will have their name, truncated after the delimiter, returned in prefixes. Duplicate
1719      * prefixes are omitted.
1720     * @return Google_Service_Storage_Objects
1721     */
1722    public function listObjects($bucket, $optParams = array())
1723    {
1724      $params = array('bucket' => $bucket);
1725      $params = array_merge($params, $optParams);
1726      return $this->call('list', array($params), "Google_Service_Storage_Objects");
1727    }
1728    /**
1729     * Updates an object's metadata. This method supports patch semantics.
1730     * (objects.patch)
1731     *
1732     * @param string $bucket
1733     * Name of the bucket in which the object resides.
1734     * @param string $object
1735     * Name of the object.
1736     * @param Google_StorageObject $postBody
1737     * @param array $optParams Optional parameters.
1738     *
1739     * @opt_param string predefinedAcl
1740     * Apply a predefined set of access controls to this object.
1741     * @opt_param string ifGenerationNotMatch
1742     * Makes the operation conditional on whether the object's current generation does not match the
1743      * given value.
1744     * @opt_param string generation
1745     * If present, selects a specific revision of this object (as opposed to the latest version, the
1746      * default).
1747     * @opt_param string ifMetagenerationMatch
1748     * Makes the operation conditional on whether the object's current metageneration matches the given
1749      * value.
1750     * @opt_param string ifGenerationMatch
1751     * Makes the operation conditional on whether the object's current generation matches the given
1752      * value.
1753     * @opt_param string ifMetagenerationNotMatch
1754     * Makes the operation conditional on whether the object's current metageneration does not match
1755      * the given value.
1756     * @opt_param string projection
1757     * Set of properties to return. Defaults to full.
1758     * @return Google_Service_Storage_StorageObject
1759     */
1760    public function patch($bucket, $object, Google_Service_Storage_StorageObject $postBody, $optParams = array())
1761    {
1762      $params = array('bucket' => $bucket, 'object' => $object, 'postBody' => $postBody);
1763      $params = array_merge($params, $optParams);
1764      return $this->call('patch', array($params), "Google_Service_Storage_StorageObject");
1765    }
1766    /**
1767     * Updates an object's metadata. (objects.update)
1768     *
1769     * @param string $bucket
1770     * Name of the bucket in which the object resides.
1771     * @param string $object
1772     * Name of the object.
1773     * @param Google_StorageObject $postBody
1774     * @param array $optParams Optional parameters.
1775     *
1776     * @opt_param string predefinedAcl
1777     * Apply a predefined set of access controls to this object.
1778     * @opt_param string ifGenerationNotMatch
1779     * Makes the operation conditional on whether the object's current generation does not match the
1780      * given value.
1781     * @opt_param string generation
1782     * If present, selects a specific revision of this object (as opposed to the latest version, the
1783      * default).
1784     * @opt_param string ifMetagenerationMatch
1785     * Makes the operation conditional on whether the object's current metageneration matches the given
1786      * value.
1787     * @opt_param string ifGenerationMatch
1788     * Makes the operation conditional on whether the object's current generation matches the given
1789      * value.
1790     * @opt_param string ifMetagenerationNotMatch
1791     * Makes the operation conditional on whether the object's current metageneration does not match
1792      * the given value.
1793     * @opt_param string projection
1794     * Set of properties to return. Defaults to full.
1795     * @return Google_Service_Storage_StorageObject
1796     */
1797    public function update($bucket, $object, Google_Service_Storage_StorageObject $postBody, $optParams = array())
1798    {
1799      $params = array('bucket' => $bucket, 'object' => $object, 'postBody' => $postBody);
1800      $params = array_merge($params, $optParams);
1801      return $this->call('update', array($params), "Google_Service_Storage_StorageObject");
1802    }
1803    /**
1804     * Watch for changes on all objects in a bucket. (objects.watchAll)
1805     *
1806     * @param string $bucket
1807     * Name of the bucket in which to look for objects.
1808     * @param Google_Channel $postBody
1809     * @param array $optParams Optional parameters.
1810     *
1811     * @opt_param string projection
1812     * Set of properties to return. Defaults to noAcl.
1813     * @opt_param bool versions
1814     * If true, lists all versions of a file as distinct results.
1815     * @opt_param string prefix
1816     * Filter results to objects whose names begin with this prefix.
1817     * @opt_param string maxResults
1818     * Maximum number of items plus prefixes to return. As duplicate prefixes are omitted, fewer total
1819      * results may be returned than requested.
1820     * @opt_param string pageToken
1821     * A previously-returned page token representing part of the larger set of results to view.
1822     * @opt_param string delimiter
1823     * Returns results in a directory-like mode. items will contain only objects whose names, aside
1824      * from the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain
1825      * delimiter will have their name, truncated after the delimiter, returned in prefixes. Duplicate
1826      * prefixes are omitted.
1827     * @return Google_Service_Storage_Channel
1828     */
1829    public function watchAll($bucket, Google_Service_Storage_Channel $postBody, $optParams = array())
1830    {
1831      $params = array('bucket' => $bucket, 'postBody' => $postBody);
1832      $params = array_merge($params, $optParams);
1833      return $this->call('watchAll', array($params), "Google_Service_Storage_Channel");
1834    }
1835  }
1836  
1837  
1838  
1839  
1840  class Google_Service_Storage_Bucket extends Google_Collection
1841  {
1842    protected $collection_key = 'defaultObjectAcl';
1843    protected $aclType = 'Google_Service_Storage_BucketAccessControl';
1844    protected $aclDataType = 'array';
1845    protected $corsType = 'Google_Service_Storage_BucketCors';
1846    protected $corsDataType = 'array';
1847    protected $defaultObjectAclType = 'Google_Service_Storage_ObjectAccessControl';
1848    protected $defaultObjectAclDataType = 'array';
1849    public $etag;
1850    public $id;
1851    public $kind;
1852    protected $lifecycleType = 'Google_Service_Storage_BucketLifecycle';
1853    protected $lifecycleDataType = '';
1854    public $location;
1855    protected $loggingType = 'Google_Service_Storage_BucketLogging';
1856    protected $loggingDataType = '';
1857    public $metageneration;
1858    public $name;
1859    protected $ownerType = 'Google_Service_Storage_BucketOwner';
1860    protected $ownerDataType = '';
1861    public $projectNumber;
1862    public $selfLink;
1863    public $storageClass;
1864    public $timeCreated;
1865    protected $versioningType = 'Google_Service_Storage_BucketVersioning';
1866    protected $versioningDataType = '';
1867    protected $websiteType = 'Google_Service_Storage_BucketWebsite';
1868    protected $websiteDataType = '';
1869  
1870    public function setAcl($acl)
1871    {
1872      $this->acl = $acl;
1873    }
1874  
1875    public function getAcl()
1876    {
1877      return $this->acl;
1878    }
1879  
1880    public function setCors($cors)
1881    {
1882      $this->cors = $cors;
1883    }
1884  
1885    public function getCors()
1886    {
1887      return $this->cors;
1888    }
1889  
1890    public function setDefaultObjectAcl($defaultObjectAcl)
1891    {
1892      $this->defaultObjectAcl = $defaultObjectAcl;
1893    }
1894  
1895    public function getDefaultObjectAcl()
1896    {
1897      return $this->defaultObjectAcl;
1898    }
1899  
1900    public function setEtag($etag)
1901    {
1902      $this->etag = $etag;
1903    }
1904  
1905    public function getEtag()
1906    {
1907      return $this->etag;
1908    }
1909  
1910    public function setId($id)
1911    {
1912      $this->id = $id;
1913    }
1914  
1915    public function getId()
1916    {
1917      return $this->id;
1918    }
1919  
1920    public function setKind($kind)
1921    {
1922      $this->kind = $kind;
1923    }
1924  
1925    public function getKind()
1926    {
1927      return $this->kind;
1928    }
1929  
1930    public function setLifecycle(Google_Service_Storage_BucketLifecycle $lifecycle)
1931    {
1932      $this->lifecycle = $lifecycle;
1933    }
1934  
1935    public function getLifecycle()
1936    {
1937      return $this->lifecycle;
1938    }
1939  
1940    public function setLocation($location)
1941    {
1942      $this->location = $location;
1943    }
1944  
1945    public function getLocation()
1946    {
1947      return $this->location;
1948    }
1949  
1950    public function setLogging(Google_Service_Storage_BucketLogging $logging)
1951    {
1952      $this->logging = $logging;
1953    }
1954  
1955    public function getLogging()
1956    {
1957      return $this->logging;
1958    }
1959  
1960    public function setMetageneration($metageneration)
1961    {
1962      $this->metageneration = $metageneration;
1963    }
1964  
1965    public function getMetageneration()
1966    {
1967      return $this->metageneration;
1968    }
1969  
1970    public function setName($name)
1971    {
1972      $this->name = $name;
1973    }
1974  
1975    public function getName()
1976    {
1977      return $this->name;
1978    }
1979  
1980    public function setOwner(Google_Service_Storage_BucketOwner $owner)
1981    {
1982      $this->owner = $owner;
1983    }
1984  
1985    public function getOwner()
1986    {
1987      return $this->owner;
1988    }
1989  
1990    public function setProjectNumber($projectNumber)
1991    {
1992      $this->projectNumber = $projectNumber;
1993    }
1994  
1995    public function getProjectNumber()
1996    {
1997      return $this->projectNumber;
1998    }
1999  
2000    public function setSelfLink($selfLink)
2001    {
2002      $this->selfLink = $selfLink;
2003    }
2004  
2005    public function getSelfLink()
2006    {
2007      return $this->selfLink;
2008    }
2009  
2010    public function setStorageClass($storageClass)
2011    {
2012      $this->storageClass = $storageClass;
2013    }
2014  
2015    public function getStorageClass()
2016    {
2017      return $this->storageClass;
2018    }
2019  
2020    public function setTimeCreated($timeCreated)
2021    {
2022      $this->timeCreated = $timeCreated;
2023    }
2024  
2025    public function getTimeCreated()
2026    {
2027      return $this->timeCreated;
2028    }
2029  
2030    public function setVersioning(Google_Service_Storage_BucketVersioning $versioning)
2031    {
2032      $this->versioning = $versioning;
2033    }
2034  
2035    public function getVersioning()
2036    {
2037      return $this->versioning;
2038    }
2039  
2040    public function setWebsite(Google_Service_Storage_BucketWebsite $website)
2041    {
2042      $this->website = $website;
2043    }
2044  
2045    public function getWebsite()
2046    {
2047      return $this->website;
2048    }
2049  }
2050  
2051  class Google_Service_Storage_BucketAccessControl extends Google_Model
2052  {
2053    public $bucket;
2054    public $domain;
2055    public $email;
2056    public $entity;
2057    public $entityId;
2058    public $etag;
2059    public $id;
2060    public $kind;
2061    protected $projectTeamType = 'Google_Service_Storage_BucketAccessControlProjectTeam';
2062    protected $projectTeamDataType = '';
2063    public $role;
2064    public $selfLink;
2065  
2066    public function setBucket($bucket)
2067    {
2068      $this->bucket = $bucket;
2069    }
2070  
2071    public function getBucket()
2072    {
2073      return $this->bucket;
2074    }
2075  
2076    public function setDomain($domain)
2077    {
2078      $this->domain = $domain;
2079    }
2080  
2081    public function getDomain()
2082    {
2083      return $this->domain;
2084    }
2085  
2086    public function setEmail($email)
2087    {
2088      $this->email = $email;
2089    }
2090  
2091    public function getEmail()
2092    {
2093      return $this->email;
2094    }
2095  
2096    public function setEntity($entity)
2097    {
2098      $this->entity = $entity;
2099    }
2100  
2101    public function getEntity()
2102    {
2103      return $this->entity;
2104    }
2105  
2106    public function setEntityId($entityId)
2107    {
2108      $this->entityId = $entityId;
2109    }
2110  
2111    public function getEntityId()
2112    {
2113      return $this->entityId;
2114    }
2115  
2116    public function setEtag($etag)
2117    {
2118      $this->etag = $etag;
2119    }
2120  
2121    public function getEtag()
2122    {
2123      return $this->etag;
2124    }
2125  
2126    public function setId($id)
2127    {
2128      $this->id = $id;
2129    }
2130  
2131    public function getId()
2132    {
2133      return $this->id;
2134    }
2135  
2136    public function setKind($kind)
2137    {
2138      $this->kind = $kind;
2139    }
2140  
2141    public function getKind()
2142    {
2143      return $this->kind;
2144    }
2145  
2146    public function setProjectTeam(Google_Service_Storage_BucketAccessControlProjectTeam $projectTeam)
2147    {
2148      $this->projectTeam = $projectTeam;
2149    }
2150  
2151    public function getProjectTeam()
2152    {
2153      return $this->projectTeam;
2154    }
2155  
2156    public function setRole($role)
2157    {
2158      $this->role = $role;
2159    }
2160  
2161    public function getRole()
2162    {
2163      return $this->role;
2164    }
2165  
2166    public function setSelfLink($selfLink)
2167    {
2168      $this->selfLink = $selfLink;
2169    }
2170  
2171    public function getSelfLink()
2172    {
2173      return $this->selfLink;
2174    }
2175  }
2176  
2177  class Google_Service_Storage_BucketAccessControlProjectTeam extends Google_Model
2178  {
2179    public $projectNumber;
2180    public $team;
2181  
2182    public function setProjectNumber($projectNumber)
2183    {
2184      $this->projectNumber = $projectNumber;
2185    }
2186  
2187    public function getProjectNumber()
2188    {
2189      return $this->projectNumber;
2190    }
2191  
2192    public function setTeam($team)
2193    {
2194      $this->team = $team;
2195    }
2196  
2197    public function getTeam()
2198    {
2199      return $this->team;
2200    }
2201  }
2202  
2203  class Google_Service_Storage_BucketAccessControls extends Google_Collection
2204  {
2205    protected $collection_key = 'items';
2206    protected $itemsType = 'Google_Service_Storage_BucketAccessControl';
2207    protected $itemsDataType = 'array';
2208    public $kind;
2209  
2210    public function setItems($items)
2211    {
2212      $this->items = $items;
2213    }
2214  
2215    public function getItems()
2216    {
2217      return $this->items;
2218    }
2219  
2220    public function setKind($kind)
2221    {
2222      $this->kind = $kind;
2223    }
2224  
2225    public function getKind()
2226    {
2227      return $this->kind;
2228    }
2229  }
2230  
2231  class Google_Service_Storage_BucketCors extends Google_Collection
2232  {
2233    protected $collection_key = 'responseHeader';
2234    public $maxAgeSeconds;
2235    public $method;
2236    public $origin;
2237    public $responseHeader;
2238  
2239    public function setMaxAgeSeconds($maxAgeSeconds)
2240    {
2241      $this->maxAgeSeconds = $maxAgeSeconds;
2242    }
2243  
2244    public function getMaxAgeSeconds()
2245    {
2246      return $this->maxAgeSeconds;
2247    }
2248  
2249    public function setMethod($method)
2250    {
2251      $this->method = $method;
2252    }
2253  
2254    public function getMethod()
2255    {
2256      return $this->method;
2257    }
2258  
2259    public function setOrigin($origin)
2260    {
2261      $this->origin = $origin;
2262    }
2263  
2264    public function getOrigin()
2265    {
2266      return $this->origin;
2267    }
2268  
2269    public function setResponseHeader($responseHeader)
2270    {
2271      $this->responseHeader = $responseHeader;
2272    }
2273  
2274    public function getResponseHeader()
2275    {
2276      return $this->responseHeader;
2277    }
2278  }
2279  
2280  class Google_Service_Storage_BucketLifecycle extends Google_Collection
2281  {
2282    protected $collection_key = 'rule';
2283    protected $ruleType = 'Google_Service_Storage_BucketLifecycleRule';
2284    protected $ruleDataType = 'array';
2285  
2286    public function setRule($rule)
2287    {
2288      $this->rule = $rule;
2289    }
2290  
2291    public function getRule()
2292    {
2293      return $this->rule;
2294    }
2295  }
2296  
2297  class Google_Service_Storage_BucketLifecycleRule extends Google_Model
2298  {
2299    protected $actionType = 'Google_Service_Storage_BucketLifecycleRuleAction';
2300    protected $actionDataType = '';
2301    protected $conditionType = 'Google_Service_Storage_BucketLifecycleRuleCondition';
2302    protected $conditionDataType = '';
2303  
2304    public function setAction(Google_Service_Storage_BucketLifecycleRuleAction $action)
2305    {
2306      $this->action = $action;
2307    }
2308  
2309    public function getAction()
2310    {
2311      return $this->action;
2312    }
2313  
2314    public function setCondition(Google_Service_Storage_BucketLifecycleRuleCondition $condition)
2315    {
2316      $this->condition = $condition;
2317    }
2318  
2319    public function getCondition()
2320    {
2321      return $this->condition;
2322    }
2323  }
2324  
2325  class Google_Service_Storage_BucketLifecycleRuleAction extends Google_Model
2326  {
2327    public $type;
2328  
2329    public function setType($type)
2330    {
2331      $this->type = $type;
2332    }
2333  
2334    public function getType()
2335    {
2336      return $this->type;
2337    }
2338  }
2339  
2340  class Google_Service_Storage_BucketLifecycleRuleCondition extends Google_Model
2341  {
2342    public $age;
2343    public $createdBefore;
2344    public $isLive;
2345    public $numNewerVersions;
2346  
2347    public function setAge($age)
2348    {
2349      $this->age = $age;
2350    }
2351  
2352    public function getAge()
2353    {
2354      return $this->age;
2355    }
2356  
2357    public function setCreatedBefore($createdBefore)
2358    {
2359      $this->createdBefore = $createdBefore;
2360    }
2361  
2362    public function getCreatedBefore()
2363    {
2364      return $this->createdBefore;
2365    }
2366  
2367    public function setIsLive($isLive)
2368    {
2369      $this->isLive = $isLive;
2370    }
2371  
2372    public function getIsLive()
2373    {
2374      return $this->isLive;
2375    }
2376  
2377    public function setNumNewerVersions($numNewerVersions)
2378    {
2379      $this->numNewerVersions = $numNewerVersions;
2380    }
2381  
2382    public function getNumNewerVersions()
2383    {
2384      return $this->numNewerVersions;
2385    }
2386  }
2387  
2388  class Google_Service_Storage_BucketLogging extends Google_Model
2389  {
2390    public $logBucket;
2391    public $logObjectPrefix;
2392  
2393    public function setLogBucket($logBucket)
2394    {
2395      $this->logBucket = $logBucket;
2396    }
2397  
2398    public function getLogBucket()
2399    {
2400      return $this->logBucket;
2401    }
2402  
2403    public function setLogObjectPrefix($logObjectPrefix)
2404    {
2405      $this->logObjectPrefix = $logObjectPrefix;
2406    }
2407  
2408    public function getLogObjectPrefix()
2409    {
2410      return $this->logObjectPrefix;
2411    }
2412  }
2413  
2414  class Google_Service_Storage_BucketOwner extends Google_Model
2415  {
2416    public $entity;
2417    public $entityId;
2418  
2419    public function setEntity($entity)
2420    {
2421      $this->entity = $entity;
2422    }
2423  
2424    public function getEntity()
2425    {
2426      return $this->entity;
2427    }
2428  
2429    public function setEntityId($entityId)
2430    {
2431      $this->entityId = $entityId;
2432    }
2433  
2434    public function getEntityId()
2435    {
2436      return $this->entityId;
2437    }
2438  }
2439  
2440  class Google_Service_Storage_BucketVersioning extends Google_Model
2441  {
2442    public $enabled;
2443  
2444    public function setEnabled($enabled)
2445    {
2446      $this->enabled = $enabled;
2447    }
2448  
2449    public function getEnabled()
2450    {
2451      return $this->enabled;
2452    }
2453  }
2454  
2455  class Google_Service_Storage_BucketWebsite extends Google_Model
2456  {
2457    public $mainPageSuffix;
2458    public $notFoundPage;
2459  
2460    public function setMainPageSuffix($mainPageSuffix)
2461    {
2462      $this->mainPageSuffix = $mainPageSuffix;
2463    }
2464  
2465    public function getMainPageSuffix()
2466    {
2467      return $this->mainPageSuffix;
2468    }
2469  
2470    public function setNotFoundPage($notFoundPage)
2471    {
2472      $this->notFoundPage = $notFoundPage;
2473    }
2474  
2475    public function getNotFoundPage()
2476    {
2477      return $this->notFoundPage;
2478    }
2479  }
2480  
2481  class Google_Service_Storage_Buckets extends Google_Collection
2482  {
2483    protected $collection_key = 'items';
2484    protected $itemsType = 'Google_Service_Storage_Bucket';
2485    protected $itemsDataType = 'array';
2486    public $kind;
2487    public $nextPageToken;
2488  
2489    public function setItems($items)
2490    {
2491      $this->items = $items;
2492    }
2493  
2494    public function getItems()
2495    {
2496      return $this->items;
2497    }
2498  
2499    public function setKind($kind)
2500    {
2501      $this->kind = $kind;
2502    }
2503  
2504    public function getKind()
2505    {
2506      return $this->kind;
2507    }
2508  
2509    public function setNextPageToken($nextPageToken)
2510    {
2511      $this->nextPageToken = $nextPageToken;
2512    }
2513  
2514    public function getNextPageToken()
2515    {
2516      return $this->nextPageToken;
2517    }
2518  }
2519  
2520  class Google_Service_Storage_Channel extends Google_Model
2521  {
2522    public $address;
2523    public $expiration;
2524    public $id;
2525    public $kind;
2526    public $params;
2527    public $payload;
2528    public $resourceId;
2529    public $resourceUri;
2530    public $token;
2531    public $type;
2532  
2533    public function setAddress($address)
2534    {
2535      $this->address = $address;
2536    }
2537  
2538    public function getAddress()
2539    {
2540      return $this->address;
2541    }
2542  
2543    public function setExpiration($expiration)
2544    {
2545      $this->expiration = $expiration;
2546    }
2547  
2548    public function getExpiration()
2549    {
2550      return $this->expiration;
2551    }
2552  
2553    public function setId($id)
2554    {
2555      $this->id = $id;
2556    }
2557  
2558    public function getId()
2559    {
2560      return $this->id;
2561    }
2562  
2563    public function setKind($kind)
2564    {
2565      $this->kind = $kind;
2566    }
2567  
2568    public function getKind()
2569    {
2570      return $this->kind;
2571    }
2572  
2573    public function setParams($params)
2574    {
2575      $this->params = $params;
2576    }
2577  
2578    public function getParams()
2579    {
2580      return $this->params;
2581    }
2582  
2583    public function setPayload($payload)
2584    {
2585      $this->payload = $payload;
2586    }
2587  
2588    public function getPayload()
2589    {
2590      return $this->payload;
2591    }
2592  
2593    public function setResourceId($resourceId)
2594    {
2595      $this->resourceId = $resourceId;
2596    }
2597  
2598    public function getResourceId()
2599    {
2600      return $this->resourceId;
2601    }
2602  
2603    public function setResourceUri($resourceUri)
2604    {
2605      $this->resourceUri = $resourceUri;
2606    }
2607  
2608    public function getResourceUri()
2609    {
2610      return $this->resourceUri;
2611    }
2612  
2613    public function setToken($token)
2614    {
2615      $this->token = $token;
2616    }
2617  
2618    public function getToken()
2619    {
2620      return $this->token;
2621    }
2622  
2623    public function setType($type)
2624    {
2625      $this->type = $type;
2626    }
2627  
2628    public function getType()
2629    {
2630      return $this->type;
2631    }
2632  }
2633  
2634  class Google_Service_Storage_ChannelParams extends Google_Model
2635  {
2636  
2637  }
2638  
2639  class Google_Service_Storage_ComposeRequest extends Google_Collection
2640  {
2641    protected $collection_key = 'sourceObjects';
2642    protected $destinationType = 'Google_Service_Storage_StorageObject';
2643    protected $destinationDataType = '';
2644    public $kind;
2645    protected $sourceObjectsType = 'Google_Service_Storage_ComposeRequestSourceObjects';
2646    protected $sourceObjectsDataType = 'array';
2647  
2648    public function setDestination(Google_Service_Storage_StorageObject $destination)
2649    {
2650      $this->destination = $destination;
2651    }
2652  
2653    public function getDestination()
2654    {
2655      return $this->destination;
2656    }
2657  
2658    public function setKind($kind)
2659    {
2660      $this->kind = $kind;
2661    }
2662  
2663    public function getKind()
2664    {
2665      return $this->kind;
2666    }
2667  
2668    public function setSourceObjects($sourceObjects)
2669    {
2670      $this->sourceObjects = $sourceObjects;
2671    }
2672  
2673    public function getSourceObjects()
2674    {
2675      return $this->sourceObjects;
2676    }
2677  }
2678  
2679  class Google_Service_Storage_ComposeRequestSourceObjects extends Google_Model
2680  {
2681    public $generation;
2682    public $name;
2683    protected $objectPreconditionsType = 'Google_Service_Storage_ComposeRequestSourceObjectsObjectPreconditions';
2684    protected $objectPreconditionsDataType = '';
2685  
2686    public function setGeneration($generation)
2687    {
2688      $this->generation = $generation;
2689    }
2690  
2691    public function getGeneration()
2692    {
2693      return $this->generation;
2694    }
2695  
2696    public function setName($name)
2697    {
2698      $this->name = $name;
2699    }
2700  
2701    public function getName()
2702    {
2703      return $this->name;
2704    }
2705  
2706    public function setObjectPreconditions(Google_Service_Storage_ComposeRequestSourceObjectsObjectPreconditions $objectPreconditions)
2707    {
2708      $this->objectPreconditions = $objectPreconditions;
2709    }
2710  
2711    public function getObjectPreconditions()
2712    {
2713      return $this->objectPreconditions;
2714    }
2715  }
2716  
2717  class Google_Service_Storage_ComposeRequestSourceObjectsObjectPreconditions extends Google_Model
2718  {
2719    public $ifGenerationMatch;
2720  
2721    public function setIfGenerationMatch($ifGenerationMatch)
2722    {
2723      $this->ifGenerationMatch = $ifGenerationMatch;
2724    }
2725  
2726    public function getIfGenerationMatch()
2727    {
2728      return $this->ifGenerationMatch;
2729    }
2730  }
2731  
2732  class Google_Service_Storage_ObjectAccessControl extends Google_Model
2733  {
2734    public $bucket;
2735    public $domain;
2736    public $email;
2737    public $entity;
2738    public $entityId;
2739    public $etag;
2740    public $generation;
2741    public $id;
2742    public $kind;
2743    public $object;
2744    protected $projectTeamType = 'Google_Service_Storage_ObjectAccessControlProjectTeam';
2745    protected $projectTeamDataType = '';
2746    public $role;
2747    public $selfLink;
2748  
2749    public function setBucket($bucket)
2750    {
2751      $this->bucket = $bucket;
2752    }
2753  
2754    public function getBucket()
2755    {
2756      return $this->bucket;
2757    }
2758  
2759    public function setDomain($domain)
2760    {
2761      $this->domain = $domain;
2762    }
2763  
2764    public function getDomain()
2765    {
2766      return $this->domain;
2767    }
2768  
2769    public function setEmail($email)
2770    {
2771      $this->email = $email;
2772    }
2773  
2774    public function getEmail()
2775    {
2776      return $this->email;
2777    }
2778  
2779    public function setEntity($entity)
2780    {
2781      $this->entity = $entity;
2782    }
2783  
2784    public function getEntity()
2785    {
2786      return $this->entity;
2787    }
2788  
2789    public function setEntityId($entityId)
2790    {
2791      $this->entityId = $entityId;
2792    }
2793  
2794    public function getEntityId()
2795    {
2796      return $this->entityId;
2797    }
2798  
2799    public function setEtag($etag)
2800    {
2801      $this->etag = $etag;
2802    }
2803  
2804    public function getEtag()
2805    {
2806      return $this->etag;
2807    }
2808  
2809    public function setGeneration($generation)
2810    {
2811      $this->generation = $generation;
2812    }
2813  
2814    public function getGeneration()
2815    {
2816      return $this->generation;
2817    }
2818  
2819    public function setId($id)
2820    {
2821      $this->id = $id;
2822    }
2823  
2824    public function getId()
2825    {
2826      return $this->id;
2827    }
2828  
2829    public function setKind($kind)
2830    {
2831      $this->kind = $kind;
2832    }
2833  
2834    public function getKind()
2835    {
2836      return $this->kind;
2837    }
2838  
2839    public function setObject($object)
2840    {
2841      $this->object = $object;
2842    }
2843  
2844    public function getObject()
2845    {
2846      return $this->object;
2847    }
2848  
2849    public function setProjectTeam(Google_Service_Storage_ObjectAccessControlProjectTeam $projectTeam)
2850    {
2851      $this->projectTeam = $projectTeam;
2852    }
2853  
2854    public function getProjectTeam()
2855    {
2856      return $this->projectTeam;
2857    }
2858  
2859    public function setRole($role)
2860    {
2861      $this->role = $role;
2862    }
2863  
2864    public function getRole()
2865    {
2866      return $this->role;
2867    }
2868  
2869    public function setSelfLink($selfLink)
2870    {
2871      $this->selfLink = $selfLink;
2872    }
2873  
2874    public function getSelfLink()
2875    {
2876      return $this->selfLink;
2877    }
2878  }
2879  
2880  class Google_Service_Storage_ObjectAccessControlProjectTeam extends Google_Model
2881  {
2882    public $projectNumber;
2883    public $team;
2884  
2885    public function setProjectNumber($projectNumber)
2886    {
2887      $this->projectNumber = $projectNumber;
2888    }
2889  
2890    public function getProjectNumber()
2891    {
2892      return $this->projectNumber;
2893    }
2894  
2895    public function setTeam($team)
2896    {
2897      $this->team = $team;
2898    }
2899  
2900    public function getTeam()
2901    {
2902      return $this->team;
2903    }
2904  }
2905  
2906  class Google_Service_Storage_ObjectAccessControls extends Google_Collection
2907  {
2908    protected $collection_key = 'items';
2909    public $items;
2910    public $kind;
2911  
2912    public function setItems($items)
2913    {
2914      $this->items = $items;
2915    }
2916  
2917    public function getItems()
2918    {
2919      return $this->items;
2920    }
2921  
2922    public function setKind($kind)
2923    {
2924      $this->kind = $kind;
2925    }
2926  
2927    public function getKind()
2928    {
2929      return $this->kind;
2930    }
2931  }
2932  
2933  class Google_Service_Storage_Objects extends Google_Collection
2934  {
2935    protected $collection_key = 'prefixes';
2936    protected $itemsType = 'Google_Service_Storage_StorageObject';
2937    protected $itemsDataType = 'array';
2938    public $kind;
2939    public $nextPageToken;
2940    public $prefixes;
2941  
2942    public function setItems($items)
2943    {
2944      $this->items = $items;
2945    }
2946  
2947    public function getItems()
2948    {
2949      return $this->items;
2950    }
2951  
2952    public function setKind($kind)
2953    {
2954      $this->kind = $kind;
2955    }
2956  
2957    public function getKind()
2958    {
2959      return $this->kind;
2960    }
2961  
2962    public function setNextPageToken($nextPageToken)
2963    {
2964      $this->nextPageToken = $nextPageToken;
2965    }
2966  
2967    public function getNextPageToken()
2968    {
2969      return $this->nextPageToken;
2970    }
2971  
2972    public function setPrefixes($prefixes)
2973    {
2974      $this->prefixes = $prefixes;
2975    }
2976  
2977    public function getPrefixes()
2978    {
2979      return $this->prefixes;
2980    }
2981  }
2982  
2983  class Google_Service_Storage_StorageObject extends Google_Collection
2984  {
2985    protected $collection_key = 'acl';
2986    protected $aclType = 'Google_Service_Storage_ObjectAccessControl';
2987    protected $aclDataType = 'array';
2988    public $bucket;
2989    public $cacheControl;
2990    public $componentCount;
2991    public $contentDisposition;
2992    public $contentEncoding;
2993    public $contentLanguage;
2994    public $contentType;
2995    public $crc32c;
2996    public $etag;
2997    public $generation;
2998    public $id;
2999    public $kind;
3000    public $md5Hash;
3001    public $mediaLink;
3002    public $metadata;
3003    public $metageneration;
3004    public $name;
3005    protected $ownerType = 'Google_Service_Storage_StorageObjectOwner';
3006    protected $ownerDataType = '';
3007    public $selfLink;
3008    public $size;
3009    public $storageClass;
3010    public $timeDeleted;
3011    public $updated;
3012  
3013    public function setAcl($acl)
3014    {
3015      $this->acl = $acl;
3016    }
3017  
3018    public function getAcl()
3019    {
3020      return $this->acl;
3021    }
3022  
3023    public function setBucket($bucket)
3024    {
3025      $this->bucket = $bucket;
3026    }
3027  
3028    public function getBucket()
3029    {
3030      return $this->bucket;
3031    }
3032  
3033    public function setCacheControl($cacheControl)
3034    {
3035      $this->cacheControl = $cacheControl;
3036    }
3037  
3038    public function getCacheControl()
3039    {
3040      return $this->cacheControl;
3041    }
3042  
3043    public function setComponentCount($componentCount)
3044    {
3045      $this->componentCount = $componentCount;
3046    }
3047  
3048    public function getComponentCount()
3049    {
3050      return $this->componentCount;
3051    }
3052  
3053    public function setContentDisposition($contentDisposition)
3054    {
3055      $this->contentDisposition = $contentDisposition;
3056    }
3057  
3058    public function getContentDisposition()
3059    {
3060      return $this->contentDisposition;
3061    }
3062  
3063    public function setContentEncoding($contentEncoding)
3064    {
3065      $this->contentEncoding = $contentEncoding;
3066    }
3067  
3068    public function getContentEncoding()
3069    {
3070      return $this->contentEncoding;
3071    }
3072  
3073    public function setContentLanguage($contentLanguage)
3074    {
3075      $this->contentLanguage = $contentLanguage;
3076    }
3077  
3078    public function getContentLanguage()
3079    {
3080      return $this->contentLanguage;
3081    }
3082  
3083    public function setContentType($contentType)
3084    {
3085      $this->contentType = $contentType;
3086    }
3087  
3088    public function getContentType()
3089    {
3090      return $this->contentType;
3091    }
3092  
3093    public function setCrc32c($crc32c)
3094    {
3095      $this->crc32c = $crc32c;
3096    }
3097  
3098    public function getCrc32c()
3099    {
3100      return $this->crc32c;
3101    }
3102  
3103    public function setEtag($etag)
3104    {
3105      $this->etag = $etag;
3106    }
3107  
3108    public function getEtag()
3109    {
3110      return $this->etag;
3111    }
3112  
3113    public function setGeneration($generation)
3114    {
3115      $this->generation = $generation;
3116    }
3117  
3118    public function getGeneration()
3119    {
3120      return $this->generation;
3121    }
3122  
3123    public function setId($id)
3124    {
3125      $this->id = $id;
3126    }
3127  
3128    public function getId()
3129    {
3130      return $this->id;
3131    }
3132  
3133    public function setKind($kind)
3134    {
3135      $this->kind = $kind;
3136    }
3137  
3138    public function getKind()
3139    {
3140      return $this->kind;
3141    }
3142  
3143    public function setMd5Hash($md5Hash)
3144    {
3145      $this->md5Hash = $md5Hash;
3146    }
3147  
3148    public function getMd5Hash()
3149    {
3150      return $this->md5Hash;
3151    }
3152  
3153    public function setMediaLink($mediaLink)
3154    {
3155      $this->mediaLink = $mediaLink;
3156    }
3157  
3158    public function getMediaLink()
3159    {
3160      return $this->mediaLink;
3161    }
3162  
3163    public function setMetadata($metadata)
3164    {
3165      $this->metadata = $metadata;
3166    }
3167  
3168    public function getMetadata()
3169    {
3170      return $this->metadata;
3171    }
3172  
3173    public function setMetageneration($metageneration)
3174    {
3175      $this->metageneration = $metageneration;
3176    }
3177  
3178    public function getMetageneration()
3179    {
3180      return $this->metageneration;
3181    }
3182  
3183    public function setName($name)
3184    {
3185      $this->name = $name;
3186    }
3187  
3188    public function getName()
3189    {
3190      return $this->name;
3191    }
3192  
3193    public function setOwner(Google_Service_Storage_StorageObjectOwner $owner)
3194    {
3195      $this->owner = $owner;
3196    }
3197  
3198    public function getOwner()
3199    {
3200      return $this->owner;
3201    }
3202  
3203    public function setSelfLink($selfLink)
3204    {
3205      $this->selfLink = $selfLink;
3206    }
3207  
3208    public function getSelfLink()
3209    {
3210      return $this->selfLink;
3211    }
3212  
3213    public function setSize($size)
3214    {
3215      $this->size = $size;
3216    }
3217  
3218    public function getSize()
3219    {
3220      return $this->size;
3221    }
3222  
3223    public function setStorageClass($storageClass)
3224    {
3225      $this->storageClass = $storageClass;
3226    }
3227  
3228    public function getStorageClass()
3229    {
3230      return $this->storageClass;
3231    }
3232  
3233    public function setTimeDeleted($timeDeleted)
3234    {
3235      $this->timeDeleted = $timeDeleted;
3236    }
3237  
3238    public function getTimeDeleted()
3239    {
3240      return $this->timeDeleted;
3241    }
3242  
3243    public function setUpdated($updated)
3244    {
3245      $this->updated = $updated;
3246    }
3247  
3248    public function getUpdated()
3249    {
3250      return $this->updated;
3251    }
3252  }
3253  
3254  class Google_Service_Storage_StorageObjectMetadata extends Google_Model
3255  {
3256  
3257  }
3258  
3259  class Google_Service_Storage_StorageObjectOwner extends Google_Model
3260  {
3261    public $entity;
3262    public $entityId;
3263  
3264    public function setEntity($entity)
3265    {
3266      $this->entity = $entity;
3267    }
3268  
3269    public function getEntity()
3270    {
3271      return $this->entity;
3272    }
3273  
3274    public function setEntityId($entityId)
3275    {
3276      $this->entityId = $entityId;
3277    }
3278  
3279    public function getEntityId()
3280    {
3281      return $this->entityId;
3282    }
3283  }


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1