Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 311 and 402] [Versions 311 and 403]

   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 CloudUserAccounts (vm_alpha).
  20   *
  21   * <p>
  22   * API for the Google Cloud User Accounts service.</p>
  23   *
  24   * <p>
  25   * For more information about this service, see the API
  26   * <a href="https://cloud.google.com/compute/docs/access/user-accounts/api/latest/" target="_blank">Documentation</a>
  27   * </p>
  28   *
  29   * @author Google, Inc.
  30   */
  31  class Google_Service_CloudUserAccounts extends Google_Service
  32  {
  33    /** View and manage your data across Google Cloud Platform services. */
  34    const CLOUD_PLATFORM =
  35        "https://www.googleapis.com/auth/cloud-platform";
  36    /** View your data across Google Cloud Platform services. */
  37    const CLOUD_PLATFORM_READ_ONLY =
  38        "https://www.googleapis.com/auth/cloud-platform.read-only";
  39    /** Manage your Google Cloud User Accounts. */
  40    const CLOUD_USERACCOUNTS =
  41        "https://www.googleapis.com/auth/cloud.useraccounts";
  42    /** View your Google Cloud User Accounts. */
  43    const CLOUD_USERACCOUNTS_READONLY =
  44        "https://www.googleapis.com/auth/cloud.useraccounts.readonly";
  45  
  46    public $globalAccountsOperations;
  47    public $groups;
  48    public $linux;
  49    public $users;
  50    
  51  
  52    /**
  53     * Constructs the internal representation of the CloudUserAccounts service.
  54     *
  55     * @param Google_Client $client
  56     */
  57    public function __construct(Google_Client $client)
  58    {
  59      parent::__construct($client);
  60      $this->rootUrl = 'https://www.googleapis.com/';
  61      $this->servicePath = 'clouduseraccounts/vm_alpha/projects/';
  62      $this->version = 'vm_alpha';
  63      $this->serviceName = 'clouduseraccounts';
  64  
  65      $this->globalAccountsOperations = new Google_Service_CloudUserAccounts_GlobalAccountsOperations_Resource(
  66          $this,
  67          $this->serviceName,
  68          'globalAccountsOperations',
  69          array(
  70            'methods' => array(
  71              'delete' => array(
  72                'path' => '{project}/global/operations/{operation}',
  73                'httpMethod' => 'DELETE',
  74                'parameters' => array(
  75                  'project' => array(
  76                    'location' => 'path',
  77                    'type' => 'string',
  78                    'required' => true,
  79                  ),
  80                  'operation' => array(
  81                    'location' => 'path',
  82                    'type' => 'string',
  83                    'required' => true,
  84                  ),
  85                ),
  86              ),'get' => array(
  87                'path' => '{project}/global/operations/{operation}',
  88                'httpMethod' => 'GET',
  89                'parameters' => array(
  90                  'project' => array(
  91                    'location' => 'path',
  92                    'type' => 'string',
  93                    'required' => true,
  94                  ),
  95                  'operation' => array(
  96                    'location' => 'path',
  97                    'type' => 'string',
  98                    'required' => true,
  99                  ),
 100                ),
 101              ),'list' => array(
 102                'path' => '{project}/global/operations',
 103                'httpMethod' => 'GET',
 104                'parameters' => array(
 105                  'project' => array(
 106                    'location' => 'path',
 107                    'type' => 'string',
 108                    'required' => true,
 109                  ),
 110                  'filter' => array(
 111                    'location' => 'query',
 112                    'type' => 'string',
 113                  ),
 114                  'orderBy' => array(
 115                    'location' => 'query',
 116                    'type' => 'string',
 117                  ),
 118                  'maxResults' => array(
 119                    'location' => 'query',
 120                    'type' => 'integer',
 121                  ),
 122                  'pageToken' => array(
 123                    'location' => 'query',
 124                    'type' => 'string',
 125                  ),
 126                ),
 127              ),
 128            )
 129          )
 130      );
 131      $this->groups = new Google_Service_CloudUserAccounts_Groups_Resource(
 132          $this,
 133          $this->serviceName,
 134          'groups',
 135          array(
 136            'methods' => array(
 137              'addMember' => array(
 138                'path' => '{project}/global/groups/{groupName}/addMember',
 139                'httpMethod' => 'POST',
 140                'parameters' => array(
 141                  'project' => array(
 142                    'location' => 'path',
 143                    'type' => 'string',
 144                    'required' => true,
 145                  ),
 146                  'groupName' => array(
 147                    'location' => 'path',
 148                    'type' => 'string',
 149                    'required' => true,
 150                  ),
 151                ),
 152              ),'delete' => array(
 153                'path' => '{project}/global/groups/{groupName}',
 154                'httpMethod' => 'DELETE',
 155                'parameters' => array(
 156                  'project' => array(
 157                    'location' => 'path',
 158                    'type' => 'string',
 159                    'required' => true,
 160                  ),
 161                  'groupName' => array(
 162                    'location' => 'path',
 163                    'type' => 'string',
 164                    'required' => true,
 165                  ),
 166                ),
 167              ),'get' => array(
 168                'path' => '{project}/global/groups/{groupName}',
 169                'httpMethod' => 'GET',
 170                'parameters' => array(
 171                  'project' => array(
 172                    'location' => 'path',
 173                    'type' => 'string',
 174                    'required' => true,
 175                  ),
 176                  'groupName' => array(
 177                    'location' => 'path',
 178                    'type' => 'string',
 179                    'required' => true,
 180                  ),
 181                ),
 182              ),'getIamPolicy' => array(
 183                'path' => '{project}/global/groups/{resource}/getIamPolicy',
 184                'httpMethod' => 'GET',
 185                'parameters' => array(
 186                  'project' => array(
 187                    'location' => 'path',
 188                    'type' => 'string',
 189                    'required' => true,
 190                  ),
 191                  'resource' => array(
 192                    'location' => 'path',
 193                    'type' => 'string',
 194                    'required' => true,
 195                  ),
 196                ),
 197              ),'insert' => array(
 198                'path' => '{project}/global/groups',
 199                'httpMethod' => 'POST',
 200                'parameters' => array(
 201                  'project' => array(
 202                    'location' => 'path',
 203                    'type' => 'string',
 204                    'required' => true,
 205                  ),
 206                ),
 207              ),'list' => array(
 208                'path' => '{project}/global/groups',
 209                'httpMethod' => 'GET',
 210                'parameters' => array(
 211                  'project' => array(
 212                    'location' => 'path',
 213                    'type' => 'string',
 214                    'required' => true,
 215                  ),
 216                  'filter' => array(
 217                    'location' => 'query',
 218                    'type' => 'string',
 219                  ),
 220                  'orderBy' => array(
 221                    'location' => 'query',
 222                    'type' => 'string',
 223                  ),
 224                  'maxResults' => array(
 225                    'location' => 'query',
 226                    'type' => 'integer',
 227                  ),
 228                  'pageToken' => array(
 229                    'location' => 'query',
 230                    'type' => 'string',
 231                  ),
 232                ),
 233              ),'removeMember' => array(
 234                'path' => '{project}/global/groups/{groupName}/removeMember',
 235                'httpMethod' => 'POST',
 236                'parameters' => array(
 237                  'project' => array(
 238                    'location' => 'path',
 239                    'type' => 'string',
 240                    'required' => true,
 241                  ),
 242                  'groupName' => array(
 243                    'location' => 'path',
 244                    'type' => 'string',
 245                    'required' => true,
 246                  ),
 247                ),
 248              ),'setIamPolicy' => array(
 249                'path' => '{project}/global/groups/{resource}/setIamPolicy',
 250                'httpMethod' => 'POST',
 251                'parameters' => array(
 252                  'project' => array(
 253                    'location' => 'path',
 254                    'type' => 'string',
 255                    'required' => true,
 256                  ),
 257                  'resource' => array(
 258                    'location' => 'path',
 259                    'type' => 'string',
 260                    'required' => true,
 261                  ),
 262                ),
 263              ),'testIamPermissions' => array(
 264                'path' => '{project}/global/groups/{resource}/testIamPermissions',
 265                'httpMethod' => 'POST',
 266                'parameters' => array(
 267                  'project' => array(
 268                    'location' => 'path',
 269                    'type' => 'string',
 270                    'required' => true,
 271                  ),
 272                  'resource' => array(
 273                    'location' => 'path',
 274                    'type' => 'string',
 275                    'required' => true,
 276                  ),
 277                ),
 278              ),
 279            )
 280          )
 281      );
 282      $this->linux = new Google_Service_CloudUserAccounts_Linux_Resource(
 283          $this,
 284          $this->serviceName,
 285          'linux',
 286          array(
 287            'methods' => array(
 288              'getAuthorizedKeysView' => array(
 289                'path' => '{project}/zones/{zone}/authorizedKeysView/{user}',
 290                'httpMethod' => 'POST',
 291                'parameters' => array(
 292                  'project' => array(
 293                    'location' => 'path',
 294                    'type' => 'string',
 295                    'required' => true,
 296                  ),
 297                  'zone' => array(
 298                    'location' => 'path',
 299                    'type' => 'string',
 300                    'required' => true,
 301                  ),
 302                  'user' => array(
 303                    'location' => 'path',
 304                    'type' => 'string',
 305                    'required' => true,
 306                  ),
 307                  'instance' => array(
 308                    'location' => 'query',
 309                    'type' => 'string',
 310                    'required' => true,
 311                  ),
 312                  'login' => array(
 313                    'location' => 'query',
 314                    'type' => 'boolean',
 315                  ),
 316                ),
 317              ),'getLinuxAccountViews' => array(
 318                'path' => '{project}/zones/{zone}/linuxAccountViews',
 319                'httpMethod' => 'POST',
 320                'parameters' => array(
 321                  'project' => array(
 322                    'location' => 'path',
 323                    'type' => 'string',
 324                    'required' => true,
 325                  ),
 326                  'zone' => array(
 327                    'location' => 'path',
 328                    'type' => 'string',
 329                    'required' => true,
 330                  ),
 331                  'instance' => array(
 332                    'location' => 'query',
 333                    'type' => 'string',
 334                    'required' => true,
 335                  ),
 336                  'orderBy' => array(
 337                    'location' => 'query',
 338                    'type' => 'string',
 339                  ),
 340                  'pageToken' => array(
 341                    'location' => 'query',
 342                    'type' => 'string',
 343                  ),
 344                  'maxResults' => array(
 345                    'location' => 'query',
 346                    'type' => 'integer',
 347                  ),
 348                  'filter' => array(
 349                    'location' => 'query',
 350                    'type' => 'string',
 351                  ),
 352                ),
 353              ),
 354            )
 355          )
 356      );
 357      $this->users = new Google_Service_CloudUserAccounts_Users_Resource(
 358          $this,
 359          $this->serviceName,
 360          'users',
 361          array(
 362            'methods' => array(
 363              'addPublicKey' => array(
 364                'path' => '{project}/global/users/{user}/addPublicKey',
 365                'httpMethod' => 'POST',
 366                'parameters' => array(
 367                  'project' => array(
 368                    'location' => 'path',
 369                    'type' => 'string',
 370                    'required' => true,
 371                  ),
 372                  'user' => array(
 373                    'location' => 'path',
 374                    'type' => 'string',
 375                    'required' => true,
 376                  ),
 377                ),
 378              ),'delete' => array(
 379                'path' => '{project}/global/users/{user}',
 380                'httpMethod' => 'DELETE',
 381                'parameters' => array(
 382                  'project' => array(
 383                    'location' => 'path',
 384                    'type' => 'string',
 385                    'required' => true,
 386                  ),
 387                  'user' => array(
 388                    'location' => 'path',
 389                    'type' => 'string',
 390                    'required' => true,
 391                  ),
 392                ),
 393              ),'get' => array(
 394                'path' => '{project}/global/users/{user}',
 395                'httpMethod' => 'GET',
 396                'parameters' => array(
 397                  'project' => array(
 398                    'location' => 'path',
 399                    'type' => 'string',
 400                    'required' => true,
 401                  ),
 402                  'user' => array(
 403                    'location' => 'path',
 404                    'type' => 'string',
 405                    'required' => true,
 406                  ),
 407                ),
 408              ),'getIamPolicy' => array(
 409                'path' => '{project}/global/users/{resource}/getIamPolicy',
 410                'httpMethod' => 'GET',
 411                'parameters' => array(
 412                  'project' => array(
 413                    'location' => 'path',
 414                    'type' => 'string',
 415                    'required' => true,
 416                  ),
 417                  'resource' => array(
 418                    'location' => 'path',
 419                    'type' => 'string',
 420                    'required' => true,
 421                  ),
 422                ),
 423              ),'insert' => array(
 424                'path' => '{project}/global/users',
 425                'httpMethod' => 'POST',
 426                'parameters' => array(
 427                  'project' => array(
 428                    'location' => 'path',
 429                    'type' => 'string',
 430                    'required' => true,
 431                  ),
 432                ),
 433              ),'list' => array(
 434                'path' => '{project}/global/users',
 435                'httpMethod' => 'GET',
 436                'parameters' => array(
 437                  'project' => array(
 438                    'location' => 'path',
 439                    'type' => 'string',
 440                    'required' => true,
 441                  ),
 442                  'filter' => array(
 443                    'location' => 'query',
 444                    'type' => 'string',
 445                  ),
 446                  'orderBy' => array(
 447                    'location' => 'query',
 448                    'type' => 'string',
 449                  ),
 450                  'maxResults' => array(
 451                    'location' => 'query',
 452                    'type' => 'integer',
 453                  ),
 454                  'pageToken' => array(
 455                    'location' => 'query',
 456                    'type' => 'string',
 457                  ),
 458                ),
 459              ),'removePublicKey' => array(
 460                'path' => '{project}/global/users/{user}/removePublicKey',
 461                'httpMethod' => 'POST',
 462                'parameters' => array(
 463                  'project' => array(
 464                    'location' => 'path',
 465                    'type' => 'string',
 466                    'required' => true,
 467                  ),
 468                  'user' => array(
 469                    'location' => 'path',
 470                    'type' => 'string',
 471                    'required' => true,
 472                  ),
 473                  'fingerprint' => array(
 474                    'location' => 'query',
 475                    'type' => 'string',
 476                    'required' => true,
 477                  ),
 478                ),
 479              ),'setIamPolicy' => array(
 480                'path' => '{project}/global/users/{resource}/setIamPolicy',
 481                'httpMethod' => 'POST',
 482                'parameters' => array(
 483                  'project' => array(
 484                    'location' => 'path',
 485                    'type' => 'string',
 486                    'required' => true,
 487                  ),
 488                  'resource' => array(
 489                    'location' => 'path',
 490                    'type' => 'string',
 491                    'required' => true,
 492                  ),
 493                ),
 494              ),'testIamPermissions' => array(
 495                'path' => '{project}/global/users/{resource}/testIamPermissions',
 496                'httpMethod' => 'POST',
 497                'parameters' => array(
 498                  'project' => array(
 499                    'location' => 'path',
 500                    'type' => 'string',
 501                    'required' => true,
 502                  ),
 503                  'resource' => array(
 504                    'location' => 'path',
 505                    'type' => 'string',
 506                    'required' => true,
 507                  ),
 508                ),
 509              ),
 510            )
 511          )
 512      );
 513    }
 514  }
 515  
 516  
 517  /**
 518   * The "globalAccountsOperations" collection of methods.
 519   * Typical usage is:
 520   *  <code>
 521   *   $clouduseraccountsService = new Google_Service_CloudUserAccounts(...);
 522   *   $globalAccountsOperations = $clouduseraccountsService->globalAccountsOperations;
 523   *  </code>
 524   */
 525  class Google_Service_CloudUserAccounts_GlobalAccountsOperations_Resource extends Google_Service_Resource
 526  {
 527  
 528    /**
 529     * Deletes the specified operation resource. (globalAccountsOperations.delete)
 530     *
 531     * @param string $project Project ID for this request.
 532     * @param string $operation Name of the Operations resource to delete.
 533     * @param array $optParams Optional parameters.
 534     */
 535    public function delete($project, $operation, $optParams = array())
 536    {
 537      $params = array('project' => $project, 'operation' => $operation);
 538      $params = array_merge($params, $optParams);
 539      return $this->call('delete', array($params));
 540    }
 541  
 542    /**
 543     * Retrieves the specified operation resource. (globalAccountsOperations.get)
 544     *
 545     * @param string $project Project ID for this request.
 546     * @param string $operation Name of the Operations resource to return.
 547     * @param array $optParams Optional parameters.
 548     * @return Google_Service_CloudUserAccounts_Operation
 549     */
 550    public function get($project, $operation, $optParams = array())
 551    {
 552      $params = array('project' => $project, 'operation' => $operation);
 553      $params = array_merge($params, $optParams);
 554      return $this->call('get', array($params), "Google_Service_CloudUserAccounts_Operation");
 555    }
 556  
 557    /**
 558     * Retrieves the list of operation resources contained within the specified
 559     * project. (globalAccountsOperations.listGlobalAccountsOperations)
 560     *
 561     * @param string $project Project ID for this request.
 562     * @param array $optParams Optional parameters.
 563     *
 564     * @opt_param string filter Sets a filter expression for filtering listed
 565     * resources, in the form filter={expression}. Your {expression} must be in the
 566     * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
 567     *
 568     * The FIELD_NAME is the name of the field you want to compare. Only atomic
 569     * field types are supported (string, number, boolean). The COMPARISON_STRING
 570     * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the
 571     * string value to filter to. The literal value must be valid for the type of
 572     * field (string, number, boolean). For string fields, the literal value is
 573     * interpreted as a regular expression using RE2 syntax. The literal value must
 574     * match the entire field.
 575     *
 576     * For example, filter=name ne example-instance.
 577     * @opt_param string orderBy Sorts list results by a certain order. By default,
 578     * results are returned in alphanumerical order based on the resource name.
 579     *
 580     * You can also sort results in descending order based on the creation timestamp
 581     * using orderBy="creationTimestamp desc". This sorts results based on the
 582     * creationTimestamp field in reverse chronological order (newest result first).
 583     * Use this to sort resources like operations so that the newest operation is
 584     * returned first.
 585     *
 586     * Currently, only sorting by name or creationTimestamp desc is supported.
 587     * @opt_param string maxResults Maximum count of results to be returned.
 588     * @opt_param string pageToken Specifies a page token to use. Use this parameter
 589     * if you want to list the next page of results. Set pageToken to the
 590     * nextPageToken returned by a previous list request.
 591     * @return Google_Service_CloudUserAccounts_OperationList
 592     */
 593    public function listGlobalAccountsOperations($project, $optParams = array())
 594    {
 595      $params = array('project' => $project);
 596      $params = array_merge($params, $optParams);
 597      return $this->call('list', array($params), "Google_Service_CloudUserAccounts_OperationList");
 598    }
 599  }
 600  
 601  /**
 602   * The "groups" collection of methods.
 603   * Typical usage is:
 604   *  <code>
 605   *   $clouduseraccountsService = new Google_Service_CloudUserAccounts(...);
 606   *   $groups = $clouduseraccountsService->groups;
 607   *  </code>
 608   */
 609  class Google_Service_CloudUserAccounts_Groups_Resource extends Google_Service_Resource
 610  {
 611  
 612    /**
 613     * Adds users to the specified group. (groups.addMember)
 614     *
 615     * @param string $project Project ID for this request.
 616     * @param string $groupName Name of the group for this request.
 617     * @param Google_GroupsAddMemberRequest $postBody
 618     * @param array $optParams Optional parameters.
 619     * @return Google_Service_CloudUserAccounts_Operation
 620     */
 621    public function addMember($project, $groupName, Google_Service_CloudUserAccounts_GroupsAddMemberRequest $postBody, $optParams = array())
 622    {
 623      $params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody);
 624      $params = array_merge($params, $optParams);
 625      return $this->call('addMember', array($params), "Google_Service_CloudUserAccounts_Operation");
 626    }
 627  
 628    /**
 629     * Deletes the specified Group resource. (groups.delete)
 630     *
 631     * @param string $project Project ID for this request.
 632     * @param string $groupName Name of the Group resource to delete.
 633     * @param array $optParams Optional parameters.
 634     * @return Google_Service_CloudUserAccounts_Operation
 635     */
 636    public function delete($project, $groupName, $optParams = array())
 637    {
 638      $params = array('project' => $project, 'groupName' => $groupName);
 639      $params = array_merge($params, $optParams);
 640      return $this->call('delete', array($params), "Google_Service_CloudUserAccounts_Operation");
 641    }
 642  
 643    /**
 644     * Returns the specified Group resource. (groups.get)
 645     *
 646     * @param string $project Project ID for this request.
 647     * @param string $groupName Name of the Group resource to return.
 648     * @param array $optParams Optional parameters.
 649     * @return Google_Service_CloudUserAccounts_Group
 650     */
 651    public function get($project, $groupName, $optParams = array())
 652    {
 653      $params = array('project' => $project, 'groupName' => $groupName);
 654      $params = array_merge($params, $optParams);
 655      return $this->call('get', array($params), "Google_Service_CloudUserAccounts_Group");
 656    }
 657  
 658    /**
 659     * Gets the access control policy for a resource. May be empty if no such policy
 660     * or resource exists. (groups.getIamPolicy)
 661     *
 662     * @param string $project Project ID for this request.
 663     * @param string $resource Name of the resource for this request.
 664     * @param array $optParams Optional parameters.
 665     * @return Google_Service_CloudUserAccounts_Policy
 666     */
 667    public function getIamPolicy($project, $resource, $optParams = array())
 668    {
 669      $params = array('project' => $project, 'resource' => $resource);
 670      $params = array_merge($params, $optParams);
 671      return $this->call('getIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy");
 672    }
 673  
 674    /**
 675     * Creates a Group resource in the specified project using the data included in
 676     * the request. (groups.insert)
 677     *
 678     * @param string $project Project ID for this request.
 679     * @param Google_Group $postBody
 680     * @param array $optParams Optional parameters.
 681     * @return Google_Service_CloudUserAccounts_Operation
 682     */
 683    public function insert($project, Google_Service_CloudUserAccounts_Group $postBody, $optParams = array())
 684    {
 685      $params = array('project' => $project, 'postBody' => $postBody);
 686      $params = array_merge($params, $optParams);
 687      return $this->call('insert', array($params), "Google_Service_CloudUserAccounts_Operation");
 688    }
 689  
 690    /**
 691     * Retrieves the list of groups contained within the specified project.
 692     * (groups.listGroups)
 693     *
 694     * @param string $project Project ID for this request.
 695     * @param array $optParams Optional parameters.
 696     *
 697     * @opt_param string filter Sets a filter expression for filtering listed
 698     * resources, in the form filter={expression}. Your {expression} must be in the
 699     * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
 700     *
 701     * The FIELD_NAME is the name of the field you want to compare. Only atomic
 702     * field types are supported (string, number, boolean). The COMPARISON_STRING
 703     * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the
 704     * string value to filter to. The literal value must be valid for the type of
 705     * field (string, number, boolean). For string fields, the literal value is
 706     * interpreted as a regular expression using RE2 syntax. The literal value must
 707     * match the entire field.
 708     *
 709     * For example, filter=name ne example-instance.
 710     * @opt_param string orderBy Sorts list results by a certain order. By default,
 711     * results are returned in alphanumerical order based on the resource name.
 712     *
 713     * You can also sort results in descending order based on the creation timestamp
 714     * using orderBy="creationTimestamp desc". This sorts results based on the
 715     * creationTimestamp field in reverse chronological order (newest result first).
 716     * Use this to sort resources like operations so that the newest operation is
 717     * returned first.
 718     *
 719     * Currently, only sorting by name or creationTimestamp desc is supported.
 720     * @opt_param string maxResults Maximum count of results to be returned.
 721     * @opt_param string pageToken Specifies a page token to use. Use this parameter
 722     * if you want to list the next page of results. Set pageToken to the
 723     * nextPageToken returned by a previous list request.
 724     * @return Google_Service_CloudUserAccounts_GroupList
 725     */
 726    public function listGroups($project, $optParams = array())
 727    {
 728      $params = array('project' => $project);
 729      $params = array_merge($params, $optParams);
 730      return $this->call('list', array($params), "Google_Service_CloudUserAccounts_GroupList");
 731    }
 732  
 733    /**
 734     * Removes users from the specified group. (groups.removeMember)
 735     *
 736     * @param string $project Project ID for this request.
 737     * @param string $groupName Name of the group for this request.
 738     * @param Google_GroupsRemoveMemberRequest $postBody
 739     * @param array $optParams Optional parameters.
 740     * @return Google_Service_CloudUserAccounts_Operation
 741     */
 742    public function removeMember($project, $groupName, Google_Service_CloudUserAccounts_GroupsRemoveMemberRequest $postBody, $optParams = array())
 743    {
 744      $params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody);
 745      $params = array_merge($params, $optParams);
 746      return $this->call('removeMember', array($params), "Google_Service_CloudUserAccounts_Operation");
 747    }
 748  
 749    /**
 750     * Sets the access control policy on the specified resource. Replaces any
 751     * existing policy. (groups.setIamPolicy)
 752     *
 753     * @param string $project Project ID for this request.
 754     * @param string $resource Name of the resource for this request.
 755     * @param Google_Policy $postBody
 756     * @param array $optParams Optional parameters.
 757     * @return Google_Service_CloudUserAccounts_Policy
 758     */
 759    public function setIamPolicy($project, $resource, Google_Service_CloudUserAccounts_Policy $postBody, $optParams = array())
 760    {
 761      $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody);
 762      $params = array_merge($params, $optParams);
 763      return $this->call('setIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy");
 764    }
 765  
 766    /**
 767     * Returns permissions that a caller has on the specified resource.
 768     * (groups.testIamPermissions)
 769     *
 770     * @param string $project Project ID for this request.
 771     * @param string $resource Name of the resource for this request.
 772     * @param Google_TestPermissionsRequest $postBody
 773     * @param array $optParams Optional parameters.
 774     * @return Google_Service_CloudUserAccounts_TestPermissionsResponse
 775     */
 776    public function testIamPermissions($project, $resource, Google_Service_CloudUserAccounts_TestPermissionsRequest $postBody, $optParams = array())
 777    {
 778      $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody);
 779      $params = array_merge($params, $optParams);
 780      return $this->call('testIamPermissions', array($params), "Google_Service_CloudUserAccounts_TestPermissionsResponse");
 781    }
 782  }
 783  
 784  /**
 785   * The "linux" collection of methods.
 786   * Typical usage is:
 787   *  <code>
 788   *   $clouduseraccountsService = new Google_Service_CloudUserAccounts(...);
 789   *   $linux = $clouduseraccountsService->linux;
 790   *  </code>
 791   */
 792  class Google_Service_CloudUserAccounts_Linux_Resource extends Google_Service_Resource
 793  {
 794  
 795    /**
 796     * Returns a list of authorized public keys for a specific user account.
 797     * (linux.getAuthorizedKeysView)
 798     *
 799     * @param string $project Project ID for this request.
 800     * @param string $zone Name of the zone for this request.
 801     * @param string $user The user account for which you want to get a list of
 802     * authorized public keys.
 803     * @param string $instance The fully-qualified URL of the virtual machine
 804     * requesting the view.
 805     * @param array $optParams Optional parameters.
 806     *
 807     * @opt_param bool login Whether the view was requested as part of a user-
 808     * initiated login.
 809     * @return Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse
 810     */
 811    public function getAuthorizedKeysView($project, $zone, $user, $instance, $optParams = array())
 812    {
 813      $params = array('project' => $project, 'zone' => $zone, 'user' => $user, 'instance' => $instance);
 814      $params = array_merge($params, $optParams);
 815      return $this->call('getAuthorizedKeysView', array($params), "Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse");
 816    }
 817  
 818    /**
 819     * Retrieves a list of user accounts for an instance within a specific project.
 820     * (linux.getLinuxAccountViews)
 821     *
 822     * @param string $project Project ID for this request.
 823     * @param string $zone Name of the zone for this request.
 824     * @param string $instance The fully-qualified URL of the virtual machine
 825     * requesting the views.
 826     * @param array $optParams Optional parameters.
 827     *
 828     * @opt_param string orderBy Sorts list results by a certain order. By default,
 829     * results are returned in alphanumerical order based on the resource name.
 830     *
 831     * You can also sort results in descending order based on the creation timestamp
 832     * using orderBy="creationTimestamp desc". This sorts results based on the
 833     * creationTimestamp field in reverse chronological order (newest result first).
 834     * Use this to sort resources like operations so that the newest operation is
 835     * returned first.
 836     *
 837     * Currently, only sorting by name or creationTimestamp desc is supported.
 838     * @opt_param string pageToken Specifies a page token to use. Use this parameter
 839     * if you want to list the next page of results. Set pageToken to the
 840     * nextPageToken returned by a previous list request.
 841     * @opt_param string maxResults Maximum count of results to be returned.
 842     * @opt_param string filter Sets a filter expression for filtering listed
 843     * resources, in the form filter={expression}. Your {expression} must be in the
 844     * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
 845     *
 846     * The FIELD_NAME is the name of the field you want to compare. Only atomic
 847     * field types are supported (string, number, boolean). The COMPARISON_STRING
 848     * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the
 849     * string value to filter to. The literal value must be valid for the type of
 850     * field (string, number, boolean). For string fields, the literal value is
 851     * interpreted as a regular expression using RE2 syntax. The literal value must
 852     * match the entire field.
 853     *
 854     * For example, filter=name ne example-instance.
 855     * @return Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse
 856     */
 857    public function getLinuxAccountViews($project, $zone, $instance, $optParams = array())
 858    {
 859      $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
 860      $params = array_merge($params, $optParams);
 861      return $this->call('getLinuxAccountViews', array($params), "Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse");
 862    }
 863  }
 864  
 865  /**
 866   * The "users" collection of methods.
 867   * Typical usage is:
 868   *  <code>
 869   *   $clouduseraccountsService = new Google_Service_CloudUserAccounts(...);
 870   *   $users = $clouduseraccountsService->users;
 871   *  </code>
 872   */
 873  class Google_Service_CloudUserAccounts_Users_Resource extends Google_Service_Resource
 874  {
 875  
 876    /**
 877     * Adds a public key to the specified User resource with the data included in
 878     * the request. (users.addPublicKey)
 879     *
 880     * @param string $project Project ID for this request.
 881     * @param string $user Name of the user for this request.
 882     * @param Google_PublicKey $postBody
 883     * @param array $optParams Optional parameters.
 884     * @return Google_Service_CloudUserAccounts_Operation
 885     */
 886    public function addPublicKey($project, $user, Google_Service_CloudUserAccounts_PublicKey $postBody, $optParams = array())
 887    {
 888      $params = array('project' => $project, 'user' => $user, 'postBody' => $postBody);
 889      $params = array_merge($params, $optParams);
 890      return $this->call('addPublicKey', array($params), "Google_Service_CloudUserAccounts_Operation");
 891    }
 892  
 893    /**
 894     * Deletes the specified User resource. (users.delete)
 895     *
 896     * @param string $project Project ID for this request.
 897     * @param string $user Name of the user resource to delete.
 898     * @param array $optParams Optional parameters.
 899     * @return Google_Service_CloudUserAccounts_Operation
 900     */
 901    public function delete($project, $user, $optParams = array())
 902    {
 903      $params = array('project' => $project, 'user' => $user);
 904      $params = array_merge($params, $optParams);
 905      return $this->call('delete', array($params), "Google_Service_CloudUserAccounts_Operation");
 906    }
 907  
 908    /**
 909     * Returns the specified User resource. (users.get)
 910     *
 911     * @param string $project Project ID for this request.
 912     * @param string $user Name of the user resource to return.
 913     * @param array $optParams Optional parameters.
 914     * @return Google_Service_CloudUserAccounts_User
 915     */
 916    public function get($project, $user, $optParams = array())
 917    {
 918      $params = array('project' => $project, 'user' => $user);
 919      $params = array_merge($params, $optParams);
 920      return $this->call('get', array($params), "Google_Service_CloudUserAccounts_User");
 921    }
 922  
 923    /**
 924     * Gets the access control policy for a resource. May be empty if no such policy
 925     * or resource exists. (users.getIamPolicy)
 926     *
 927     * @param string $project Project ID for this request.
 928     * @param string $resource Name of the resource for this request.
 929     * @param array $optParams Optional parameters.
 930     * @return Google_Service_CloudUserAccounts_Policy
 931     */
 932    public function getIamPolicy($project, $resource, $optParams = array())
 933    {
 934      $params = array('project' => $project, 'resource' => $resource);
 935      $params = array_merge($params, $optParams);
 936      return $this->call('getIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy");
 937    }
 938  
 939    /**
 940     * Creates a User resource in the specified project using the data included in
 941     * the request. (users.insert)
 942     *
 943     * @param string $project Project ID for this request.
 944     * @param Google_User $postBody
 945     * @param array $optParams Optional parameters.
 946     * @return Google_Service_CloudUserAccounts_Operation
 947     */
 948    public function insert($project, Google_Service_CloudUserAccounts_User $postBody, $optParams = array())
 949    {
 950      $params = array('project' => $project, 'postBody' => $postBody);
 951      $params = array_merge($params, $optParams);
 952      return $this->call('insert', array($params), "Google_Service_CloudUserAccounts_Operation");
 953    }
 954  
 955    /**
 956     * Retrieves a list of users contained within the specified project.
 957     * (users.listUsers)
 958     *
 959     * @param string $project Project ID for this request.
 960     * @param array $optParams Optional parameters.
 961     *
 962     * @opt_param string filter Sets a filter expression for filtering listed
 963     * resources, in the form filter={expression}. Your {expression} must be in the
 964     * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
 965     *
 966     * The FIELD_NAME is the name of the field you want to compare. Only atomic
 967     * field types are supported (string, number, boolean). The COMPARISON_STRING
 968     * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the
 969     * string value to filter to. The literal value must be valid for the type of
 970     * field (string, number, boolean). For string fields, the literal value is
 971     * interpreted as a regular expression using RE2 syntax. The literal value must
 972     * match the entire field.
 973     *
 974     * For example, filter=name ne example-instance.
 975     * @opt_param string orderBy Sorts list results by a certain order. By default,
 976     * results are returned in alphanumerical order based on the resource name.
 977     *
 978     * You can also sort results in descending order based on the creation timestamp
 979     * using orderBy="creationTimestamp desc". This sorts results based on the
 980     * creationTimestamp field in reverse chronological order (newest result first).
 981     * Use this to sort resources like operations so that the newest operation is
 982     * returned first.
 983     *
 984     * Currently, only sorting by name or creationTimestamp desc is supported.
 985     * @opt_param string maxResults Maximum count of results to be returned.
 986     * @opt_param string pageToken Specifies a page token to use. Use this parameter
 987     * if you want to list the next page of results. Set pageToken to the
 988     * nextPageToken returned by a previous list request.
 989     * @return Google_Service_CloudUserAccounts_UserList
 990     */
 991    public function listUsers($project, $optParams = array())
 992    {
 993      $params = array('project' => $project);
 994      $params = array_merge($params, $optParams);
 995      return $this->call('list', array($params), "Google_Service_CloudUserAccounts_UserList");
 996    }
 997  
 998    /**
 999     * Removes the specified public key from the user. (users.removePublicKey)
1000     *
1001     * @param string $project Project ID for this request.
1002     * @param string $user Name of the user for this request.
1003     * @param string $fingerprint The fingerprint of the public key to delete.
1004     * Public keys are identified by their fingerprint, which is defined by RFC4716
1005     * to be the MD5 digest of the public key.
1006     * @param array $optParams Optional parameters.
1007     * @return Google_Service_CloudUserAccounts_Operation
1008     */
1009    public function removePublicKey($project, $user, $fingerprint, $optParams = array())
1010    {
1011      $params = array('project' => $project, 'user' => $user, 'fingerprint' => $fingerprint);
1012      $params = array_merge($params, $optParams);
1013      return $this->call('removePublicKey', array($params), "Google_Service_CloudUserAccounts_Operation");
1014    }
1015  
1016    /**
1017     * Sets the access control policy on the specified resource. Replaces any
1018     * existing policy. (users.setIamPolicy)
1019     *
1020     * @param string $project Project ID for this request.
1021     * @param string $resource Name of the resource for this request.
1022     * @param Google_Policy $postBody
1023     * @param array $optParams Optional parameters.
1024     * @return Google_Service_CloudUserAccounts_Policy
1025     */
1026    public function setIamPolicy($project, $resource, Google_Service_CloudUserAccounts_Policy $postBody, $optParams = array())
1027    {
1028      $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody);
1029      $params = array_merge($params, $optParams);
1030      return $this->call('setIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy");
1031    }
1032  
1033    /**
1034     * Returns permissions that a caller has on the specified resource.
1035     * (users.testIamPermissions)
1036     *
1037     * @param string $project Project ID for this request.
1038     * @param string $resource Name of the resource for this request.
1039     * @param Google_TestPermissionsRequest $postBody
1040     * @param array $optParams Optional parameters.
1041     * @return Google_Service_CloudUserAccounts_TestPermissionsResponse
1042     */
1043    public function testIamPermissions($project, $resource, Google_Service_CloudUserAccounts_TestPermissionsRequest $postBody, $optParams = array())
1044    {
1045      $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody);
1046      $params = array_merge($params, $optParams);
1047      return $this->call('testIamPermissions', array($params), "Google_Service_CloudUserAccounts_TestPermissionsResponse");
1048    }
1049  }
1050  
1051  
1052  
1053  
1054  class Google_Service_CloudUserAccounts_AuthorizedKeysView extends Google_Collection
1055  {
1056    protected $collection_key = 'keys';
1057    protected $internal_gapi_mappings = array(
1058    );
1059    public $keys;
1060    public $sudoer;
1061  
1062  
1063    public function setKeys($keys)
1064    {
1065      $this->keys = $keys;
1066    }
1067    public function getKeys()
1068    {
1069      return $this->keys;
1070    }
1071    public function setSudoer($sudoer)
1072    {
1073      $this->sudoer = $sudoer;
1074    }
1075    public function getSudoer()
1076    {
1077      return $this->sudoer;
1078    }
1079  }
1080  
1081  class Google_Service_CloudUserAccounts_Binding extends Google_Collection
1082  {
1083    protected $collection_key = 'members';
1084    protected $internal_gapi_mappings = array(
1085    );
1086    public $members;
1087    public $role;
1088  
1089  
1090    public function setMembers($members)
1091    {
1092      $this->members = $members;
1093    }
1094    public function getMembers()
1095    {
1096      return $this->members;
1097    }
1098    public function setRole($role)
1099    {
1100      $this->role = $role;
1101    }
1102    public function getRole()
1103    {
1104      return $this->role;
1105    }
1106  }
1107  
1108  class Google_Service_CloudUserAccounts_Condition extends Google_Collection
1109  {
1110    protected $collection_key = 'values';
1111    protected $internal_gapi_mappings = array(
1112    );
1113    public $iam;
1114    public $op;
1115    public $svc;
1116    public $sys;
1117    public $value;
1118    public $values;
1119  
1120  
1121    public function setIam($iam)
1122    {
1123      $this->iam = $iam;
1124    }
1125    public function getIam()
1126    {
1127      return $this->iam;
1128    }
1129    public function setOp($op)
1130    {
1131      $this->op = $op;
1132    }
1133    public function getOp()
1134    {
1135      return $this->op;
1136    }
1137    public function setSvc($svc)
1138    {
1139      $this->svc = $svc;
1140    }
1141    public function getSvc()
1142    {
1143      return $this->svc;
1144    }
1145    public function setSys($sys)
1146    {
1147      $this->sys = $sys;
1148    }
1149    public function getSys()
1150    {
1151      return $this->sys;
1152    }
1153    public function setValue($value)
1154    {
1155      $this->value = $value;
1156    }
1157    public function getValue()
1158    {
1159      return $this->value;
1160    }
1161    public function setValues($values)
1162    {
1163      $this->values = $values;
1164    }
1165    public function getValues()
1166    {
1167      return $this->values;
1168    }
1169  }
1170  
1171  class Google_Service_CloudUserAccounts_Group extends Google_Collection
1172  {
1173    protected $collection_key = 'members';
1174    protected $internal_gapi_mappings = array(
1175    );
1176    public $creationTimestamp;
1177    public $description;
1178    public $id;
1179    public $kind;
1180    public $members;
1181    public $name;
1182    public $selfLink;
1183  
1184  
1185    public function setCreationTimestamp($creationTimestamp)
1186    {
1187      $this->creationTimestamp = $creationTimestamp;
1188    }
1189    public function getCreationTimestamp()
1190    {
1191      return $this->creationTimestamp;
1192    }
1193    public function setDescription($description)
1194    {
1195      $this->description = $description;
1196    }
1197    public function getDescription()
1198    {
1199      return $this->description;
1200    }
1201    public function setId($id)
1202    {
1203      $this->id = $id;
1204    }
1205    public function getId()
1206    {
1207      return $this->id;
1208    }
1209    public function setKind($kind)
1210    {
1211      $this->kind = $kind;
1212    }
1213    public function getKind()
1214    {
1215      return $this->kind;
1216    }
1217    public function setMembers($members)
1218    {
1219      $this->members = $members;
1220    }
1221    public function getMembers()
1222    {
1223      return $this->members;
1224    }
1225    public function setName($name)
1226    {
1227      $this->name = $name;
1228    }
1229    public function getName()
1230    {
1231      return $this->name;
1232    }
1233    public function setSelfLink($selfLink)
1234    {
1235      $this->selfLink = $selfLink;
1236    }
1237    public function getSelfLink()
1238    {
1239      return $this->selfLink;
1240    }
1241  }
1242  
1243  class Google_Service_CloudUserAccounts_GroupList extends Google_Collection
1244  {
1245    protected $collection_key = 'items';
1246    protected $internal_gapi_mappings = array(
1247    );
1248    public $id;
1249    protected $itemsType = 'Google_Service_CloudUserAccounts_Group';
1250    protected $itemsDataType = 'array';
1251    public $kind;
1252    public $nextPageToken;
1253    public $selfLink;
1254  
1255  
1256    public function setId($id)
1257    {
1258      $this->id = $id;
1259    }
1260    public function getId()
1261    {
1262      return $this->id;
1263    }
1264    public function setItems($items)
1265    {
1266      $this->items = $items;
1267    }
1268    public function getItems()
1269    {
1270      return $this->items;
1271    }
1272    public function setKind($kind)
1273    {
1274      $this->kind = $kind;
1275    }
1276    public function getKind()
1277    {
1278      return $this->kind;
1279    }
1280    public function setNextPageToken($nextPageToken)
1281    {
1282      $this->nextPageToken = $nextPageToken;
1283    }
1284    public function getNextPageToken()
1285    {
1286      return $this->nextPageToken;
1287    }
1288    public function setSelfLink($selfLink)
1289    {
1290      $this->selfLink = $selfLink;
1291    }
1292    public function getSelfLink()
1293    {
1294      return $this->selfLink;
1295    }
1296  }
1297  
1298  class Google_Service_CloudUserAccounts_GroupsAddMemberRequest extends Google_Collection
1299  {
1300    protected $collection_key = 'users';
1301    protected $internal_gapi_mappings = array(
1302    );
1303    public $users;
1304  
1305  
1306    public function setUsers($users)
1307    {
1308      $this->users = $users;
1309    }
1310    public function getUsers()
1311    {
1312      return $this->users;
1313    }
1314  }
1315  
1316  class Google_Service_CloudUserAccounts_GroupsRemoveMemberRequest extends Google_Collection
1317  {
1318    protected $collection_key = 'users';
1319    protected $internal_gapi_mappings = array(
1320    );
1321    public $users;
1322  
1323  
1324    public function setUsers($users)
1325    {
1326      $this->users = $users;
1327    }
1328    public function getUsers()
1329    {
1330      return $this->users;
1331    }
1332  }
1333  
1334  class Google_Service_CloudUserAccounts_LinuxAccountViews extends Google_Collection
1335  {
1336    protected $collection_key = 'userViews';
1337    protected $internal_gapi_mappings = array(
1338    );
1339    protected $groupViewsType = 'Google_Service_CloudUserAccounts_LinuxGroupView';
1340    protected $groupViewsDataType = 'array';
1341    public $kind;
1342    protected $userViewsType = 'Google_Service_CloudUserAccounts_LinuxUserView';
1343    protected $userViewsDataType = 'array';
1344  
1345  
1346    public function setGroupViews($groupViews)
1347    {
1348      $this->groupViews = $groupViews;
1349    }
1350    public function getGroupViews()
1351    {
1352      return $this->groupViews;
1353    }
1354    public function setKind($kind)
1355    {
1356      $this->kind = $kind;
1357    }
1358    public function getKind()
1359    {
1360      return $this->kind;
1361    }
1362    public function setUserViews($userViews)
1363    {
1364      $this->userViews = $userViews;
1365    }
1366    public function getUserViews()
1367    {
1368      return $this->userViews;
1369    }
1370  }
1371  
1372  class Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse extends Google_Model
1373  {
1374    protected $internal_gapi_mappings = array(
1375    );
1376    protected $resourceType = 'Google_Service_CloudUserAccounts_AuthorizedKeysView';
1377    protected $resourceDataType = '';
1378  
1379  
1380    public function setResource(Google_Service_CloudUserAccounts_AuthorizedKeysView $resource)
1381    {
1382      $this->resource = $resource;
1383    }
1384    public function getResource()
1385    {
1386      return $this->resource;
1387    }
1388  }
1389  
1390  class Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse extends Google_Model
1391  {
1392    protected $internal_gapi_mappings = array(
1393    );
1394    protected $resourceType = 'Google_Service_CloudUserAccounts_LinuxAccountViews';
1395    protected $resourceDataType = '';
1396  
1397  
1398    public function setResource(Google_Service_CloudUserAccounts_LinuxAccountViews $resource)
1399    {
1400      $this->resource = $resource;
1401    }
1402    public function getResource()
1403    {
1404      return $this->resource;
1405    }
1406  }
1407  
1408  class Google_Service_CloudUserAccounts_LinuxGroupView extends Google_Collection
1409  {
1410    protected $collection_key = 'members';
1411    protected $internal_gapi_mappings = array(
1412    );
1413    public $gid;
1414    public $groupName;
1415    public $members;
1416  
1417  
1418    public function setGid($gid)
1419    {
1420      $this->gid = $gid;
1421    }
1422    public function getGid()
1423    {
1424      return $this->gid;
1425    }
1426    public function setGroupName($groupName)
1427    {
1428      $this->groupName = $groupName;
1429    }
1430    public function getGroupName()
1431    {
1432      return $this->groupName;
1433    }
1434    public function setMembers($members)
1435    {
1436      $this->members = $members;
1437    }
1438    public function getMembers()
1439    {
1440      return $this->members;
1441    }
1442  }
1443  
1444  class Google_Service_CloudUserAccounts_LinuxUserView extends Google_Model
1445  {
1446    protected $internal_gapi_mappings = array(
1447    );
1448    public $gecos;
1449    public $gid;
1450    public $homeDirectory;
1451    public $shell;
1452    public $uid;
1453    public $username;
1454  
1455  
1456    public function setGecos($gecos)
1457    {
1458      $this->gecos = $gecos;
1459    }
1460    public function getGecos()
1461    {
1462      return $this->gecos;
1463    }
1464    public function setGid($gid)
1465    {
1466      $this->gid = $gid;
1467    }
1468    public function getGid()
1469    {
1470      return $this->gid;
1471    }
1472    public function setHomeDirectory($homeDirectory)
1473    {
1474      $this->homeDirectory = $homeDirectory;
1475    }
1476    public function getHomeDirectory()
1477    {
1478      return $this->homeDirectory;
1479    }
1480    public function setShell($shell)
1481    {
1482      $this->shell = $shell;
1483    }
1484    public function getShell()
1485    {
1486      return $this->shell;
1487    }
1488    public function setUid($uid)
1489    {
1490      $this->uid = $uid;
1491    }
1492    public function getUid()
1493    {
1494      return $this->uid;
1495    }
1496    public function setUsername($username)
1497    {
1498      $this->username = $username;
1499    }
1500    public function getUsername()
1501    {
1502      return $this->username;
1503    }
1504  }
1505  
1506  class Google_Service_CloudUserAccounts_LogConfig extends Google_Model
1507  {
1508    protected $internal_gapi_mappings = array(
1509    );
1510    protected $counterType = 'Google_Service_CloudUserAccounts_LogConfigCounterOptions';
1511    protected $counterDataType = '';
1512  
1513  
1514    public function setCounter(Google_Service_CloudUserAccounts_LogConfigCounterOptions $counter)
1515    {
1516      $this->counter = $counter;
1517    }
1518    public function getCounter()
1519    {
1520      return $this->counter;
1521    }
1522  }
1523  
1524  class Google_Service_CloudUserAccounts_LogConfigCounterOptions extends Google_Model
1525  {
1526    protected $internal_gapi_mappings = array(
1527    );
1528    public $field;
1529    public $metric;
1530  
1531  
1532    public function setField($field)
1533    {
1534      $this->field = $field;
1535    }
1536    public function getField()
1537    {
1538      return $this->field;
1539    }
1540    public function setMetric($metric)
1541    {
1542      $this->metric = $metric;
1543    }
1544    public function getMetric()
1545    {
1546      return $this->metric;
1547    }
1548  }
1549  
1550  class Google_Service_CloudUserAccounts_Operation extends Google_Collection
1551  {
1552    protected $collection_key = 'warnings';
1553    protected $internal_gapi_mappings = array(
1554    );
1555    public $clientOperationId;
1556    public $creationTimestamp;
1557    public $endTime;
1558    protected $errorType = 'Google_Service_CloudUserAccounts_OperationError';
1559    protected $errorDataType = '';
1560    public $httpErrorMessage;
1561    public $httpErrorStatusCode;
1562    public $id;
1563    public $insertTime;
1564    public $kind;
1565    public $name;
1566    public $operationType;
1567    public $progress;
1568    public $region;
1569    public $selfLink;
1570    public $startTime;
1571    public $status;
1572    public $statusMessage;
1573    public $targetId;
1574    public $targetLink;
1575    public $user;
1576    protected $warningsType = 'Google_Service_CloudUserAccounts_OperationWarnings';
1577    protected $warningsDataType = 'array';
1578    public $zone;
1579  
1580  
1581    public function setClientOperationId($clientOperationId)
1582    {
1583      $this->clientOperationId = $clientOperationId;
1584    }
1585    public function getClientOperationId()
1586    {
1587      return $this->clientOperationId;
1588    }
1589    public function setCreationTimestamp($creationTimestamp)
1590    {
1591      $this->creationTimestamp = $creationTimestamp;
1592    }
1593    public function getCreationTimestamp()
1594    {
1595      return $this->creationTimestamp;
1596    }
1597    public function setEndTime($endTime)
1598    {
1599      $this->endTime = $endTime;
1600    }
1601    public function getEndTime()
1602    {
1603      return $this->endTime;
1604    }
1605    public function setError(Google_Service_CloudUserAccounts_OperationError $error)
1606    {
1607      $this->error = $error;
1608    }
1609    public function getError()
1610    {
1611      return $this->error;
1612    }
1613    public function setHttpErrorMessage($httpErrorMessage)
1614    {
1615      $this->httpErrorMessage = $httpErrorMessage;
1616    }
1617    public function getHttpErrorMessage()
1618    {
1619      return $this->httpErrorMessage;
1620    }
1621    public function setHttpErrorStatusCode($httpErrorStatusCode)
1622    {
1623      $this->httpErrorStatusCode = $httpErrorStatusCode;
1624    }
1625    public function getHttpErrorStatusCode()
1626    {
1627      return $this->httpErrorStatusCode;
1628    }
1629    public function setId($id)
1630    {
1631      $this->id = $id;
1632    }
1633    public function getId()
1634    {
1635      return $this->id;
1636    }
1637    public function setInsertTime($insertTime)
1638    {
1639      $this->insertTime = $insertTime;
1640    }
1641    public function getInsertTime()
1642    {
1643      return $this->insertTime;
1644    }
1645    public function setKind($kind)
1646    {
1647      $this->kind = $kind;
1648    }
1649    public function getKind()
1650    {
1651      return $this->kind;
1652    }
1653    public function setName($name)
1654    {
1655      $this->name = $name;
1656    }
1657    public function getName()
1658    {
1659      return $this->name;
1660    }
1661    public function setOperationType($operationType)
1662    {
1663      $this->operationType = $operationType;
1664    }
1665    public function getOperationType()
1666    {
1667      return $this->operationType;
1668    }
1669    public function setProgress($progress)
1670    {
1671      $this->progress = $progress;
1672    }
1673    public function getProgress()
1674    {
1675      return $this->progress;
1676    }
1677    public function setRegion($region)
1678    {
1679      $this->region = $region;
1680    }
1681    public function getRegion()
1682    {
1683      return $this->region;
1684    }
1685    public function setSelfLink($selfLink)
1686    {
1687      $this->selfLink = $selfLink;
1688    }
1689    public function getSelfLink()
1690    {
1691      return $this->selfLink;
1692    }
1693    public function setStartTime($startTime)
1694    {
1695      $this->startTime = $startTime;
1696    }
1697    public function getStartTime()
1698    {
1699      return $this->startTime;
1700    }
1701    public function setStatus($status)
1702    {
1703      $this->status = $status;
1704    }
1705    public function getStatus()
1706    {
1707      return $this->status;
1708    }
1709    public function setStatusMessage($statusMessage)
1710    {
1711      $this->statusMessage = $statusMessage;
1712    }
1713    public function getStatusMessage()
1714    {
1715      return $this->statusMessage;
1716    }
1717    public function setTargetId($targetId)
1718    {
1719      $this->targetId = $targetId;
1720    }
1721    public function getTargetId()
1722    {
1723      return $this->targetId;
1724    }
1725    public function setTargetLink($targetLink)
1726    {
1727      $this->targetLink = $targetLink;
1728    }
1729    public function getTargetLink()
1730    {
1731      return $this->targetLink;
1732    }
1733    public function setUser($user)
1734    {
1735      $this->user = $user;
1736    }
1737    public function getUser()
1738    {
1739      return $this->user;
1740    }
1741    public function setWarnings($warnings)
1742    {
1743      $this->warnings = $warnings;
1744    }
1745    public function getWarnings()
1746    {
1747      return $this->warnings;
1748    }
1749    public function setZone($zone)
1750    {
1751      $this->zone = $zone;
1752    }
1753    public function getZone()
1754    {
1755      return $this->zone;
1756    }
1757  }
1758  
1759  class Google_Service_CloudUserAccounts_OperationError extends Google_Collection
1760  {
1761    protected $collection_key = 'errors';
1762    protected $internal_gapi_mappings = array(
1763    );
1764    protected $errorsType = 'Google_Service_CloudUserAccounts_OperationErrorErrors';
1765    protected $errorsDataType = 'array';
1766  
1767  
1768    public function setErrors($errors)
1769    {
1770      $this->errors = $errors;
1771    }
1772    public function getErrors()
1773    {
1774      return $this->errors;
1775    }
1776  }
1777  
1778  class Google_Service_CloudUserAccounts_OperationErrorErrors extends Google_Model
1779  {
1780    protected $internal_gapi_mappings = array(
1781    );
1782    public $code;
1783    public $location;
1784    public $message;
1785  
1786  
1787    public function setCode($code)
1788    {
1789      $this->code = $code;
1790    }
1791    public function getCode()
1792    {
1793      return $this->code;
1794    }
1795    public function setLocation($location)
1796    {
1797      $this->location = $location;
1798    }
1799    public function getLocation()
1800    {
1801      return $this->location;
1802    }
1803    public function setMessage($message)
1804    {
1805      $this->message = $message;
1806    }
1807    public function getMessage()
1808    {
1809      return $this->message;
1810    }
1811  }
1812  
1813  class Google_Service_CloudUserAccounts_OperationList extends Google_Collection
1814  {
1815    protected $collection_key = 'items';
1816    protected $internal_gapi_mappings = array(
1817    );
1818    public $id;
1819    protected $itemsType = 'Google_Service_CloudUserAccounts_Operation';
1820    protected $itemsDataType = 'array';
1821    public $kind;
1822    public $nextPageToken;
1823    public $selfLink;
1824  
1825  
1826    public function setId($id)
1827    {
1828      $this->id = $id;
1829    }
1830    public function getId()
1831    {
1832      return $this->id;
1833    }
1834    public function setItems($items)
1835    {
1836      $this->items = $items;
1837    }
1838    public function getItems()
1839    {
1840      return $this->items;
1841    }
1842    public function setKind($kind)
1843    {
1844      $this->kind = $kind;
1845    }
1846    public function getKind()
1847    {
1848      return $this->kind;
1849    }
1850    public function setNextPageToken($nextPageToken)
1851    {
1852      $this->nextPageToken = $nextPageToken;
1853    }
1854    public function getNextPageToken()
1855    {
1856      return $this->nextPageToken;
1857    }
1858    public function setSelfLink($selfLink)
1859    {
1860      $this->selfLink = $selfLink;
1861    }
1862    public function getSelfLink()
1863    {
1864      return $this->selfLink;
1865    }
1866  }
1867  
1868  class Google_Service_CloudUserAccounts_OperationWarnings extends Google_Collection
1869  {
1870    protected $collection_key = 'data';
1871    protected $internal_gapi_mappings = array(
1872    );
1873    public $code;
1874    protected $dataType = 'Google_Service_CloudUserAccounts_OperationWarningsData';
1875    protected $dataDataType = 'array';
1876    public $message;
1877  
1878  
1879    public function setCode($code)
1880    {
1881      $this->code = $code;
1882    }
1883    public function getCode()
1884    {
1885      return $this->code;
1886    }
1887    public function setData($data)
1888    {
1889      $this->data = $data;
1890    }
1891    public function getData()
1892    {
1893      return $this->data;
1894    }
1895    public function setMessage($message)
1896    {
1897      $this->message = $message;
1898    }
1899    public function getMessage()
1900    {
1901      return $this->message;
1902    }
1903  }
1904  
1905  class Google_Service_CloudUserAccounts_OperationWarningsData extends Google_Model
1906  {
1907    protected $internal_gapi_mappings = array(
1908    );
1909    public $key;
1910    public $value;
1911  
1912  
1913    public function setKey($key)
1914    {
1915      $this->key = $key;
1916    }
1917    public function getKey()
1918    {
1919      return $this->key;
1920    }
1921    public function setValue($value)
1922    {
1923      $this->value = $value;
1924    }
1925    public function getValue()
1926    {
1927      return $this->value;
1928    }
1929  }
1930  
1931  class Google_Service_CloudUserAccounts_Policy extends Google_Collection
1932  {
1933    protected $collection_key = 'rules';
1934    protected $internal_gapi_mappings = array(
1935    );
1936    protected $bindingsType = 'Google_Service_CloudUserAccounts_Binding';
1937    protected $bindingsDataType = 'array';
1938    public $etag;
1939    protected $rulesType = 'Google_Service_CloudUserAccounts_Rule';
1940    protected $rulesDataType = 'array';
1941    public $version;
1942  
1943  
1944    public function setBindings($bindings)
1945    {
1946      $this->bindings = $bindings;
1947    }
1948    public function getBindings()
1949    {
1950      return $this->bindings;
1951    }
1952    public function setEtag($etag)
1953    {
1954      $this->etag = $etag;
1955    }
1956    public function getEtag()
1957    {
1958      return $this->etag;
1959    }
1960    public function setRules($rules)
1961    {
1962      $this->rules = $rules;
1963    }
1964    public function getRules()
1965    {
1966      return $this->rules;
1967    }
1968    public function setVersion($version)
1969    {
1970      $this->version = $version;
1971    }
1972    public function getVersion()
1973    {
1974      return $this->version;
1975    }
1976  }
1977  
1978  class Google_Service_CloudUserAccounts_PublicKey extends Google_Model
1979  {
1980    protected $internal_gapi_mappings = array(
1981    );
1982    public $creationTimestamp;
1983    public $description;
1984    public $expirationTimestamp;
1985    public $fingerprint;
1986    public $key;
1987  
1988  
1989    public function setCreationTimestamp($creationTimestamp)
1990    {
1991      $this->creationTimestamp = $creationTimestamp;
1992    }
1993    public function getCreationTimestamp()
1994    {
1995      return $this->creationTimestamp;
1996    }
1997    public function setDescription($description)
1998    {
1999      $this->description = $description;
2000    }
2001    public function getDescription()
2002    {
2003      return $this->description;
2004    }
2005    public function setExpirationTimestamp($expirationTimestamp)
2006    {
2007      $this->expirationTimestamp = $expirationTimestamp;
2008    }
2009    public function getExpirationTimestamp()
2010    {
2011      return $this->expirationTimestamp;
2012    }
2013    public function setFingerprint($fingerprint)
2014    {
2015      $this->fingerprint = $fingerprint;
2016    }
2017    public function getFingerprint()
2018    {
2019      return $this->fingerprint;
2020    }
2021    public function setKey($key)
2022    {
2023      $this->key = $key;
2024    }
2025    public function getKey()
2026    {
2027      return $this->key;
2028    }
2029  }
2030  
2031  class Google_Service_CloudUserAccounts_Rule extends Google_Collection
2032  {
2033    protected $collection_key = 'permissions';
2034    protected $internal_gapi_mappings = array(
2035    );
2036    public $action;
2037    protected $conditionsType = 'Google_Service_CloudUserAccounts_Condition';
2038    protected $conditionsDataType = 'array';
2039    public $description;
2040    public $ins;
2041    protected $logConfigsType = 'Google_Service_CloudUserAccounts_LogConfig';
2042    protected $logConfigsDataType = 'array';
2043    public $notIns;
2044    public $permissions;
2045  
2046  
2047    public function setAction($action)
2048    {
2049      $this->action = $action;
2050    }
2051    public function getAction()
2052    {
2053      return $this->action;
2054    }
2055    public function setConditions($conditions)
2056    {
2057      $this->conditions = $conditions;
2058    }
2059    public function getConditions()
2060    {
2061      return $this->conditions;
2062    }
2063    public function setDescription($description)
2064    {
2065      $this->description = $description;
2066    }
2067    public function getDescription()
2068    {
2069      return $this->description;
2070    }
2071    public function setIns($ins)
2072    {
2073      $this->ins = $ins;
2074    }
2075    public function getIns()
2076    {
2077      return $this->ins;
2078    }
2079    public function setLogConfigs($logConfigs)
2080    {
2081      $this->logConfigs = $logConfigs;
2082    }
2083    public function getLogConfigs()
2084    {
2085      return $this->logConfigs;
2086    }
2087    public function setNotIns($notIns)
2088    {
2089      $this->notIns = $notIns;
2090    }
2091    public function getNotIns()
2092    {
2093      return $this->notIns;
2094    }
2095    public function setPermissions($permissions)
2096    {
2097      $this->permissions = $permissions;
2098    }
2099    public function getPermissions()
2100    {
2101      return $this->permissions;
2102    }
2103  }
2104  
2105  class Google_Service_CloudUserAccounts_TestPermissionsRequest extends Google_Collection
2106  {
2107    protected $collection_key = 'permissions';
2108    protected $internal_gapi_mappings = array(
2109    );
2110    public $permissions;
2111  
2112  
2113    public function setPermissions($permissions)
2114    {
2115      $this->permissions = $permissions;
2116    }
2117    public function getPermissions()
2118    {
2119      return $this->permissions;
2120    }
2121  }
2122  
2123  class Google_Service_CloudUserAccounts_TestPermissionsResponse extends Google_Collection
2124  {
2125    protected $collection_key = 'permissions';
2126    protected $internal_gapi_mappings = array(
2127    );
2128    public $permissions;
2129  
2130  
2131    public function setPermissions($permissions)
2132    {
2133      $this->permissions = $permissions;
2134    }
2135    public function getPermissions()
2136    {
2137      return $this->permissions;
2138    }
2139  }
2140  
2141  class Google_Service_CloudUserAccounts_User extends Google_Collection
2142  {
2143    protected $collection_key = 'publicKeys';
2144    protected $internal_gapi_mappings = array(
2145    );
2146    public $creationTimestamp;
2147    public $description;
2148    public $groups;
2149    public $id;
2150    public $kind;
2151    public $name;
2152    public $owner;
2153    protected $publicKeysType = 'Google_Service_CloudUserAccounts_PublicKey';
2154    protected $publicKeysDataType = 'array';
2155    public $selfLink;
2156  
2157  
2158    public function setCreationTimestamp($creationTimestamp)
2159    {
2160      $this->creationTimestamp = $creationTimestamp;
2161    }
2162    public function getCreationTimestamp()
2163    {
2164      return $this->creationTimestamp;
2165    }
2166    public function setDescription($description)
2167    {
2168      $this->description = $description;
2169    }
2170    public function getDescription()
2171    {
2172      return $this->description;
2173    }
2174    public function setGroups($groups)
2175    {
2176      $this->groups = $groups;
2177    }
2178    public function getGroups()
2179    {
2180      return $this->groups;
2181    }
2182    public function setId($id)
2183    {
2184      $this->id = $id;
2185    }
2186    public function getId()
2187    {
2188      return $this->id;
2189    }
2190    public function setKind($kind)
2191    {
2192      $this->kind = $kind;
2193    }
2194    public function getKind()
2195    {
2196      return $this->kind;
2197    }
2198    public function setName($name)
2199    {
2200      $this->name = $name;
2201    }
2202    public function getName()
2203    {
2204      return $this->name;
2205    }
2206    public function setOwner($owner)
2207    {
2208      $this->owner = $owner;
2209    }
2210    public function getOwner()
2211    {
2212      return $this->owner;
2213    }
2214    public function setPublicKeys($publicKeys)
2215    {
2216      $this->publicKeys = $publicKeys;
2217    }
2218    public function getPublicKeys()
2219    {
2220      return $this->publicKeys;
2221    }
2222    public function setSelfLink($selfLink)
2223    {
2224      $this->selfLink = $selfLink;
2225    }
2226    public function getSelfLink()
2227    {
2228      return $this->selfLink;
2229    }
2230  }
2231  
2232  class Google_Service_CloudUserAccounts_UserList extends Google_Collection
2233  {
2234    protected $collection_key = 'items';
2235    protected $internal_gapi_mappings = array(
2236    );
2237    public $id;
2238    protected $itemsType = 'Google_Service_CloudUserAccounts_User';
2239    protected $itemsDataType = 'array';
2240    public $kind;
2241    public $nextPageToken;
2242    public $selfLink;
2243  
2244  
2245    public function setId($id)
2246    {
2247      $this->id = $id;
2248    }
2249    public function getId()
2250    {
2251      return $this->id;
2252    }
2253    public function setItems($items)
2254    {
2255      $this->items = $items;
2256    }
2257    public function getItems()
2258    {
2259      return $this->items;
2260    }
2261    public function setKind($kind)
2262    {
2263      $this->kind = $kind;
2264    }
2265    public function getKind()
2266    {
2267      return $this->kind;
2268    }
2269    public function setNextPageToken($nextPageToken)
2270    {
2271      $this->nextPageToken = $nextPageToken;
2272    }
2273    public function getNextPageToken()
2274    {
2275      return $this->nextPageToken;
2276    }
2277    public function setSelfLink($selfLink)
2278    {
2279      $this->selfLink = $selfLink;
2280    }
2281    public function getSelfLink()
2282    {
2283      return $this->selfLink;
2284    }
2285  }