Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 401 and 402] [Versions 401 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 Computeaccounts (alpha).
  20   *
  21   * <p>
  22   * API for the Google Compute 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_Computeaccounts 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    /** New Service: https://www.googleapis.com/auth/computeaccounts. */
  37    const COMPUTEACCOUNTS =
  38        "https://www.googleapis.com/auth/computeaccounts";
  39    /** New Service: https://www.googleapis.com/auth/computeaccounts.readonly. */
  40    const COMPUTEACCOUNTS_READONLY =
  41        "https://www.googleapis.com/auth/computeaccounts.readonly";
  42  
  43    public $globalAccountsOperations;
  44    public $groups;
  45    public $linux;
  46    public $users;
  47    
  48  
  49    /**
  50     * Constructs the internal representation of the Computeaccounts service.
  51     *
  52     * @param Google_Client $client
  53     */
  54    public function __construct(Google_Client $client)
  55    {
  56      parent::__construct($client);
  57      $this->servicePath = 'computeaccounts/alpha/projects/';
  58      $this->version = 'alpha';
  59      $this->serviceName = 'computeaccounts';
  60  
  61      $this->globalAccountsOperations = new Google_Service_Computeaccounts_GlobalAccountsOperations_Resource(
  62          $this,
  63          $this->serviceName,
  64          'globalAccountsOperations',
  65          array(
  66            'methods' => array(
  67              'delete' => array(
  68                'path' => '{project}/global/operations/{operation}',
  69                'httpMethod' => 'DELETE',
  70                'parameters' => array(
  71                  'project' => array(
  72                    'location' => 'path',
  73                    'type' => 'string',
  74                    'required' => true,
  75                  ),
  76                  'operation' => array(
  77                    'location' => 'path',
  78                    'type' => 'string',
  79                    'required' => true,
  80                  ),
  81                ),
  82              ),'get' => array(
  83                'path' => '{project}/global/operations/{operation}',
  84                'httpMethod' => 'GET',
  85                'parameters' => array(
  86                  'project' => array(
  87                    'location' => 'path',
  88                    'type' => 'string',
  89                    'required' => true,
  90                  ),
  91                  'operation' => array(
  92                    'location' => 'path',
  93                    'type' => 'string',
  94                    'required' => true,
  95                  ),
  96                ),
  97              ),'list' => array(
  98                'path' => '{project}/global/operations',
  99                'httpMethod' => 'GET',
 100                'parameters' => array(
 101                  'project' => array(
 102                    'location' => 'path',
 103                    'type' => 'string',
 104                    'required' => true,
 105                  ),
 106                  'filter' => array(
 107                    'location' => 'query',
 108                    'type' => 'string',
 109                  ),
 110                  'pageToken' => array(
 111                    'location' => 'query',
 112                    'type' => 'string',
 113                  ),
 114                  'maxResults' => array(
 115                    'location' => 'query',
 116                    'type' => 'integer',
 117                  ),
 118                ),
 119              ),
 120            )
 121          )
 122      );
 123      $this->groups = new Google_Service_Computeaccounts_Groups_Resource(
 124          $this,
 125          $this->serviceName,
 126          'groups',
 127          array(
 128            'methods' => array(
 129              'addMember' => array(
 130                'path' => '{project}/global/groups/{groupName}/addMember',
 131                'httpMethod' => 'POST',
 132                'parameters' => array(
 133                  'project' => array(
 134                    'location' => 'path',
 135                    'type' => 'string',
 136                    'required' => true,
 137                  ),
 138                  'groupName' => array(
 139                    'location' => 'path',
 140                    'type' => 'string',
 141                    'required' => true,
 142                  ),
 143                ),
 144              ),'delete' => array(
 145                'path' => '{project}/global/groups/{groupName}',
 146                'httpMethod' => 'DELETE',
 147                'parameters' => array(
 148                  'project' => array(
 149                    'location' => 'path',
 150                    'type' => 'string',
 151                    'required' => true,
 152                  ),
 153                  'groupName' => array(
 154                    'location' => 'path',
 155                    'type' => 'string',
 156                    'required' => true,
 157                  ),
 158                ),
 159              ),'get' => array(
 160                'path' => '{project}/global/groups/{groupName}',
 161                'httpMethod' => 'GET',
 162                'parameters' => array(
 163                  'project' => array(
 164                    'location' => 'path',
 165                    'type' => 'string',
 166                    'required' => true,
 167                  ),
 168                  'groupName' => array(
 169                    'location' => 'path',
 170                    'type' => 'string',
 171                    'required' => true,
 172                  ),
 173                ),
 174              ),'insert' => array(
 175                'path' => '{project}/global/groups',
 176                'httpMethod' => 'POST',
 177                'parameters' => array(
 178                  'project' => array(
 179                    'location' => 'path',
 180                    'type' => 'string',
 181                    'required' => true,
 182                  ),
 183                ),
 184              ),'list' => array(
 185                'path' => '{project}/global/groups',
 186                'httpMethod' => 'GET',
 187                'parameters' => array(
 188                  'project' => array(
 189                    'location' => 'path',
 190                    'type' => 'string',
 191                    'required' => true,
 192                  ),
 193                  'filter' => array(
 194                    'location' => 'query',
 195                    'type' => 'string',
 196                  ),
 197                  'pageToken' => array(
 198                    'location' => 'query',
 199                    'type' => 'string',
 200                  ),
 201                  'maxResults' => array(
 202                    'location' => 'query',
 203                    'type' => 'integer',
 204                  ),
 205                ),
 206              ),'removeMember' => array(
 207                'path' => '{project}/global/groups/{groupName}/removeMember',
 208                'httpMethod' => 'POST',
 209                'parameters' => array(
 210                  'project' => array(
 211                    'location' => 'path',
 212                    'type' => 'string',
 213                    'required' => true,
 214                  ),
 215                  'groupName' => array(
 216                    'location' => 'path',
 217                    'type' => 'string',
 218                    'required' => true,
 219                  ),
 220                ),
 221              ),
 222            )
 223          )
 224      );
 225      $this->linux = new Google_Service_Computeaccounts_Linux_Resource(
 226          $this,
 227          $this->serviceName,
 228          'linux',
 229          array(
 230            'methods' => array(
 231              'getAuthorizedKeysView' => array(
 232                'path' => '{project}/zones/{zone}/authorizedKeysView/{user}',
 233                'httpMethod' => 'POST',
 234                'parameters' => array(
 235                  'project' => array(
 236                    'location' => 'path',
 237                    'type' => 'string',
 238                    'required' => true,
 239                  ),
 240                  'zone' => array(
 241                    'location' => 'path',
 242                    'type' => 'string',
 243                    'required' => true,
 244                  ),
 245                  'user' => array(
 246                    'location' => 'path',
 247                    'type' => 'string',
 248                    'required' => true,
 249                  ),
 250                  'instance' => array(
 251                    'location' => 'query',
 252                    'type' => 'string',
 253                    'required' => true,
 254                  ),
 255                ),
 256              ),'getLinuxAccountViews' => array(
 257                'path' => '{project}/zones/{zone}/linuxAccountViews',
 258                'httpMethod' => 'POST',
 259                'parameters' => array(
 260                  'project' => array(
 261                    'location' => 'path',
 262                    'type' => 'string',
 263                    'required' => true,
 264                  ),
 265                  'zone' => array(
 266                    'location' => 'path',
 267                    'type' => 'string',
 268                    'required' => true,
 269                  ),
 270                  'instance' => array(
 271                    'location' => 'query',
 272                    'type' => 'string',
 273                    'required' => true,
 274                  ),
 275                  'pageToken' => array(
 276                    'location' => 'query',
 277                    'type' => 'string',
 278                  ),
 279                  'maxResults' => array(
 280                    'location' => 'query',
 281                    'type' => 'integer',
 282                  ),
 283                  'filter' => array(
 284                    'location' => 'query',
 285                    'type' => 'string',
 286                  ),
 287                  'user' => array(
 288                    'location' => 'query',
 289                    'type' => 'string',
 290                  ),
 291                ),
 292              ),
 293            )
 294          )
 295      );
 296      $this->users = new Google_Service_Computeaccounts_Users_Resource(
 297          $this,
 298          $this->serviceName,
 299          'users',
 300          array(
 301            'methods' => array(
 302              'addPublicKey' => array(
 303                'path' => '{project}/global/users/{user}/addPublicKey',
 304                'httpMethod' => 'POST',
 305                'parameters' => array(
 306                  'project' => array(
 307                    'location' => 'path',
 308                    'type' => 'string',
 309                    'required' => true,
 310                  ),
 311                  'user' => array(
 312                    'location' => 'path',
 313                    'type' => 'string',
 314                    'required' => true,
 315                  ),
 316                ),
 317              ),'delete' => array(
 318                'path' => '{project}/global/users/{user}',
 319                'httpMethod' => 'DELETE',
 320                'parameters' => array(
 321                  'project' => array(
 322                    'location' => 'path',
 323                    'type' => 'string',
 324                    'required' => true,
 325                  ),
 326                  'user' => array(
 327                    'location' => 'path',
 328                    'type' => 'string',
 329                    'required' => true,
 330                  ),
 331                ),
 332              ),'get' => array(
 333                'path' => '{project}/global/users/{user}',
 334                'httpMethod' => 'GET',
 335                'parameters' => array(
 336                  'project' => array(
 337                    'location' => 'path',
 338                    'type' => 'string',
 339                    'required' => true,
 340                  ),
 341                  'user' => array(
 342                    'location' => 'path',
 343                    'type' => 'string',
 344                    'required' => true,
 345                  ),
 346                ),
 347              ),'insert' => array(
 348                'path' => '{project}/global/users',
 349                'httpMethod' => 'POST',
 350                'parameters' => array(
 351                  'project' => array(
 352                    'location' => 'path',
 353                    'type' => 'string',
 354                    'required' => true,
 355                  ),
 356                ),
 357              ),'list' => array(
 358                'path' => '{project}/global/users',
 359                'httpMethod' => 'GET',
 360                'parameters' => array(
 361                  'project' => array(
 362                    'location' => 'path',
 363                    'type' => 'string',
 364                    'required' => true,
 365                  ),
 366                  'filter' => array(
 367                    'location' => 'query',
 368                    'type' => 'string',
 369                  ),
 370                  'pageToken' => array(
 371                    'location' => 'query',
 372                    'type' => 'string',
 373                  ),
 374                  'maxResults' => array(
 375                    'location' => 'query',
 376                    'type' => 'integer',
 377                  ),
 378                ),
 379              ),'removePublicKey' => array(
 380                'path' => '{project}/global/users/{user}/removePublicKey',
 381                'httpMethod' => 'POST',
 382                'parameters' => array(
 383                  'project' => array(
 384                    'location' => 'path',
 385                    'type' => 'string',
 386                    'required' => true,
 387                  ),
 388                  'user' => array(
 389                    'location' => 'path',
 390                    'type' => 'string',
 391                    'required' => true,
 392                  ),
 393                  'fingerprint' => array(
 394                    'location' => 'query',
 395                    'type' => 'string',
 396                    'required' => true,
 397                  ),
 398                ),
 399              ),
 400            )
 401          )
 402      );
 403    }
 404  }
 405  
 406  
 407  /**
 408   * The "globalAccountsOperations" collection of methods.
 409   * Typical usage is:
 410   *  <code>
 411   *   $computeaccountsService = new Google_Service_Computeaccounts(...);
 412   *   $globalAccountsOperations = $computeaccountsService->globalAccountsOperations;
 413   *  </code>
 414   */
 415  class Google_Service_Computeaccounts_GlobalAccountsOperations_Resource extends Google_Service_Resource
 416  {
 417  
 418    /**
 419     * Deletes the specified operation resource. (globalAccountsOperations.delete)
 420     *
 421     * @param string $project Project ID for this request.
 422     * @param string $operation Name of the operation resource to delete.
 423     * @param array $optParams Optional parameters.
 424     */
 425    public function delete($project, $operation, $optParams = array())
 426    {
 427      $params = array('project' => $project, 'operation' => $operation);
 428      $params = array_merge($params, $optParams);
 429      return $this->call('delete', array($params));
 430    }
 431  
 432    /**
 433     * Retrieves the specified operation resource. (globalAccountsOperations.get)
 434     *
 435     * @param string $project Project ID for this request.
 436     * @param string $operation Name of the operation resource to return.
 437     * @param array $optParams Optional parameters.
 438     * @return Google_Service_Computeaccounts_Operation
 439     */
 440    public function get($project, $operation, $optParams = array())
 441    {
 442      $params = array('project' => $project, 'operation' => $operation);
 443      $params = array_merge($params, $optParams);
 444      return $this->call('get', array($params), "Google_Service_Computeaccounts_Operation");
 445    }
 446  
 447    /**
 448     * Retrieves the list of operation resources contained within the specified
 449     * project. (globalAccountsOperations.listGlobalAccountsOperations)
 450     *
 451     * @param string $project Project ID for this request.
 452     * @param array $optParams Optional parameters.
 453     *
 454     * @opt_param string filter Optional. Filter expression for filtering listed
 455     * resources.
 456     * @opt_param string pageToken Optional. Tag returned by a previous list request
 457     * truncated by maxResults. Used to continue a previous list request.
 458     * @opt_param string maxResults Optional. Maximum count of results to be
 459     * returned. Maximum value is 500 and default value is 500.
 460     * @return Google_Service_Computeaccounts_OperationList
 461     */
 462    public function listGlobalAccountsOperations($project, $optParams = array())
 463    {
 464      $params = array('project' => $project);
 465      $params = array_merge($params, $optParams);
 466      return $this->call('list', array($params), "Google_Service_Computeaccounts_OperationList");
 467    }
 468  }
 469  
 470  /**
 471   * The "groups" collection of methods.
 472   * Typical usage is:
 473   *  <code>
 474   *   $computeaccountsService = new Google_Service_Computeaccounts(...);
 475   *   $groups = $computeaccountsService->groups;
 476   *  </code>
 477   */
 478  class Google_Service_Computeaccounts_Groups_Resource extends Google_Service_Resource
 479  {
 480  
 481    /**
 482     * Adds users to the specified group. (groups.addMember)
 483     *
 484     * @param string $project Project ID for this request.
 485     * @param string $groupName Name of the group for this request.
 486     * @param Google_GroupsAddMemberRequest $postBody
 487     * @param array $optParams Optional parameters.
 488     * @return Google_Service_Computeaccounts_Operation
 489     */
 490    public function addMember($project, $groupName, Google_Service_Computeaccounts_GroupsAddMemberRequest $postBody, $optParams = array())
 491    {
 492      $params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody);
 493      $params = array_merge($params, $optParams);
 494      return $this->call('addMember', array($params), "Google_Service_Computeaccounts_Operation");
 495    }
 496  
 497    /**
 498     * Deletes the specified group resource. (groups.delete)
 499     *
 500     * @param string $project Project ID for this request.
 501     * @param string $groupName Name of the group resource to delete.
 502     * @param array $optParams Optional parameters.
 503     * @return Google_Service_Computeaccounts_Operation
 504     */
 505    public function delete($project, $groupName, $optParams = array())
 506    {
 507      $params = array('project' => $project, 'groupName' => $groupName);
 508      $params = array_merge($params, $optParams);
 509      return $this->call('delete', array($params), "Google_Service_Computeaccounts_Operation");
 510    }
 511  
 512    /**
 513     * Returns the specified group resource. (groups.get)
 514     *
 515     * @param string $project Project ID for this request.
 516     * @param string $groupName Name of the group resource to return.
 517     * @param array $optParams Optional parameters.
 518     * @return Google_Service_Computeaccounts_Group
 519     */
 520    public function get($project, $groupName, $optParams = array())
 521    {
 522      $params = array('project' => $project, 'groupName' => $groupName);
 523      $params = array_merge($params, $optParams);
 524      return $this->call('get', array($params), "Google_Service_Computeaccounts_Group");
 525    }
 526  
 527    /**
 528     * Creates a group resource in the specified project using the data included in
 529     * the request. (groups.insert)
 530     *
 531     * @param string $project Project ID for this request.
 532     * @param Google_Group $postBody
 533     * @param array $optParams Optional parameters.
 534     * @return Google_Service_Computeaccounts_Operation
 535     */
 536    public function insert($project, Google_Service_Computeaccounts_Group $postBody, $optParams = array())
 537    {
 538      $params = array('project' => $project, 'postBody' => $postBody);
 539      $params = array_merge($params, $optParams);
 540      return $this->call('insert', array($params), "Google_Service_Computeaccounts_Operation");
 541    }
 542  
 543    /**
 544     * Retrieves the list of groups contained within the specified project.
 545     * (groups.listGroups)
 546     *
 547     * @param string $project Project ID for this request.
 548     * @param array $optParams Optional parameters.
 549     *
 550     * @opt_param string filter Optional. Filter expression for filtering listed
 551     * resources.
 552     * @opt_param string pageToken Optional. Tag returned by a previous list request
 553     * truncated by maxResults. Used to continue a previous list request.
 554     * @opt_param string maxResults Optional. Maximum count of results to be
 555     * returned. Maximum value is 500 and default value is 500.
 556     * @return Google_Service_Computeaccounts_GroupList
 557     */
 558    public function listGroups($project, $optParams = array())
 559    {
 560      $params = array('project' => $project);
 561      $params = array_merge($params, $optParams);
 562      return $this->call('list', array($params), "Google_Service_Computeaccounts_GroupList");
 563    }
 564  
 565    /**
 566     * Removes users from the specified group. (groups.removeMember)
 567     *
 568     * @param string $project Project ID for this request.
 569     * @param string $groupName Name of the group for this request.
 570     * @param Google_GroupsRemoveMemberRequest $postBody
 571     * @param array $optParams Optional parameters.
 572     * @return Google_Service_Computeaccounts_Operation
 573     */
 574    public function removeMember($project, $groupName, Google_Service_Computeaccounts_GroupsRemoveMemberRequest $postBody, $optParams = array())
 575    {
 576      $params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody);
 577      $params = array_merge($params, $optParams);
 578      return $this->call('removeMember', array($params), "Google_Service_Computeaccounts_Operation");
 579    }
 580  }
 581  
 582  /**
 583   * The "linux" collection of methods.
 584   * Typical usage is:
 585   *  <code>
 586   *   $computeaccountsService = new Google_Service_Computeaccounts(...);
 587   *   $linux = $computeaccountsService->linux;
 588   *  </code>
 589   */
 590  class Google_Service_Computeaccounts_Linux_Resource extends Google_Service_Resource
 591  {
 592  
 593    /**
 594     * Returns the AuthorizedKeysView of the specified user.
 595     * (linux.getAuthorizedKeysView)
 596     *
 597     * @param string $project Project ID for this request.
 598     * @param string $zone Name of the zone for this request.
 599     * @param string $user Username of the AuthorizedKeysView to return.
 600     * @param string $instance The fully-qualified URL of the instance requesting
 601     * the view.
 602     * @param array $optParams Optional parameters.
 603     * @return Google_Service_Computeaccounts_LinuxGetAuthorizedKeysViewResponse
 604     */
 605    public function getAuthorizedKeysView($project, $zone, $user, $instance, $optParams = array())
 606    {
 607      $params = array('project' => $project, 'zone' => $zone, 'user' => $user, 'instance' => $instance);
 608      $params = array_merge($params, $optParams);
 609      return $this->call('getAuthorizedKeysView', array($params), "Google_Service_Computeaccounts_LinuxGetAuthorizedKeysViewResponse");
 610    }
 611  
 612    /**
 613     * Retrieves the Linux views for an instance contained within the specified
 614     * project. (linux.getLinuxAccountViews)
 615     *
 616     * @param string $project Project ID for this request.
 617     * @param string $zone Name of the zone for this request.
 618     * @param string $instance The fully-qualified URL of the instance requesting
 619     * the views.
 620     * @param array $optParams Optional parameters.
 621     *
 622     * @opt_param string pageToken Optional. Tag returned by a previous list request
 623     * truncated by maxResults. Used to continue a previous list request.
 624     * @opt_param string maxResults Optional. Maximum count of results to be
 625     * returned. Maximum value is 500 and default value is 500.
 626     * @opt_param string filter Optional. Filter expression for filtering listed
 627     * resources.
 628     * @opt_param string user If provided, the user whose login is triggering an
 629     * immediate refresh of the views.
 630     * @return Google_Service_Computeaccounts_LinuxGetLinuxAccountViewsResponse
 631     */
 632    public function getLinuxAccountViews($project, $zone, $instance, $optParams = array())
 633    {
 634      $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
 635      $params = array_merge($params, $optParams);
 636      return $this->call('getLinuxAccountViews', array($params), "Google_Service_Computeaccounts_LinuxGetLinuxAccountViewsResponse");
 637    }
 638  }
 639  
 640  /**
 641   * The "users" collection of methods.
 642   * Typical usage is:
 643   *  <code>
 644   *   $computeaccountsService = new Google_Service_Computeaccounts(...);
 645   *   $users = $computeaccountsService->users;
 646   *  </code>
 647   */
 648  class Google_Service_Computeaccounts_Users_Resource extends Google_Service_Resource
 649  {
 650  
 651    /**
 652     * Adds a public key to the specified user using the data included in the
 653     * request. (users.addPublicKey)
 654     *
 655     * @param string $project Project ID for this request.
 656     * @param string $user Name of the user for this request.
 657     * @param Google_PublicKey $postBody
 658     * @param array $optParams Optional parameters.
 659     * @return Google_Service_Computeaccounts_Operation
 660     */
 661    public function addPublicKey($project, $user, Google_Service_Computeaccounts_PublicKey $postBody, $optParams = array())
 662    {
 663      $params = array('project' => $project, 'user' => $user, 'postBody' => $postBody);
 664      $params = array_merge($params, $optParams);
 665      return $this->call('addPublicKey', array($params), "Google_Service_Computeaccounts_Operation");
 666    }
 667  
 668    /**
 669     * Deletes the specified user resource. (users.delete)
 670     *
 671     * @param string $project Project ID for this request.
 672     * @param string $user Name of the user resource to delete.
 673     * @param array $optParams Optional parameters.
 674     * @return Google_Service_Computeaccounts_Operation
 675     */
 676    public function delete($project, $user, $optParams = array())
 677    {
 678      $params = array('project' => $project, 'user' => $user);
 679      $params = array_merge($params, $optParams);
 680      return $this->call('delete', array($params), "Google_Service_Computeaccounts_Operation");
 681    }
 682  
 683    /**
 684     * Returns the specified user resource. (users.get)
 685     *
 686     * @param string $project Project ID for this request.
 687     * @param string $user Name of the user resource to return.
 688     * @param array $optParams Optional parameters.
 689     * @return Google_Service_Computeaccounts_User
 690     */
 691    public function get($project, $user, $optParams = array())
 692    {
 693      $params = array('project' => $project, 'user' => $user);
 694      $params = array_merge($params, $optParams);
 695      return $this->call('get', array($params), "Google_Service_Computeaccounts_User");
 696    }
 697  
 698    /**
 699     * Creates a user resource in the specified project using the data included in
 700     * the request. (users.insert)
 701     *
 702     * @param string $project Project ID for this request.
 703     * @param Google_User $postBody
 704     * @param array $optParams Optional parameters.
 705     * @return Google_Service_Computeaccounts_Operation
 706     */
 707    public function insert($project, Google_Service_Computeaccounts_User $postBody, $optParams = array())
 708    {
 709      $params = array('project' => $project, 'postBody' => $postBody);
 710      $params = array_merge($params, $optParams);
 711      return $this->call('insert', array($params), "Google_Service_Computeaccounts_Operation");
 712    }
 713  
 714    /**
 715     * Retrieves the list of users contained within the specified project.
 716     * (users.listUsers)
 717     *
 718     * @param string $project Project ID for this request.
 719     * @param array $optParams Optional parameters.
 720     *
 721     * @opt_param string filter Optional. Filter expression for filtering listed
 722     * resources.
 723     * @opt_param string pageToken Optional. Tag returned by a previous list request
 724     * truncated by maxResults. Used to continue a previous list request.
 725     * @opt_param string maxResults Optional. Maximum count of results to be
 726     * returned. Maximum value is 500 and default value is 500.
 727     * @return Google_Service_Computeaccounts_UserList
 728     */
 729    public function listUsers($project, $optParams = array())
 730    {
 731      $params = array('project' => $project);
 732      $params = array_merge($params, $optParams);
 733      return $this->call('list', array($params), "Google_Service_Computeaccounts_UserList");
 734    }
 735  
 736    /**
 737     * Removes the specified public key from the user. (users.removePublicKey)
 738     *
 739     * @param string $project Project ID for this request.
 740     * @param string $user Name of the user for this request.
 741     * @param string $fingerprint The fingerprint of the public key to delete.
 742     * Public keys are identified by their fingerprint, which is defined by RFC4716
 743     * to be the MD5 digest of the public key.
 744     * @param array $optParams Optional parameters.
 745     * @return Google_Service_Computeaccounts_Operation
 746     */
 747    public function removePublicKey($project, $user, $fingerprint, $optParams = array())
 748    {
 749      $params = array('project' => $project, 'user' => $user, 'fingerprint' => $fingerprint);
 750      $params = array_merge($params, $optParams);
 751      return $this->call('removePublicKey', array($params), "Google_Service_Computeaccounts_Operation");
 752    }
 753  }
 754  
 755  
 756  
 757  
 758  class Google_Service_Computeaccounts_AuthorizedKeysView extends Google_Collection
 759  {
 760    protected $collection_key = 'keys';
 761    protected $internal_gapi_mappings = array(
 762    );
 763    public $keys;
 764  
 765  
 766    public function setKeys($keys)
 767    {
 768      $this->keys = $keys;
 769    }
 770    public function getKeys()
 771    {
 772      return $this->keys;
 773    }
 774  }
 775  
 776  class Google_Service_Computeaccounts_Group extends Google_Collection
 777  {
 778    protected $collection_key = 'members';
 779    protected $internal_gapi_mappings = array(
 780    );
 781    public $creationTimestamp;
 782    public $description;
 783    public $id;
 784    public $kind;
 785    public $members;
 786    public $name;
 787    public $selfLink;
 788  
 789  
 790    public function setCreationTimestamp($creationTimestamp)
 791    {
 792      $this->creationTimestamp = $creationTimestamp;
 793    }
 794    public function getCreationTimestamp()
 795    {
 796      return $this->creationTimestamp;
 797    }
 798    public function setDescription($description)
 799    {
 800      $this->description = $description;
 801    }
 802    public function getDescription()
 803    {
 804      return $this->description;
 805    }
 806    public function setId($id)
 807    {
 808      $this->id = $id;
 809    }
 810    public function getId()
 811    {
 812      return $this->id;
 813    }
 814    public function setKind($kind)
 815    {
 816      $this->kind = $kind;
 817    }
 818    public function getKind()
 819    {
 820      return $this->kind;
 821    }
 822    public function setMembers($members)
 823    {
 824      $this->members = $members;
 825    }
 826    public function getMembers()
 827    {
 828      return $this->members;
 829    }
 830    public function setName($name)
 831    {
 832      $this->name = $name;
 833    }
 834    public function getName()
 835    {
 836      return $this->name;
 837    }
 838    public function setSelfLink($selfLink)
 839    {
 840      $this->selfLink = $selfLink;
 841    }
 842    public function getSelfLink()
 843    {
 844      return $this->selfLink;
 845    }
 846  }
 847  
 848  class Google_Service_Computeaccounts_GroupList extends Google_Collection
 849  {
 850    protected $collection_key = 'items';
 851    protected $internal_gapi_mappings = array(
 852    );
 853    public $id;
 854    protected $itemsType = 'Google_Service_Computeaccounts_Group';
 855    protected $itemsDataType = 'array';
 856    public $kind;
 857    public $nextPageToken;
 858    public $selfLink;
 859  
 860  
 861    public function setId($id)
 862    {
 863      $this->id = $id;
 864    }
 865    public function getId()
 866    {
 867      return $this->id;
 868    }
 869    public function setItems($items)
 870    {
 871      $this->items = $items;
 872    }
 873    public function getItems()
 874    {
 875      return $this->items;
 876    }
 877    public function setKind($kind)
 878    {
 879      $this->kind = $kind;
 880    }
 881    public function getKind()
 882    {
 883      return $this->kind;
 884    }
 885    public function setNextPageToken($nextPageToken)
 886    {
 887      $this->nextPageToken = $nextPageToken;
 888    }
 889    public function getNextPageToken()
 890    {
 891      return $this->nextPageToken;
 892    }
 893    public function setSelfLink($selfLink)
 894    {
 895      $this->selfLink = $selfLink;
 896    }
 897    public function getSelfLink()
 898    {
 899      return $this->selfLink;
 900    }
 901  }
 902  
 903  class Google_Service_Computeaccounts_GroupsAddMemberRequest extends Google_Collection
 904  {
 905    protected $collection_key = 'users';
 906    protected $internal_gapi_mappings = array(
 907    );
 908    public $users;
 909  
 910  
 911    public function setUsers($users)
 912    {
 913      $this->users = $users;
 914    }
 915    public function getUsers()
 916    {
 917      return $this->users;
 918    }
 919  }
 920  
 921  class Google_Service_Computeaccounts_GroupsRemoveMemberRequest extends Google_Collection
 922  {
 923    protected $collection_key = 'users';
 924    protected $internal_gapi_mappings = array(
 925    );
 926    public $users;
 927  
 928  
 929    public function setUsers($users)
 930    {
 931      $this->users = $users;
 932    }
 933    public function getUsers()
 934    {
 935      return $this->users;
 936    }
 937  }
 938  
 939  class Google_Service_Computeaccounts_LinuxAccountViews extends Google_Collection
 940  {
 941    protected $collection_key = 'userViews';
 942    protected $internal_gapi_mappings = array(
 943    );
 944    protected $groupViewsType = 'Google_Service_Computeaccounts_LinuxGroupView';
 945    protected $groupViewsDataType = 'array';
 946    public $kind;
 947    protected $userViewsType = 'Google_Service_Computeaccounts_LinuxUserView';
 948    protected $userViewsDataType = 'array';
 949  
 950  
 951    public function setGroupViews($groupViews)
 952    {
 953      $this->groupViews = $groupViews;
 954    }
 955    public function getGroupViews()
 956    {
 957      return $this->groupViews;
 958    }
 959    public function setKind($kind)
 960    {
 961      $this->kind = $kind;
 962    }
 963    public function getKind()
 964    {
 965      return $this->kind;
 966    }
 967    public function setUserViews($userViews)
 968    {
 969      $this->userViews = $userViews;
 970    }
 971    public function getUserViews()
 972    {
 973      return $this->userViews;
 974    }
 975  }
 976  
 977  class Google_Service_Computeaccounts_LinuxGetAuthorizedKeysViewResponse extends Google_Model
 978  {
 979    protected $internal_gapi_mappings = array(
 980    );
 981    protected $resourceType = 'Google_Service_Computeaccounts_AuthorizedKeysView';
 982    protected $resourceDataType = '';
 983  
 984  
 985    public function setResource(Google_Service_Computeaccounts_AuthorizedKeysView $resource)
 986    {
 987      $this->resource = $resource;
 988    }
 989    public function getResource()
 990    {
 991      return $this->resource;
 992    }
 993  }
 994  
 995  class Google_Service_Computeaccounts_LinuxGetLinuxAccountViewsResponse extends Google_Model
 996  {
 997    protected $internal_gapi_mappings = array(
 998    );
 999    protected $resourceType = 'Google_Service_Computeaccounts_LinuxAccountViews';
1000    protected $resourceDataType = '';
1001  
1002  
1003    public function setResource(Google_Service_Computeaccounts_LinuxAccountViews $resource)
1004    {
1005      $this->resource = $resource;
1006    }
1007    public function getResource()
1008    {
1009      return $this->resource;
1010    }
1011  }
1012  
1013  class Google_Service_Computeaccounts_LinuxGroupView extends Google_Collection
1014  {
1015    protected $collection_key = 'members';
1016    protected $internal_gapi_mappings = array(
1017    );
1018    public $gid;
1019    public $groupName;
1020    public $members;
1021  
1022  
1023    public function setGid($gid)
1024    {
1025      $this->gid = $gid;
1026    }
1027    public function getGid()
1028    {
1029      return $this->gid;
1030    }
1031    public function setGroupName($groupName)
1032    {
1033      $this->groupName = $groupName;
1034    }
1035    public function getGroupName()
1036    {
1037      return $this->groupName;
1038    }
1039    public function setMembers($members)
1040    {
1041      $this->members = $members;
1042    }
1043    public function getMembers()
1044    {
1045      return $this->members;
1046    }
1047  }
1048  
1049  class Google_Service_Computeaccounts_LinuxUserView extends Google_Model
1050  {
1051    protected $internal_gapi_mappings = array(
1052    );
1053    public $gecos;
1054    public $gid;
1055    public $homeDirectory;
1056    public $shell;
1057    public $uid;
1058    public $username;
1059  
1060  
1061    public function setGecos($gecos)
1062    {
1063      $this->gecos = $gecos;
1064    }
1065    public function getGecos()
1066    {
1067      return $this->gecos;
1068    }
1069    public function setGid($gid)
1070    {
1071      $this->gid = $gid;
1072    }
1073    public function getGid()
1074    {
1075      return $this->gid;
1076    }
1077    public function setHomeDirectory($homeDirectory)
1078    {
1079      $this->homeDirectory = $homeDirectory;
1080    }
1081    public function getHomeDirectory()
1082    {
1083      return $this->homeDirectory;
1084    }
1085    public function setShell($shell)
1086    {
1087      $this->shell = $shell;
1088    }
1089    public function getShell()
1090    {
1091      return $this->shell;
1092    }
1093    public function setUid($uid)
1094    {
1095      $this->uid = $uid;
1096    }
1097    public function getUid()
1098    {
1099      return $this->uid;
1100    }
1101    public function setUsername($username)
1102    {
1103      $this->username = $username;
1104    }
1105    public function getUsername()
1106    {
1107      return $this->username;
1108    }
1109  }
1110  
1111  class Google_Service_Computeaccounts_Operation extends Google_Collection
1112  {
1113    protected $collection_key = 'warnings';
1114    protected $internal_gapi_mappings = array(
1115    );
1116    public $clientOperationId;
1117    public $creationTimestamp;
1118    public $endTime;
1119    protected $errorType = 'Google_Service_Computeaccounts_OperationError';
1120    protected $errorDataType = '';
1121    public $httpErrorMessage;
1122    public $httpErrorStatusCode;
1123    public $id;
1124    public $insertTime;
1125    public $kind;
1126    public $name;
1127    public $operationType;
1128    public $progress;
1129    public $region;
1130    public $selfLink;
1131    public $startTime;
1132    public $status;
1133    public $statusMessage;
1134    public $targetId;
1135    public $targetLink;
1136    public $user;
1137    protected $warningsType = 'Google_Service_Computeaccounts_OperationWarnings';
1138    protected $warningsDataType = 'array';
1139    public $zone;
1140  
1141  
1142    public function setClientOperationId($clientOperationId)
1143    {
1144      $this->clientOperationId = $clientOperationId;
1145    }
1146    public function getClientOperationId()
1147    {
1148      return $this->clientOperationId;
1149    }
1150    public function setCreationTimestamp($creationTimestamp)
1151    {
1152      $this->creationTimestamp = $creationTimestamp;
1153    }
1154    public function getCreationTimestamp()
1155    {
1156      return $this->creationTimestamp;
1157    }
1158    public function setEndTime($endTime)
1159    {
1160      $this->endTime = $endTime;
1161    }
1162    public function getEndTime()
1163    {
1164      return $this->endTime;
1165    }
1166    public function setError(Google_Service_Computeaccounts_OperationError $error)
1167    {
1168      $this->error = $error;
1169    }
1170    public function getError()
1171    {
1172      return $this->error;
1173    }
1174    public function setHttpErrorMessage($httpErrorMessage)
1175    {
1176      $this->httpErrorMessage = $httpErrorMessage;
1177    }
1178    public function getHttpErrorMessage()
1179    {
1180      return $this->httpErrorMessage;
1181    }
1182    public function setHttpErrorStatusCode($httpErrorStatusCode)
1183    {
1184      $this->httpErrorStatusCode = $httpErrorStatusCode;
1185    }
1186    public function getHttpErrorStatusCode()
1187    {
1188      return $this->httpErrorStatusCode;
1189    }
1190    public function setId($id)
1191    {
1192      $this->id = $id;
1193    }
1194    public function getId()
1195    {
1196      return $this->id;
1197    }
1198    public function setInsertTime($insertTime)
1199    {
1200      $this->insertTime = $insertTime;
1201    }
1202    public function getInsertTime()
1203    {
1204      return $this->insertTime;
1205    }
1206    public function setKind($kind)
1207    {
1208      $this->kind = $kind;
1209    }
1210    public function getKind()
1211    {
1212      return $this->kind;
1213    }
1214    public function setName($name)
1215    {
1216      $this->name = $name;
1217    }
1218    public function getName()
1219    {
1220      return $this->name;
1221    }
1222    public function setOperationType($operationType)
1223    {
1224      $this->operationType = $operationType;
1225    }
1226    public function getOperationType()
1227    {
1228      return $this->operationType;
1229    }
1230    public function setProgress($progress)
1231    {
1232      $this->progress = $progress;
1233    }
1234    public function getProgress()
1235    {
1236      return $this->progress;
1237    }
1238    public function setRegion($region)
1239    {
1240      $this->region = $region;
1241    }
1242    public function getRegion()
1243    {
1244      return $this->region;
1245    }
1246    public function setSelfLink($selfLink)
1247    {
1248      $this->selfLink = $selfLink;
1249    }
1250    public function getSelfLink()
1251    {
1252      return $this->selfLink;
1253    }
1254    public function setStartTime($startTime)
1255    {
1256      $this->startTime = $startTime;
1257    }
1258    public function getStartTime()
1259    {
1260      return $this->startTime;
1261    }
1262    public function setStatus($status)
1263    {
1264      $this->status = $status;
1265    }
1266    public function getStatus()
1267    {
1268      return $this->status;
1269    }
1270    public function setStatusMessage($statusMessage)
1271    {
1272      $this->statusMessage = $statusMessage;
1273    }
1274    public function getStatusMessage()
1275    {
1276      return $this->statusMessage;
1277    }
1278    public function setTargetId($targetId)
1279    {
1280      $this->targetId = $targetId;
1281    }
1282    public function getTargetId()
1283    {
1284      return $this->targetId;
1285    }
1286    public function setTargetLink($targetLink)
1287    {
1288      $this->targetLink = $targetLink;
1289    }
1290    public function getTargetLink()
1291    {
1292      return $this->targetLink;
1293    }
1294    public function setUser($user)
1295    {
1296      $this->user = $user;
1297    }
1298    public function getUser()
1299    {
1300      return $this->user;
1301    }
1302    public function setWarnings($warnings)
1303    {
1304      $this->warnings = $warnings;
1305    }
1306    public function getWarnings()
1307    {
1308      return $this->warnings;
1309    }
1310    public function setZone($zone)
1311    {
1312      $this->zone = $zone;
1313    }
1314    public function getZone()
1315    {
1316      return $this->zone;
1317    }
1318  }
1319  
1320  class Google_Service_Computeaccounts_OperationError extends Google_Collection
1321  {
1322    protected $collection_key = 'errors';
1323    protected $internal_gapi_mappings = array(
1324    );
1325    protected $errorsType = 'Google_Service_Computeaccounts_OperationErrorErrors';
1326    protected $errorsDataType = 'array';
1327  
1328  
1329    public function setErrors($errors)
1330    {
1331      $this->errors = $errors;
1332    }
1333    public function getErrors()
1334    {
1335      return $this->errors;
1336    }
1337  }
1338  
1339  class Google_Service_Computeaccounts_OperationErrorErrors extends Google_Model
1340  {
1341    protected $internal_gapi_mappings = array(
1342    );
1343    public $code;
1344    public $location;
1345    public $message;
1346  
1347  
1348    public function setCode($code)
1349    {
1350      $this->code = $code;
1351    }
1352    public function getCode()
1353    {
1354      return $this->code;
1355    }
1356    public function setLocation($location)
1357    {
1358      $this->location = $location;
1359    }
1360    public function getLocation()
1361    {
1362      return $this->location;
1363    }
1364    public function setMessage($message)
1365    {
1366      $this->message = $message;
1367    }
1368    public function getMessage()
1369    {
1370      return $this->message;
1371    }
1372  }
1373  
1374  class Google_Service_Computeaccounts_OperationList extends Google_Collection
1375  {
1376    protected $collection_key = 'items';
1377    protected $internal_gapi_mappings = array(
1378    );
1379    public $id;
1380    protected $itemsType = 'Google_Service_Computeaccounts_Operation';
1381    protected $itemsDataType = 'array';
1382    public $kind;
1383    public $nextPageToken;
1384    public $selfLink;
1385  
1386  
1387    public function setId($id)
1388    {
1389      $this->id = $id;
1390    }
1391    public function getId()
1392    {
1393      return $this->id;
1394    }
1395    public function setItems($items)
1396    {
1397      $this->items = $items;
1398    }
1399    public function getItems()
1400    {
1401      return $this->items;
1402    }
1403    public function setKind($kind)
1404    {
1405      $this->kind = $kind;
1406    }
1407    public function getKind()
1408    {
1409      return $this->kind;
1410    }
1411    public function setNextPageToken($nextPageToken)
1412    {
1413      $this->nextPageToken = $nextPageToken;
1414    }
1415    public function getNextPageToken()
1416    {
1417      return $this->nextPageToken;
1418    }
1419    public function setSelfLink($selfLink)
1420    {
1421      $this->selfLink = $selfLink;
1422    }
1423    public function getSelfLink()
1424    {
1425      return $this->selfLink;
1426    }
1427  }
1428  
1429  class Google_Service_Computeaccounts_OperationWarnings extends Google_Collection
1430  {
1431    protected $collection_key = 'data';
1432    protected $internal_gapi_mappings = array(
1433    );
1434    public $code;
1435    protected $dataType = 'Google_Service_Computeaccounts_OperationWarningsData';
1436    protected $dataDataType = 'array';
1437    public $message;
1438  
1439  
1440    public function setCode($code)
1441    {
1442      $this->code = $code;
1443    }
1444    public function getCode()
1445    {
1446      return $this->code;
1447    }
1448    public function setData($data)
1449    {
1450      $this->data = $data;
1451    }
1452    public function getData()
1453    {
1454      return $this->data;
1455    }
1456    public function setMessage($message)
1457    {
1458      $this->message = $message;
1459    }
1460    public function getMessage()
1461    {
1462      return $this->message;
1463    }
1464  }
1465  
1466  class Google_Service_Computeaccounts_OperationWarningsData extends Google_Model
1467  {
1468    protected $internal_gapi_mappings = array(
1469    );
1470    public $key;
1471    public $value;
1472  
1473  
1474    public function setKey($key)
1475    {
1476      $this->key = $key;
1477    }
1478    public function getKey()
1479    {
1480      return $this->key;
1481    }
1482    public function setValue($value)
1483    {
1484      $this->value = $value;
1485    }
1486    public function getValue()
1487    {
1488      return $this->value;
1489    }
1490  }
1491  
1492  class Google_Service_Computeaccounts_PublicKey extends Google_Model
1493  {
1494    protected $internal_gapi_mappings = array(
1495    );
1496    public $creationTimestamp;
1497    public $description;
1498    public $expirationTimestamp;
1499    public $fingerprint;
1500    public $key;
1501  
1502  
1503    public function setCreationTimestamp($creationTimestamp)
1504    {
1505      $this->creationTimestamp = $creationTimestamp;
1506    }
1507    public function getCreationTimestamp()
1508    {
1509      return $this->creationTimestamp;
1510    }
1511    public function setDescription($description)
1512    {
1513      $this->description = $description;
1514    }
1515    public function getDescription()
1516    {
1517      return $this->description;
1518    }
1519    public function setExpirationTimestamp($expirationTimestamp)
1520    {
1521      $this->expirationTimestamp = $expirationTimestamp;
1522    }
1523    public function getExpirationTimestamp()
1524    {
1525      return $this->expirationTimestamp;
1526    }
1527    public function setFingerprint($fingerprint)
1528    {
1529      $this->fingerprint = $fingerprint;
1530    }
1531    public function getFingerprint()
1532    {
1533      return $this->fingerprint;
1534    }
1535    public function setKey($key)
1536    {
1537      $this->key = $key;
1538    }
1539    public function getKey()
1540    {
1541      return $this->key;
1542    }
1543  }
1544  
1545  class Google_Service_Computeaccounts_User extends Google_Collection
1546  {
1547    protected $collection_key = 'publicKeys';
1548    protected $internal_gapi_mappings = array(
1549    );
1550    public $creationTimestamp;
1551    public $description;
1552    public $groups;
1553    public $id;
1554    public $kind;
1555    public $name;
1556    public $owner;
1557    protected $publicKeysType = 'Google_Service_Computeaccounts_PublicKey';
1558    protected $publicKeysDataType = 'array';
1559    public $selfLink;
1560  
1561  
1562    public function setCreationTimestamp($creationTimestamp)
1563    {
1564      $this->creationTimestamp = $creationTimestamp;
1565    }
1566    public function getCreationTimestamp()
1567    {
1568      return $this->creationTimestamp;
1569    }
1570    public function setDescription($description)
1571    {
1572      $this->description = $description;
1573    }
1574    public function getDescription()
1575    {
1576      return $this->description;
1577    }
1578    public function setGroups($groups)
1579    {
1580      $this->groups = $groups;
1581    }
1582    public function getGroups()
1583    {
1584      return $this->groups;
1585    }
1586    public function setId($id)
1587    {
1588      $this->id = $id;
1589    }
1590    public function getId()
1591    {
1592      return $this->id;
1593    }
1594    public function setKind($kind)
1595    {
1596      $this->kind = $kind;
1597    }
1598    public function getKind()
1599    {
1600      return $this->kind;
1601    }
1602    public function setName($name)
1603    {
1604      $this->name = $name;
1605    }
1606    public function getName()
1607    {
1608      return $this->name;
1609    }
1610    public function setOwner($owner)
1611    {
1612      $this->owner = $owner;
1613    }
1614    public function getOwner()
1615    {
1616      return $this->owner;
1617    }
1618    public function setPublicKeys($publicKeys)
1619    {
1620      $this->publicKeys = $publicKeys;
1621    }
1622    public function getPublicKeys()
1623    {
1624      return $this->publicKeys;
1625    }
1626    public function setSelfLink($selfLink)
1627    {
1628      $this->selfLink = $selfLink;
1629    }
1630    public function getSelfLink()
1631    {
1632      return $this->selfLink;
1633    }
1634  }
1635  
1636  class Google_Service_Computeaccounts_UserList extends Google_Collection
1637  {
1638    protected $collection_key = 'items';
1639    protected $internal_gapi_mappings = array(
1640    );
1641    public $id;
1642    protected $itemsType = 'Google_Service_Computeaccounts_User';
1643    protected $itemsDataType = 'array';
1644    public $kind;
1645    public $nextPageToken;
1646    public $selfLink;
1647  
1648  
1649    public function setId($id)
1650    {
1651      $this->id = $id;
1652    }
1653    public function getId()
1654    {
1655      return $this->id;
1656    }
1657    public function setItems($items)
1658    {
1659      $this->items = $items;
1660    }
1661    public function getItems()
1662    {
1663      return $this->items;
1664    }
1665    public function setKind($kind)
1666    {
1667      $this->kind = $kind;
1668    }
1669    public function getKind()
1670    {
1671      return $this->kind;
1672    }
1673    public function setNextPageToken($nextPageToken)
1674    {
1675      $this->nextPageToken = $nextPageToken;
1676    }
1677    public function getNextPageToken()
1678    {
1679      return $this->nextPageToken;
1680    }
1681    public function setSelfLink($selfLink)
1682    {
1683      $this->selfLink = $selfLink;
1684    }
1685    public function getSelfLink()
1686    {
1687      return $this->selfLink;
1688    }
1689  }