[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
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 Directory (directory_v1). 20 * 21 * <p> 22 * The Admin SDK Directory API lets you view and manage enterprise resources such as users and groups, administrative notifications, security features, and more. 23 * </p> 24 * 25 * <p> 26 * For more information about this service, see the API 27 * <a href="https://developers.google.com/admin-sdk/directory/" target="_blank">Documentation</a> 28 * </p> 29 * 30 * @author Google, Inc. 31 */ 32 class Google_Service_Directory extends Google_Service 33 { 34 /** View and manage your Chrome OS devices' metadata. */ 35 const ADMIN_DIRECTORY_DEVICE_CHROMEOS = "https://www.googleapis.com/auth/admin.directory.device.chromeos"; 36 /** View your Chrome OS devices' metadata. */ 37 const ADMIN_DIRECTORY_DEVICE_CHROMEOS_READONLY = "https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly"; 38 /** View and manage your mobile devices' metadata. */ 39 const ADMIN_DIRECTORY_DEVICE_MOBILE = "https://www.googleapis.com/auth/admin.directory.device.mobile"; 40 /** Manage your mobile devices by performing administrative tasks. */ 41 const ADMIN_DIRECTORY_DEVICE_MOBILE_ACTION = "https://www.googleapis.com/auth/admin.directory.device.mobile.action"; 42 /** View your mobile devices' metadata. */ 43 const ADMIN_DIRECTORY_DEVICE_MOBILE_READONLY = "https://www.googleapis.com/auth/admin.directory.device.mobile.readonly"; 44 /** View and manage the provisioning of groups on your domain. */ 45 const ADMIN_DIRECTORY_GROUP = "https://www.googleapis.com/auth/admin.directory.group"; 46 /** View and manage group subscriptions on your domain. */ 47 const ADMIN_DIRECTORY_GROUP_MEMBER = "https://www.googleapis.com/auth/admin.directory.group.member"; 48 /** View group subscriptions on your domain. */ 49 const ADMIN_DIRECTORY_GROUP_MEMBER_READONLY = "https://www.googleapis.com/auth/admin.directory.group.member.readonly"; 50 /** View groups on your domain. */ 51 const ADMIN_DIRECTORY_GROUP_READONLY = "https://www.googleapis.com/auth/admin.directory.group.readonly"; 52 /** View and manage notifications received on your domain. */ 53 const ADMIN_DIRECTORY_NOTIFICATIONS = "https://www.googleapis.com/auth/admin.directory.notifications"; 54 /** View and manage organization units on your domain. */ 55 const ADMIN_DIRECTORY_ORGUNIT = "https://www.googleapis.com/auth/admin.directory.orgunit"; 56 /** View organization units on your domain. */ 57 const ADMIN_DIRECTORY_ORGUNIT_READONLY = "https://www.googleapis.com/auth/admin.directory.orgunit.readonly"; 58 /** View and manage the provisioning of users on your domain. */ 59 const ADMIN_DIRECTORY_USER = "https://www.googleapis.com/auth/admin.directory.user"; 60 /** View and manage user aliases on your domain. */ 61 const ADMIN_DIRECTORY_USER_ALIAS = "https://www.googleapis.com/auth/admin.directory.user.alias"; 62 /** View user aliases on your domain. */ 63 const ADMIN_DIRECTORY_USER_ALIAS_READONLY = "https://www.googleapis.com/auth/admin.directory.user.alias.readonly"; 64 /** View users on your domain. */ 65 const ADMIN_DIRECTORY_USER_READONLY = "https://www.googleapis.com/auth/admin.directory.user.readonly"; 66 /** Manage data access permissions for users on your domain. */ 67 const ADMIN_DIRECTORY_USER_SECURITY = "https://www.googleapis.com/auth/admin.directory.user.security"; 68 69 public $asps; 70 public $channels; 71 public $chromeosdevices; 72 public $groups; 73 public $groups_aliases; 74 public $members; 75 public $mobiledevices; 76 public $notifications; 77 public $orgunits; 78 public $tokens; 79 public $users; 80 public $users_aliases; 81 public $users_photos; 82 public $verificationCodes; 83 84 85 /** 86 * Constructs the internal representation of the Directory service. 87 * 88 * @param Google_Client $client 89 */ 90 public function __construct(Google_Client $client) 91 { 92 parent::__construct($client); 93 $this->servicePath = 'admin/directory/v1/'; 94 $this->version = 'directory_v1'; 95 $this->serviceName = 'admin'; 96 97 $this->asps = new Google_Service_Directory_Asps_Resource( 98 $this, 99 $this->serviceName, 100 'asps', 101 array( 102 'methods' => array( 103 'delete' => array( 104 'path' => 'users/{userKey}/asps/{codeId}', 105 'httpMethod' => 'DELETE', 106 'parameters' => array( 107 'userKey' => array( 108 'location' => 'path', 109 'type' => 'string', 110 'required' => true, 111 ), 112 'codeId' => array( 113 'location' => 'path', 114 'type' => 'integer', 115 'required' => true, 116 ), 117 ), 118 ),'get' => array( 119 'path' => 'users/{userKey}/asps/{codeId}', 120 'httpMethod' => 'GET', 121 'parameters' => array( 122 'userKey' => array( 123 'location' => 'path', 124 'type' => 'string', 125 'required' => true, 126 ), 127 'codeId' => array( 128 'location' => 'path', 129 'type' => 'integer', 130 'required' => true, 131 ), 132 ), 133 ),'list' => array( 134 'path' => 'users/{userKey}/asps', 135 'httpMethod' => 'GET', 136 'parameters' => array( 137 'userKey' => array( 138 'location' => 'path', 139 'type' => 'string', 140 'required' => true, 141 ), 142 ), 143 ), 144 ) 145 ) 146 ); 147 $this->channels = new Google_Service_Directory_Channels_Resource( 148 $this, 149 $this->serviceName, 150 'channels', 151 array( 152 'methods' => array( 153 'stop' => array( 154 'path' => '/admin/directory_v1/channels/stop', 155 'httpMethod' => 'POST', 156 'parameters' => array(), 157 ), 158 ) 159 ) 160 ); 161 $this->chromeosdevices = new Google_Service_Directory_Chromeosdevices_Resource( 162 $this, 163 $this->serviceName, 164 'chromeosdevices', 165 array( 166 'methods' => array( 167 'get' => array( 168 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}', 169 'httpMethod' => 'GET', 170 'parameters' => array( 171 'customerId' => array( 172 'location' => 'path', 173 'type' => 'string', 174 'required' => true, 175 ), 176 'deviceId' => array( 177 'location' => 'path', 178 'type' => 'string', 179 'required' => true, 180 ), 181 'projection' => array( 182 'location' => 'query', 183 'type' => 'string', 184 ), 185 ), 186 ),'list' => array( 187 'path' => 'customer/{customerId}/devices/chromeos', 188 'httpMethod' => 'GET', 189 'parameters' => array( 190 'customerId' => array( 191 'location' => 'path', 192 'type' => 'string', 193 'required' => true, 194 ), 195 'orderBy' => array( 196 'location' => 'query', 197 'type' => 'string', 198 ), 199 'projection' => array( 200 'location' => 'query', 201 'type' => 'string', 202 ), 203 'maxResults' => array( 204 'location' => 'query', 205 'type' => 'integer', 206 ), 207 'pageToken' => array( 208 'location' => 'query', 209 'type' => 'string', 210 ), 211 'sortOrder' => array( 212 'location' => 'query', 213 'type' => 'string', 214 ), 215 'query' => array( 216 'location' => 'query', 217 'type' => 'string', 218 ), 219 ), 220 ),'patch' => array( 221 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}', 222 'httpMethod' => 'PATCH', 223 'parameters' => array( 224 'customerId' => array( 225 'location' => 'path', 226 'type' => 'string', 227 'required' => true, 228 ), 229 'deviceId' => array( 230 'location' => 'path', 231 'type' => 'string', 232 'required' => true, 233 ), 234 'projection' => array( 235 'location' => 'query', 236 'type' => 'string', 237 ), 238 ), 239 ),'update' => array( 240 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}', 241 'httpMethod' => 'PUT', 242 'parameters' => array( 243 'customerId' => array( 244 'location' => 'path', 245 'type' => 'string', 246 'required' => true, 247 ), 248 'deviceId' => array( 249 'location' => 'path', 250 'type' => 'string', 251 'required' => true, 252 ), 253 'projection' => array( 254 'location' => 'query', 255 'type' => 'string', 256 ), 257 ), 258 ), 259 ) 260 ) 261 ); 262 $this->groups = new Google_Service_Directory_Groups_Resource( 263 $this, 264 $this->serviceName, 265 'groups', 266 array( 267 'methods' => array( 268 'delete' => array( 269 'path' => 'groups/{groupKey}', 270 'httpMethod' => 'DELETE', 271 'parameters' => array( 272 'groupKey' => array( 273 'location' => 'path', 274 'type' => 'string', 275 'required' => true, 276 ), 277 ), 278 ),'get' => array( 279 'path' => 'groups/{groupKey}', 280 'httpMethod' => 'GET', 281 'parameters' => array( 282 'groupKey' => array( 283 'location' => 'path', 284 'type' => 'string', 285 'required' => true, 286 ), 287 ), 288 ),'insert' => array( 289 'path' => 'groups', 290 'httpMethod' => 'POST', 291 'parameters' => array(), 292 ),'list' => array( 293 'path' => 'groups', 294 'httpMethod' => 'GET', 295 'parameters' => array( 296 'customer' => array( 297 'location' => 'query', 298 'type' => 'string', 299 ), 300 'pageToken' => array( 301 'location' => 'query', 302 'type' => 'string', 303 ), 304 'domain' => array( 305 'location' => 'query', 306 'type' => 'string', 307 ), 308 'maxResults' => array( 309 'location' => 'query', 310 'type' => 'integer', 311 ), 312 'userKey' => array( 313 'location' => 'query', 314 'type' => 'string', 315 ), 316 ), 317 ),'patch' => array( 318 'path' => 'groups/{groupKey}', 319 'httpMethod' => 'PATCH', 320 'parameters' => array( 321 'groupKey' => array( 322 'location' => 'path', 323 'type' => 'string', 324 'required' => true, 325 ), 326 ), 327 ),'update' => array( 328 'path' => 'groups/{groupKey}', 329 'httpMethod' => 'PUT', 330 'parameters' => array( 331 'groupKey' => array( 332 'location' => 'path', 333 'type' => 'string', 334 'required' => true, 335 ), 336 ), 337 ), 338 ) 339 ) 340 ); 341 $this->groups_aliases = new Google_Service_Directory_GroupsAliases_Resource( 342 $this, 343 $this->serviceName, 344 'aliases', 345 array( 346 'methods' => array( 347 'delete' => array( 348 'path' => 'groups/{groupKey}/aliases/{alias}', 349 'httpMethod' => 'DELETE', 350 'parameters' => array( 351 'groupKey' => array( 352 'location' => 'path', 353 'type' => 'string', 354 'required' => true, 355 ), 356 'alias' => array( 357 'location' => 'path', 358 'type' => 'string', 359 'required' => true, 360 ), 361 ), 362 ),'insert' => array( 363 'path' => 'groups/{groupKey}/aliases', 364 'httpMethod' => 'POST', 365 'parameters' => array( 366 'groupKey' => array( 367 'location' => 'path', 368 'type' => 'string', 369 'required' => true, 370 ), 371 ), 372 ),'list' => array( 373 'path' => 'groups/{groupKey}/aliases', 374 'httpMethod' => 'GET', 375 'parameters' => array( 376 'groupKey' => array( 377 'location' => 'path', 378 'type' => 'string', 379 'required' => true, 380 ), 381 ), 382 ), 383 ) 384 ) 385 ); 386 $this->members = new Google_Service_Directory_Members_Resource( 387 $this, 388 $this->serviceName, 389 'members', 390 array( 391 'methods' => array( 392 'delete' => array( 393 'path' => 'groups/{groupKey}/members/{memberKey}', 394 'httpMethod' => 'DELETE', 395 'parameters' => array( 396 'groupKey' => array( 397 'location' => 'path', 398 'type' => 'string', 399 'required' => true, 400 ), 401 'memberKey' => array( 402 'location' => 'path', 403 'type' => 'string', 404 'required' => true, 405 ), 406 ), 407 ),'get' => array( 408 'path' => 'groups/{groupKey}/members/{memberKey}', 409 'httpMethod' => 'GET', 410 'parameters' => array( 411 'groupKey' => array( 412 'location' => 'path', 413 'type' => 'string', 414 'required' => true, 415 ), 416 'memberKey' => array( 417 'location' => 'path', 418 'type' => 'string', 419 'required' => true, 420 ), 421 ), 422 ),'insert' => array( 423 'path' => 'groups/{groupKey}/members', 424 'httpMethod' => 'POST', 425 'parameters' => array( 426 'groupKey' => array( 427 'location' => 'path', 428 'type' => 'string', 429 'required' => true, 430 ), 431 ), 432 ),'list' => array( 433 'path' => 'groups/{groupKey}/members', 434 'httpMethod' => 'GET', 435 'parameters' => array( 436 'groupKey' => array( 437 'location' => 'path', 438 'type' => 'string', 439 'required' => true, 440 ), 441 'pageToken' => array( 442 'location' => 'query', 443 'type' => 'string', 444 ), 445 'roles' => array( 446 'location' => 'query', 447 'type' => 'string', 448 ), 449 'maxResults' => array( 450 'location' => 'query', 451 'type' => 'integer', 452 ), 453 ), 454 ),'patch' => array( 455 'path' => 'groups/{groupKey}/members/{memberKey}', 456 'httpMethod' => 'PATCH', 457 'parameters' => array( 458 'groupKey' => array( 459 'location' => 'path', 460 'type' => 'string', 461 'required' => true, 462 ), 463 'memberKey' => array( 464 'location' => 'path', 465 'type' => 'string', 466 'required' => true, 467 ), 468 ), 469 ),'update' => array( 470 'path' => 'groups/{groupKey}/members/{memberKey}', 471 'httpMethod' => 'PUT', 472 'parameters' => array( 473 'groupKey' => array( 474 'location' => 'path', 475 'type' => 'string', 476 'required' => true, 477 ), 478 'memberKey' => array( 479 'location' => 'path', 480 'type' => 'string', 481 'required' => true, 482 ), 483 ), 484 ), 485 ) 486 ) 487 ); 488 $this->mobiledevices = new Google_Service_Directory_Mobiledevices_Resource( 489 $this, 490 $this->serviceName, 491 'mobiledevices', 492 array( 493 'methods' => array( 494 'action' => array( 495 'path' => 'customer/{customerId}/devices/mobile/{resourceId}/action', 496 'httpMethod' => 'POST', 497 'parameters' => array( 498 'customerId' => array( 499 'location' => 'path', 500 'type' => 'string', 501 'required' => true, 502 ), 503 'resourceId' => array( 504 'location' => 'path', 505 'type' => 'string', 506 'required' => true, 507 ), 508 ), 509 ),'delete' => array( 510 'path' => 'customer/{customerId}/devices/mobile/{resourceId}', 511 'httpMethod' => 'DELETE', 512 'parameters' => array( 513 'customerId' => array( 514 'location' => 'path', 515 'type' => 'string', 516 'required' => true, 517 ), 518 'resourceId' => array( 519 'location' => 'path', 520 'type' => 'string', 521 'required' => true, 522 ), 523 ), 524 ),'get' => array( 525 'path' => 'customer/{customerId}/devices/mobile/{resourceId}', 526 'httpMethod' => 'GET', 527 'parameters' => array( 528 'customerId' => array( 529 'location' => 'path', 530 'type' => 'string', 531 'required' => true, 532 ), 533 'resourceId' => array( 534 'location' => 'path', 535 'type' => 'string', 536 'required' => true, 537 ), 538 'projection' => array( 539 'location' => 'query', 540 'type' => 'string', 541 ), 542 ), 543 ),'list' => array( 544 'path' => 'customer/{customerId}/devices/mobile', 545 'httpMethod' => 'GET', 546 'parameters' => array( 547 'customerId' => array( 548 'location' => 'path', 549 'type' => 'string', 550 'required' => true, 551 ), 552 'orderBy' => array( 553 'location' => 'query', 554 'type' => 'string', 555 ), 556 'projection' => array( 557 'location' => 'query', 558 'type' => 'string', 559 ), 560 'maxResults' => array( 561 'location' => 'query', 562 'type' => 'integer', 563 ), 564 'pageToken' => array( 565 'location' => 'query', 566 'type' => 'string', 567 ), 568 'sortOrder' => array( 569 'location' => 'query', 570 'type' => 'string', 571 ), 572 'query' => array( 573 'location' => 'query', 574 'type' => 'string', 575 ), 576 ), 577 ), 578 ) 579 ) 580 ); 581 $this->notifications = new Google_Service_Directory_Notifications_Resource( 582 $this, 583 $this->serviceName, 584 'notifications', 585 array( 586 'methods' => array( 587 'delete' => array( 588 'path' => 'customer/{customer}/notifications/{notificationId}', 589 'httpMethod' => 'DELETE', 590 'parameters' => array( 591 'customer' => array( 592 'location' => 'path', 593 'type' => 'string', 594 'required' => true, 595 ), 596 'notificationId' => array( 597 'location' => 'path', 598 'type' => 'string', 599 'required' => true, 600 ), 601 ), 602 ),'get' => array( 603 'path' => 'customer/{customer}/notifications/{notificationId}', 604 'httpMethod' => 'GET', 605 'parameters' => array( 606 'customer' => array( 607 'location' => 'path', 608 'type' => 'string', 609 'required' => true, 610 ), 611 'notificationId' => array( 612 'location' => 'path', 613 'type' => 'string', 614 'required' => true, 615 ), 616 ), 617 ),'list' => array( 618 'path' => 'customer/{customer}/notifications', 619 'httpMethod' => 'GET', 620 'parameters' => array( 621 'customer' => array( 622 'location' => 'path', 623 'type' => 'string', 624 'required' => true, 625 ), 626 'pageToken' => array( 627 'location' => 'query', 628 'type' => 'string', 629 ), 630 'maxResults' => array( 631 'location' => 'query', 632 'type' => 'integer', 633 ), 634 'language' => array( 635 'location' => 'query', 636 'type' => 'string', 637 ), 638 ), 639 ),'patch' => array( 640 'path' => 'customer/{customer}/notifications/{notificationId}', 641 'httpMethod' => 'PATCH', 642 'parameters' => array( 643 'customer' => array( 644 'location' => 'path', 645 'type' => 'string', 646 'required' => true, 647 ), 648 'notificationId' => array( 649 'location' => 'path', 650 'type' => 'string', 651 'required' => true, 652 ), 653 ), 654 ),'update' => array( 655 'path' => 'customer/{customer}/notifications/{notificationId}', 656 'httpMethod' => 'PUT', 657 'parameters' => array( 658 'customer' => array( 659 'location' => 'path', 660 'type' => 'string', 661 'required' => true, 662 ), 663 'notificationId' => array( 664 'location' => 'path', 665 'type' => 'string', 666 'required' => true, 667 ), 668 ), 669 ), 670 ) 671 ) 672 ); 673 $this->orgunits = new Google_Service_Directory_Orgunits_Resource( 674 $this, 675 $this->serviceName, 676 'orgunits', 677 array( 678 'methods' => array( 679 'delete' => array( 680 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', 681 'httpMethod' => 'DELETE', 682 'parameters' => array( 683 'customerId' => array( 684 'location' => 'path', 685 'type' => 'string', 686 'required' => true, 687 ), 688 'orgUnitPath' => array( 689 'location' => 'path', 690 'type' => 'string', 691 'repeated' => true, 692 'required' => true, 693 ), 694 ), 695 ),'get' => array( 696 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', 697 'httpMethod' => 'GET', 698 'parameters' => array( 699 'customerId' => array( 700 'location' => 'path', 701 'type' => 'string', 702 'required' => true, 703 ), 704 'orgUnitPath' => array( 705 'location' => 'path', 706 'type' => 'string', 707 'repeated' => true, 708 'required' => true, 709 ), 710 ), 711 ),'insert' => array( 712 'path' => 'customer/{customerId}/orgunits', 713 'httpMethod' => 'POST', 714 'parameters' => array( 715 'customerId' => array( 716 'location' => 'path', 717 'type' => 'string', 718 'required' => true, 719 ), 720 ), 721 ),'list' => array( 722 'path' => 'customer/{customerId}/orgunits', 723 'httpMethod' => 'GET', 724 'parameters' => array( 725 'customerId' => array( 726 'location' => 'path', 727 'type' => 'string', 728 'required' => true, 729 ), 730 'type' => array( 731 'location' => 'query', 732 'type' => 'string', 733 ), 734 'orgUnitPath' => array( 735 'location' => 'query', 736 'type' => 'string', 737 ), 738 ), 739 ),'patch' => array( 740 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', 741 'httpMethod' => 'PATCH', 742 'parameters' => array( 743 'customerId' => array( 744 'location' => 'path', 745 'type' => 'string', 746 'required' => true, 747 ), 748 'orgUnitPath' => array( 749 'location' => 'path', 750 'type' => 'string', 751 'repeated' => true, 752 'required' => true, 753 ), 754 ), 755 ),'update' => array( 756 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', 757 'httpMethod' => 'PUT', 758 'parameters' => array( 759 'customerId' => array( 760 'location' => 'path', 761 'type' => 'string', 762 'required' => true, 763 ), 764 'orgUnitPath' => array( 765 'location' => 'path', 766 'type' => 'string', 767 'repeated' => true, 768 'required' => true, 769 ), 770 ), 771 ), 772 ) 773 ) 774 ); 775 $this->tokens = new Google_Service_Directory_Tokens_Resource( 776 $this, 777 $this->serviceName, 778 'tokens', 779 array( 780 'methods' => array( 781 'delete' => array( 782 'path' => 'users/{userKey}/tokens/{clientId}', 783 'httpMethod' => 'DELETE', 784 'parameters' => array( 785 'userKey' => array( 786 'location' => 'path', 787 'type' => 'string', 788 'required' => true, 789 ), 790 'clientId' => array( 791 'location' => 'path', 792 'type' => 'string', 793 'required' => true, 794 ), 795 ), 796 ),'get' => array( 797 'path' => 'users/{userKey}/tokens/{clientId}', 798 'httpMethod' => 'GET', 799 'parameters' => array( 800 'userKey' => array( 801 'location' => 'path', 802 'type' => 'string', 803 'required' => true, 804 ), 805 'clientId' => array( 806 'location' => 'path', 807 'type' => 'string', 808 'required' => true, 809 ), 810 ), 811 ),'list' => array( 812 'path' => 'users/{userKey}/tokens', 813 'httpMethod' => 'GET', 814 'parameters' => array( 815 'userKey' => array( 816 'location' => 'path', 817 'type' => 'string', 818 'required' => true, 819 ), 820 ), 821 ), 822 ) 823 ) 824 ); 825 $this->users = new Google_Service_Directory_Users_Resource( 826 $this, 827 $this->serviceName, 828 'users', 829 array( 830 'methods' => array( 831 'delete' => array( 832 'path' => 'users/{userKey}', 833 'httpMethod' => 'DELETE', 834 'parameters' => array( 835 'userKey' => array( 836 'location' => 'path', 837 'type' => 'string', 838 'required' => true, 839 ), 840 ), 841 ),'get' => array( 842 'path' => 'users/{userKey}', 843 'httpMethod' => 'GET', 844 'parameters' => array( 845 'userKey' => array( 846 'location' => 'path', 847 'type' => 'string', 848 'required' => true, 849 ), 850 ), 851 ),'insert' => array( 852 'path' => 'users', 853 'httpMethod' => 'POST', 854 'parameters' => array(), 855 ),'list' => array( 856 'path' => 'users', 857 'httpMethod' => 'GET', 858 'parameters' => array( 859 'customer' => array( 860 'location' => 'query', 861 'type' => 'string', 862 ), 863 'orderBy' => array( 864 'location' => 'query', 865 'type' => 'string', 866 ), 867 'domain' => array( 868 'location' => 'query', 869 'type' => 'string', 870 ), 871 'showDeleted' => array( 872 'location' => 'query', 873 'type' => 'string', 874 ), 875 'maxResults' => array( 876 'location' => 'query', 877 'type' => 'integer', 878 ), 879 'pageToken' => array( 880 'location' => 'query', 881 'type' => 'string', 882 ), 883 'sortOrder' => array( 884 'location' => 'query', 885 'type' => 'string', 886 ), 887 'query' => array( 888 'location' => 'query', 889 'type' => 'string', 890 ), 891 'event' => array( 892 'location' => 'query', 893 'type' => 'string', 894 ), 895 ), 896 ),'makeAdmin' => array( 897 'path' => 'users/{userKey}/makeAdmin', 898 'httpMethod' => 'POST', 899 'parameters' => array( 900 'userKey' => array( 901 'location' => 'path', 902 'type' => 'string', 903 'required' => true, 904 ), 905 ), 906 ),'patch' => array( 907 'path' => 'users/{userKey}', 908 'httpMethod' => 'PATCH', 909 'parameters' => array( 910 'userKey' => array( 911 'location' => 'path', 912 'type' => 'string', 913 'required' => true, 914 ), 915 ), 916 ),'undelete' => array( 917 'path' => 'users/{userKey}/undelete', 918 'httpMethod' => 'POST', 919 'parameters' => array( 920 'userKey' => array( 921 'location' => 'path', 922 'type' => 'string', 923 'required' => true, 924 ), 925 ), 926 ),'update' => array( 927 'path' => 'users/{userKey}', 928 'httpMethod' => 'PUT', 929 'parameters' => array( 930 'userKey' => array( 931 'location' => 'path', 932 'type' => 'string', 933 'required' => true, 934 ), 935 ), 936 ),'watch' => array( 937 'path' => 'users/watch', 938 'httpMethod' => 'POST', 939 'parameters' => array( 940 'customer' => array( 941 'location' => 'query', 942 'type' => 'string', 943 ), 944 'orderBy' => array( 945 'location' => 'query', 946 'type' => 'string', 947 ), 948 'domain' => array( 949 'location' => 'query', 950 'type' => 'string', 951 ), 952 'showDeleted' => array( 953 'location' => 'query', 954 'type' => 'string', 955 ), 956 'maxResults' => array( 957 'location' => 'query', 958 'type' => 'integer', 959 ), 960 'pageToken' => array( 961 'location' => 'query', 962 'type' => 'string', 963 ), 964 'sortOrder' => array( 965 'location' => 'query', 966 'type' => 'string', 967 ), 968 'query' => array( 969 'location' => 'query', 970 'type' => 'string', 971 ), 972 'event' => array( 973 'location' => 'query', 974 'type' => 'string', 975 ), 976 ), 977 ), 978 ) 979 ) 980 ); 981 $this->users_aliases = new Google_Service_Directory_UsersAliases_Resource( 982 $this, 983 $this->serviceName, 984 'aliases', 985 array( 986 'methods' => array( 987 'delete' => array( 988 'path' => 'users/{userKey}/aliases/{alias}', 989 'httpMethod' => 'DELETE', 990 'parameters' => array( 991 'userKey' => array( 992 'location' => 'path', 993 'type' => 'string', 994 'required' => true, 995 ), 996 'alias' => array( 997 'location' => 'path', 998 'type' => 'string', 999 'required' => true, 1000 ), 1001 ), 1002 ),'insert' => array( 1003 'path' => 'users/{userKey}/aliases', 1004 'httpMethod' => 'POST', 1005 'parameters' => array( 1006 'userKey' => array( 1007 'location' => 'path', 1008 'type' => 'string', 1009 'required' => true, 1010 ), 1011 ), 1012 ),'list' => array( 1013 'path' => 'users/{userKey}/aliases', 1014 'httpMethod' => 'GET', 1015 'parameters' => array( 1016 'userKey' => array( 1017 'location' => 'path', 1018 'type' => 'string', 1019 'required' => true, 1020 ), 1021 'event' => array( 1022 'location' => 'query', 1023 'type' => 'string', 1024 ), 1025 ), 1026 ),'watch' => array( 1027 'path' => 'users/{userKey}/aliases/watch', 1028 'httpMethod' => 'POST', 1029 'parameters' => array( 1030 'userKey' => array( 1031 'location' => 'path', 1032 'type' => 'string', 1033 'required' => true, 1034 ), 1035 'event' => array( 1036 'location' => 'query', 1037 'type' => 'string', 1038 ), 1039 ), 1040 ), 1041 ) 1042 ) 1043 ); 1044 $this->users_photos = new Google_Service_Directory_UsersPhotos_Resource( 1045 $this, 1046 $this->serviceName, 1047 'photos', 1048 array( 1049 'methods' => array( 1050 'delete' => array( 1051 'path' => 'users/{userKey}/photos/thumbnail', 1052 'httpMethod' => 'DELETE', 1053 'parameters' => array( 1054 'userKey' => array( 1055 'location' => 'path', 1056 'type' => 'string', 1057 'required' => true, 1058 ), 1059 ), 1060 ),'get' => array( 1061 'path' => 'users/{userKey}/photos/thumbnail', 1062 'httpMethod' => 'GET', 1063 'parameters' => array( 1064 'userKey' => array( 1065 'location' => 'path', 1066 'type' => 'string', 1067 'required' => true, 1068 ), 1069 ), 1070 ),'patch' => array( 1071 'path' => 'users/{userKey}/photos/thumbnail', 1072 'httpMethod' => 'PATCH', 1073 'parameters' => array( 1074 'userKey' => array( 1075 'location' => 'path', 1076 'type' => 'string', 1077 'required' => true, 1078 ), 1079 ), 1080 ),'update' => array( 1081 'path' => 'users/{userKey}/photos/thumbnail', 1082 'httpMethod' => 'PUT', 1083 'parameters' => array( 1084 'userKey' => array( 1085 'location' => 'path', 1086 'type' => 'string', 1087 'required' => true, 1088 ), 1089 ), 1090 ), 1091 ) 1092 ) 1093 ); 1094 $this->verificationCodes = new Google_Service_Directory_VerificationCodes_Resource( 1095 $this, 1096 $this->serviceName, 1097 'verificationCodes', 1098 array( 1099 'methods' => array( 1100 'generate' => array( 1101 'path' => 'users/{userKey}/verificationCodes/generate', 1102 'httpMethod' => 'POST', 1103 'parameters' => array( 1104 'userKey' => array( 1105 'location' => 'path', 1106 'type' => 'string', 1107 'required' => true, 1108 ), 1109 ), 1110 ),'invalidate' => array( 1111 'path' => 'users/{userKey}/verificationCodes/invalidate', 1112 'httpMethod' => 'POST', 1113 'parameters' => array( 1114 'userKey' => array( 1115 'location' => 'path', 1116 'type' => 'string', 1117 'required' => true, 1118 ), 1119 ), 1120 ),'list' => array( 1121 'path' => 'users/{userKey}/verificationCodes', 1122 'httpMethod' => 'GET', 1123 'parameters' => array( 1124 'userKey' => array( 1125 'location' => 'path', 1126 'type' => 'string', 1127 'required' => true, 1128 ), 1129 ), 1130 ), 1131 ) 1132 ) 1133 ); 1134 } 1135 } 1136 1137 1138 /** 1139 * The "asps" collection of methods. 1140 * Typical usage is: 1141 * <code> 1142 * $adminService = new Google_Service_Directory(...); 1143 * $asps = $adminService->asps; 1144 * </code> 1145 */ 1146 class Google_Service_Directory_Asps_Resource extends Google_Service_Resource 1147 { 1148 1149 /** 1150 * Delete an ASP issued by a user. (asps.delete) 1151 * 1152 * @param string $userKey 1153 * Identifies the user in the API request. The value can be the user's primary email address, alias 1154 * email address, or unique user ID. 1155 * @param int $codeId 1156 * The unique ID of the ASP to be deleted. 1157 * @param array $optParams Optional parameters. 1158 */ 1159 public function delete($userKey, $codeId, $optParams = array()) 1160 { 1161 $params = array('userKey' => $userKey, 'codeId' => $codeId); 1162 $params = array_merge($params, $optParams); 1163 return $this->call('delete', array($params)); 1164 } 1165 /** 1166 * Get information about an ASP issued by a user. (asps.get) 1167 * 1168 * @param string $userKey 1169 * Identifies the user in the API request. The value can be the user's primary email address, alias 1170 * email address, or unique user ID. 1171 * @param int $codeId 1172 * The unique ID of the ASP. 1173 * @param array $optParams Optional parameters. 1174 * @return Google_Service_Directory_Asp 1175 */ 1176 public function get($userKey, $codeId, $optParams = array()) 1177 { 1178 $params = array('userKey' => $userKey, 'codeId' => $codeId); 1179 $params = array_merge($params, $optParams); 1180 return $this->call('get', array($params), "Google_Service_Directory_Asp"); 1181 } 1182 /** 1183 * List the ASPs issued by a user. (asps.listAsps) 1184 * 1185 * @param string $userKey 1186 * Identifies the user in the API request. The value can be the user's primary email address, alias 1187 * email address, or unique user ID. 1188 * @param array $optParams Optional parameters. 1189 * @return Google_Service_Directory_Asps 1190 */ 1191 public function listAsps($userKey, $optParams = array()) 1192 { 1193 $params = array('userKey' => $userKey); 1194 $params = array_merge($params, $optParams); 1195 return $this->call('list', array($params), "Google_Service_Directory_Asps"); 1196 } 1197 } 1198 1199 /** 1200 * The "channels" collection of methods. 1201 * Typical usage is: 1202 * <code> 1203 * $adminService = new Google_Service_Directory(...); 1204 * $channels = $adminService->channels; 1205 * </code> 1206 */ 1207 class Google_Service_Directory_Channels_Resource extends Google_Service_Resource 1208 { 1209 1210 /** 1211 * Stop watching resources through this channel (channels.stop) 1212 * 1213 * @param Google_Channel $postBody 1214 * @param array $optParams Optional parameters. 1215 */ 1216 public function stop(Google_Service_Directory_Channel $postBody, $optParams = array()) 1217 { 1218 $params = array('postBody' => $postBody); 1219 $params = array_merge($params, $optParams); 1220 return $this->call('stop', array($params)); 1221 } 1222 } 1223 1224 /** 1225 * The "chromeosdevices" collection of methods. 1226 * Typical usage is: 1227 * <code> 1228 * $adminService = new Google_Service_Directory(...); 1229 * $chromeosdevices = $adminService->chromeosdevices; 1230 * </code> 1231 */ 1232 class Google_Service_Directory_Chromeosdevices_Resource extends Google_Service_Resource 1233 { 1234 1235 /** 1236 * Retrieve Chrome OS Device (chromeosdevices.get) 1237 * 1238 * @param string $customerId 1239 * Immutable id of the Google Apps account 1240 * @param string $deviceId 1241 * Immutable id of Chrome OS Device 1242 * @param array $optParams Optional parameters. 1243 * 1244 * @opt_param string projection 1245 * Restrict information returned to a set of selected fields. 1246 * @return Google_Service_Directory_ChromeOsDevice 1247 */ 1248 public function get($customerId, $deviceId, $optParams = array()) 1249 { 1250 $params = array('customerId' => $customerId, 'deviceId' => $deviceId); 1251 $params = array_merge($params, $optParams); 1252 return $this->call('get', array($params), "Google_Service_Directory_ChromeOsDevice"); 1253 } 1254 /** 1255 * Retrieve all Chrome OS Devices of a customer (paginated) 1256 * (chromeosdevices.listChromeosdevices) 1257 * 1258 * @param string $customerId 1259 * Immutable id of the Google Apps account 1260 * @param array $optParams Optional parameters. 1261 * 1262 * @opt_param string orderBy 1263 * Column to use for sorting results 1264 * @opt_param string projection 1265 * Restrict information returned to a set of selected fields. 1266 * @opt_param int maxResults 1267 * Maximum number of results to return. Default is 100 1268 * @opt_param string pageToken 1269 * Token to specify next page in the list 1270 * @opt_param string sortOrder 1271 * Whether to return results in ascending or descending order. Only of use when orderBy is also 1272 * used 1273 * @opt_param string query 1274 * Search string in the format given at 1275 * http://support.google.com/chromeos/a/bin/answer.py?hl=en=1698333 1276 * @return Google_Service_Directory_ChromeOsDevices 1277 */ 1278 public function listChromeosdevices($customerId, $optParams = array()) 1279 { 1280 $params = array('customerId' => $customerId); 1281 $params = array_merge($params, $optParams); 1282 return $this->call('list', array($params), "Google_Service_Directory_ChromeOsDevices"); 1283 } 1284 /** 1285 * Update Chrome OS Device. This method supports patch semantics. 1286 * (chromeosdevices.patch) 1287 * 1288 * @param string $customerId 1289 * Immutable id of the Google Apps account 1290 * @param string $deviceId 1291 * Immutable id of Chrome OS Device 1292 * @param Google_ChromeOsDevice $postBody 1293 * @param array $optParams Optional parameters. 1294 * 1295 * @opt_param string projection 1296 * Restrict information returned to a set of selected fields. 1297 * @return Google_Service_Directory_ChromeOsDevice 1298 */ 1299 public function patch($customerId, $deviceId, Google_Service_Directory_ChromeOsDevice $postBody, $optParams = array()) 1300 { 1301 $params = array('customerId' => $customerId, 'deviceId' => $deviceId, 'postBody' => $postBody); 1302 $params = array_merge($params, $optParams); 1303 return $this->call('patch', array($params), "Google_Service_Directory_ChromeOsDevice"); 1304 } 1305 /** 1306 * Update Chrome OS Device (chromeosdevices.update) 1307 * 1308 * @param string $customerId 1309 * Immutable id of the Google Apps account 1310 * @param string $deviceId 1311 * Immutable id of Chrome OS Device 1312 * @param Google_ChromeOsDevice $postBody 1313 * @param array $optParams Optional parameters. 1314 * 1315 * @opt_param string projection 1316 * Restrict information returned to a set of selected fields. 1317 * @return Google_Service_Directory_ChromeOsDevice 1318 */ 1319 public function update($customerId, $deviceId, Google_Service_Directory_ChromeOsDevice $postBody, $optParams = array()) 1320 { 1321 $params = array('customerId' => $customerId, 'deviceId' => $deviceId, 'postBody' => $postBody); 1322 $params = array_merge($params, $optParams); 1323 return $this->call('update', array($params), "Google_Service_Directory_ChromeOsDevice"); 1324 } 1325 } 1326 1327 /** 1328 * The "groups" collection of methods. 1329 * Typical usage is: 1330 * <code> 1331 * $adminService = new Google_Service_Directory(...); 1332 * $groups = $adminService->groups; 1333 * </code> 1334 */ 1335 class Google_Service_Directory_Groups_Resource extends Google_Service_Resource 1336 { 1337 1338 /** 1339 * Delete Group (groups.delete) 1340 * 1341 * @param string $groupKey 1342 * Email or immutable Id of the group 1343 * @param array $optParams Optional parameters. 1344 */ 1345 public function delete($groupKey, $optParams = array()) 1346 { 1347 $params = array('groupKey' => $groupKey); 1348 $params = array_merge($params, $optParams); 1349 return $this->call('delete', array($params)); 1350 } 1351 /** 1352 * Retrieve Group (groups.get) 1353 * 1354 * @param string $groupKey 1355 * Email or immutable Id of the group 1356 * @param array $optParams Optional parameters. 1357 * @return Google_Service_Directory_Group 1358 */ 1359 public function get($groupKey, $optParams = array()) 1360 { 1361 $params = array('groupKey' => $groupKey); 1362 $params = array_merge($params, $optParams); 1363 return $this->call('get', array($params), "Google_Service_Directory_Group"); 1364 } 1365 /** 1366 * Create Group (groups.insert) 1367 * 1368 * @param Google_Group $postBody 1369 * @param array $optParams Optional parameters. 1370 * @return Google_Service_Directory_Group 1371 */ 1372 public function insert(Google_Service_Directory_Group $postBody, $optParams = array()) 1373 { 1374 $params = array('postBody' => $postBody); 1375 $params = array_merge($params, $optParams); 1376 return $this->call('insert', array($params), "Google_Service_Directory_Group"); 1377 } 1378 /** 1379 * Retrieve all groups in a domain (paginated) (groups.listGroups) 1380 * 1381 * @param array $optParams Optional parameters. 1382 * 1383 * @opt_param string customer 1384 * Immutable id of the Google Apps account. In case of multi-domain, to fetch all groups for a 1385 * customer, fill this field instead of domain. 1386 * @opt_param string pageToken 1387 * Token to specify next page in the list 1388 * @opt_param string domain 1389 * Name of the domain. Fill this field to get groups from only this domain. To return all groups in 1390 * a multi-domain fill customer field instead. 1391 * @opt_param int maxResults 1392 * Maximum number of results to return. Default is 200 1393 * @opt_param string userKey 1394 * Email or immutable Id of the user if only those groups are to be listed, the given user is a 1395 * member of. If Id, it should match with id of user object 1396 * @return Google_Service_Directory_Groups 1397 */ 1398 public function listGroups($optParams = array()) 1399 { 1400 $params = array(); 1401 $params = array_merge($params, $optParams); 1402 return $this->call('list', array($params), "Google_Service_Directory_Groups"); 1403 } 1404 /** 1405 * Update Group. This method supports patch semantics. (groups.patch) 1406 * 1407 * @param string $groupKey 1408 * Email or immutable Id of the group. If Id, it should match with id of group object 1409 * @param Google_Group $postBody 1410 * @param array $optParams Optional parameters. 1411 * @return Google_Service_Directory_Group 1412 */ 1413 public function patch($groupKey, Google_Service_Directory_Group $postBody, $optParams = array()) 1414 { 1415 $params = array('groupKey' => $groupKey, 'postBody' => $postBody); 1416 $params = array_merge($params, $optParams); 1417 return $this->call('patch', array($params), "Google_Service_Directory_Group"); 1418 } 1419 /** 1420 * Update Group (groups.update) 1421 * 1422 * @param string $groupKey 1423 * Email or immutable Id of the group. If Id, it should match with id of group object 1424 * @param Google_Group $postBody 1425 * @param array $optParams Optional parameters. 1426 * @return Google_Service_Directory_Group 1427 */ 1428 public function update($groupKey, Google_Service_Directory_Group $postBody, $optParams = array()) 1429 { 1430 $params = array('groupKey' => $groupKey, 'postBody' => $postBody); 1431 $params = array_merge($params, $optParams); 1432 return $this->call('update', array($params), "Google_Service_Directory_Group"); 1433 } 1434 } 1435 1436 /** 1437 * The "aliases" collection of methods. 1438 * Typical usage is: 1439 * <code> 1440 * $adminService = new Google_Service_Directory(...); 1441 * $aliases = $adminService->aliases; 1442 * </code> 1443 */ 1444 class Google_Service_Directory_GroupsAliases_Resource extends Google_Service_Resource 1445 { 1446 1447 /** 1448 * Remove a alias for the group (aliases.delete) 1449 * 1450 * @param string $groupKey 1451 * Email or immutable Id of the group 1452 * @param string $alias 1453 * The alias to be removed 1454 * @param array $optParams Optional parameters. 1455 */ 1456 public function delete($groupKey, $alias, $optParams = array()) 1457 { 1458 $params = array('groupKey' => $groupKey, 'alias' => $alias); 1459 $params = array_merge($params, $optParams); 1460 return $this->call('delete', array($params)); 1461 } 1462 /** 1463 * Add a alias for the group (aliases.insert) 1464 * 1465 * @param string $groupKey 1466 * Email or immutable Id of the group 1467 * @param Google_Alias $postBody 1468 * @param array $optParams Optional parameters. 1469 * @return Google_Service_Directory_Alias 1470 */ 1471 public function insert($groupKey, Google_Service_Directory_Alias $postBody, $optParams = array()) 1472 { 1473 $params = array('groupKey' => $groupKey, 'postBody' => $postBody); 1474 $params = array_merge($params, $optParams); 1475 return $this->call('insert', array($params), "Google_Service_Directory_Alias"); 1476 } 1477 /** 1478 * List all aliases for a group (aliases.listGroupsAliases) 1479 * 1480 * @param string $groupKey 1481 * Email or immutable Id of the group 1482 * @param array $optParams Optional parameters. 1483 * @return Google_Service_Directory_Aliases 1484 */ 1485 public function listGroupsAliases($groupKey, $optParams = array()) 1486 { 1487 $params = array('groupKey' => $groupKey); 1488 $params = array_merge($params, $optParams); 1489 return $this->call('list', array($params), "Google_Service_Directory_Aliases"); 1490 } 1491 } 1492 1493 /** 1494 * The "members" collection of methods. 1495 * Typical usage is: 1496 * <code> 1497 * $adminService = new Google_Service_Directory(...); 1498 * $members = $adminService->members; 1499 * </code> 1500 */ 1501 class Google_Service_Directory_Members_Resource extends Google_Service_Resource 1502 { 1503 1504 /** 1505 * Remove membership. (members.delete) 1506 * 1507 * @param string $groupKey 1508 * Email or immutable Id of the group 1509 * @param string $memberKey 1510 * Email or immutable Id of the member 1511 * @param array $optParams Optional parameters. 1512 */ 1513 public function delete($groupKey, $memberKey, $optParams = array()) 1514 { 1515 $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey); 1516 $params = array_merge($params, $optParams); 1517 return $this->call('delete', array($params)); 1518 } 1519 /** 1520 * Retrieve Group Member (members.get) 1521 * 1522 * @param string $groupKey 1523 * Email or immutable Id of the group 1524 * @param string $memberKey 1525 * Email or immutable Id of the member 1526 * @param array $optParams Optional parameters. 1527 * @return Google_Service_Directory_Member 1528 */ 1529 public function get($groupKey, $memberKey, $optParams = array()) 1530 { 1531 $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey); 1532 $params = array_merge($params, $optParams); 1533 return $this->call('get', array($params), "Google_Service_Directory_Member"); 1534 } 1535 /** 1536 * Add user to the specified group. (members.insert) 1537 * 1538 * @param string $groupKey 1539 * Email or immutable Id of the group 1540 * @param Google_Member $postBody 1541 * @param array $optParams Optional parameters. 1542 * @return Google_Service_Directory_Member 1543 */ 1544 public function insert($groupKey, Google_Service_Directory_Member $postBody, $optParams = array()) 1545 { 1546 $params = array('groupKey' => $groupKey, 'postBody' => $postBody); 1547 $params = array_merge($params, $optParams); 1548 return $this->call('insert', array($params), "Google_Service_Directory_Member"); 1549 } 1550 /** 1551 * Retrieve all members in a group (paginated) (members.listMembers) 1552 * 1553 * @param string $groupKey 1554 * Email or immutable Id of the group 1555 * @param array $optParams Optional parameters. 1556 * 1557 * @opt_param string pageToken 1558 * Token to specify next page in the list 1559 * @opt_param string roles 1560 * Comma separated role values to filter list results on. 1561 * @opt_param int maxResults 1562 * Maximum number of results to return. Default is 200 1563 * @return Google_Service_Directory_Members 1564 */ 1565 public function listMembers($groupKey, $optParams = array()) 1566 { 1567 $params = array('groupKey' => $groupKey); 1568 $params = array_merge($params, $optParams); 1569 return $this->call('list', array($params), "Google_Service_Directory_Members"); 1570 } 1571 /** 1572 * Update membership of a user in the specified group. This method supports 1573 * patch semantics. (members.patch) 1574 * 1575 * @param string $groupKey 1576 * Email or immutable Id of the group. If Id, it should match with id of group object 1577 * @param string $memberKey 1578 * Email or immutable Id of the user. If Id, it should match with id of member object 1579 * @param Google_Member $postBody 1580 * @param array $optParams Optional parameters. 1581 * @return Google_Service_Directory_Member 1582 */ 1583 public function patch($groupKey, $memberKey, Google_Service_Directory_Member $postBody, $optParams = array()) 1584 { 1585 $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey, 'postBody' => $postBody); 1586 $params = array_merge($params, $optParams); 1587 return $this->call('patch', array($params), "Google_Service_Directory_Member"); 1588 } 1589 /** 1590 * Update membership of a user in the specified group. (members.update) 1591 * 1592 * @param string $groupKey 1593 * Email or immutable Id of the group. If Id, it should match with id of group object 1594 * @param string $memberKey 1595 * Email or immutable Id of the user. If Id, it should match with id of member object 1596 * @param Google_Member $postBody 1597 * @param array $optParams Optional parameters. 1598 * @return Google_Service_Directory_Member 1599 */ 1600 public function update($groupKey, $memberKey, Google_Service_Directory_Member $postBody, $optParams = array()) 1601 { 1602 $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey, 'postBody' => $postBody); 1603 $params = array_merge($params, $optParams); 1604 return $this->call('update', array($params), "Google_Service_Directory_Member"); 1605 } 1606 } 1607 1608 /** 1609 * The "mobiledevices" collection of methods. 1610 * Typical usage is: 1611 * <code> 1612 * $adminService = new Google_Service_Directory(...); 1613 * $mobiledevices = $adminService->mobiledevices; 1614 * </code> 1615 */ 1616 class Google_Service_Directory_Mobiledevices_Resource extends Google_Service_Resource 1617 { 1618 1619 /** 1620 * Take action on Mobile Device (mobiledevices.action) 1621 * 1622 * @param string $customerId 1623 * Immutable id of the Google Apps account 1624 * @param string $resourceId 1625 * Immutable id of Mobile Device 1626 * @param Google_MobileDeviceAction $postBody 1627 * @param array $optParams Optional parameters. 1628 */ 1629 public function action($customerId, $resourceId, Google_Service_Directory_MobileDeviceAction $postBody, $optParams = array()) 1630 { 1631 $params = array('customerId' => $customerId, 'resourceId' => $resourceId, 'postBody' => $postBody); 1632 $params = array_merge($params, $optParams); 1633 return $this->call('action', array($params)); 1634 } 1635 /** 1636 * Delete Mobile Device (mobiledevices.delete) 1637 * 1638 * @param string $customerId 1639 * Immutable id of the Google Apps account 1640 * @param string $resourceId 1641 * Immutable id of Mobile Device 1642 * @param array $optParams Optional parameters. 1643 */ 1644 public function delete($customerId, $resourceId, $optParams = array()) 1645 { 1646 $params = array('customerId' => $customerId, 'resourceId' => $resourceId); 1647 $params = array_merge($params, $optParams); 1648 return $this->call('delete', array($params)); 1649 } 1650 /** 1651 * Retrieve Mobile Device (mobiledevices.get) 1652 * 1653 * @param string $customerId 1654 * Immutable id of the Google Apps account 1655 * @param string $resourceId 1656 * Immutable id of Mobile Device 1657 * @param array $optParams Optional parameters. 1658 * 1659 * @opt_param string projection 1660 * Restrict information returned to a set of selected fields. 1661 * @return Google_Service_Directory_MobileDevice 1662 */ 1663 public function get($customerId, $resourceId, $optParams = array()) 1664 { 1665 $params = array('customerId' => $customerId, 'resourceId' => $resourceId); 1666 $params = array_merge($params, $optParams); 1667 return $this->call('get', array($params), "Google_Service_Directory_MobileDevice"); 1668 } 1669 /** 1670 * Retrieve all Mobile Devices of a customer (paginated) 1671 * (mobiledevices.listMobiledevices) 1672 * 1673 * @param string $customerId 1674 * Immutable id of the Google Apps account 1675 * @param array $optParams Optional parameters. 1676 * 1677 * @opt_param string orderBy 1678 * Column to use for sorting results 1679 * @opt_param string projection 1680 * Restrict information returned to a set of selected fields. 1681 * @opt_param int maxResults 1682 * Maximum number of results to return. Default is 100 1683 * @opt_param string pageToken 1684 * Token to specify next page in the list 1685 * @opt_param string sortOrder 1686 * Whether to return results in ascending or descending order. Only of use when orderBy is also 1687 * used 1688 * @opt_param string query 1689 * Search string in the format given at 1690 * http://support.google.com/a/bin/answer.py?hl=en=1408863#search 1691 * @return Google_Service_Directory_MobileDevices 1692 */ 1693 public function listMobiledevices($customerId, $optParams = array()) 1694 { 1695 $params = array('customerId' => $customerId); 1696 $params = array_merge($params, $optParams); 1697 return $this->call('list', array($params), "Google_Service_Directory_MobileDevices"); 1698 } 1699 } 1700 1701 /** 1702 * The "notifications" collection of methods. 1703 * Typical usage is: 1704 * <code> 1705 * $adminService = new Google_Service_Directory(...); 1706 * $notifications = $adminService->notifications; 1707 * </code> 1708 */ 1709 class Google_Service_Directory_Notifications_Resource extends Google_Service_Resource 1710 { 1711 1712 /** 1713 * Deletes a notification (notifications.delete) 1714 * 1715 * @param string $customer 1716 * The unique ID for the customer's Google account. The customerId is also returned as part of the 1717 * Users resource. 1718 * @param string $notificationId 1719 * The unique ID of the notification. 1720 * @param array $optParams Optional parameters. 1721 */ 1722 public function delete($customer, $notificationId, $optParams = array()) 1723 { 1724 $params = array('customer' => $customer, 'notificationId' => $notificationId); 1725 $params = array_merge($params, $optParams); 1726 return $this->call('delete', array($params)); 1727 } 1728 /** 1729 * Retrieves a notification. (notifications.get) 1730 * 1731 * @param string $customer 1732 * The unique ID for the customer's Google account. The customerId is also returned as part of the 1733 * Users resource. 1734 * @param string $notificationId 1735 * The unique ID of the notification. 1736 * @param array $optParams Optional parameters. 1737 * @return Google_Service_Directory_Notification 1738 */ 1739 public function get($customer, $notificationId, $optParams = array()) 1740 { 1741 $params = array('customer' => $customer, 'notificationId' => $notificationId); 1742 $params = array_merge($params, $optParams); 1743 return $this->call('get', array($params), "Google_Service_Directory_Notification"); 1744 } 1745 /** 1746 * Retrieves a list of notifications. (notifications.listNotifications) 1747 * 1748 * @param string $customer 1749 * The unique ID for the customer's Google account. 1750 * @param array $optParams Optional parameters. 1751 * 1752 * @opt_param string pageToken 1753 * The token to specify the page of results to retrieve. 1754 * @opt_param string maxResults 1755 * Maximum number of notifications to return per page. The default is 100. 1756 * @opt_param string language 1757 * The ISO 639-1 code of the language notifications are returned in. The default is English (en). 1758 * @return Google_Service_Directory_Notifications 1759 */ 1760 public function listNotifications($customer, $optParams = array()) 1761 { 1762 $params = array('customer' => $customer); 1763 $params = array_merge($params, $optParams); 1764 return $this->call('list', array($params), "Google_Service_Directory_Notifications"); 1765 } 1766 /** 1767 * Updates a notification. This method supports patch semantics. 1768 * (notifications.patch) 1769 * 1770 * @param string $customer 1771 * The unique ID for the customer's Google account. 1772 * @param string $notificationId 1773 * The unique ID of the notification. 1774 * @param Google_Notification $postBody 1775 * @param array $optParams Optional parameters. 1776 * @return Google_Service_Directory_Notification 1777 */ 1778 public function patch($customer, $notificationId, Google_Service_Directory_Notification $postBody, $optParams = array()) 1779 { 1780 $params = array('customer' => $customer, 'notificationId' => $notificationId, 'postBody' => $postBody); 1781 $params = array_merge($params, $optParams); 1782 return $this->call('patch', array($params), "Google_Service_Directory_Notification"); 1783 } 1784 /** 1785 * Updates a notification. (notifications.update) 1786 * 1787 * @param string $customer 1788 * The unique ID for the customer's Google account. 1789 * @param string $notificationId 1790 * The unique ID of the notification. 1791 * @param Google_Notification $postBody 1792 * @param array $optParams Optional parameters. 1793 * @return Google_Service_Directory_Notification 1794 */ 1795 public function update($customer, $notificationId, Google_Service_Directory_Notification $postBody, $optParams = array()) 1796 { 1797 $params = array('customer' => $customer, 'notificationId' => $notificationId, 'postBody' => $postBody); 1798 $params = array_merge($params, $optParams); 1799 return $this->call('update', array($params), "Google_Service_Directory_Notification"); 1800 } 1801 } 1802 1803 /** 1804 * The "orgunits" collection of methods. 1805 * Typical usage is: 1806 * <code> 1807 * $adminService = new Google_Service_Directory(...); 1808 * $orgunits = $adminService->orgunits; 1809 * </code> 1810 */ 1811 class Google_Service_Directory_Orgunits_Resource extends Google_Service_Resource 1812 { 1813 1814 /** 1815 * Remove Organization Unit (orgunits.delete) 1816 * 1817 * @param string $customerId 1818 * Immutable id of the Google Apps account 1819 * @param string $orgUnitPath 1820 * Full path of the organization unit 1821 * @param array $optParams Optional parameters. 1822 */ 1823 public function delete($customerId, $orgUnitPath, $optParams = array()) 1824 { 1825 $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath); 1826 $params = array_merge($params, $optParams); 1827 return $this->call('delete', array($params)); 1828 } 1829 /** 1830 * Retrieve Organization Unit (orgunits.get) 1831 * 1832 * @param string $customerId 1833 * Immutable id of the Google Apps account 1834 * @param string $orgUnitPath 1835 * Full path of the organization unit 1836 * @param array $optParams Optional parameters. 1837 * @return Google_Service_Directory_OrgUnit 1838 */ 1839 public function get($customerId, $orgUnitPath, $optParams = array()) 1840 { 1841 $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath); 1842 $params = array_merge($params, $optParams); 1843 return $this->call('get', array($params), "Google_Service_Directory_OrgUnit"); 1844 } 1845 /** 1846 * Add Organization Unit (orgunits.insert) 1847 * 1848 * @param string $customerId 1849 * Immutable id of the Google Apps account 1850 * @param Google_OrgUnit $postBody 1851 * @param array $optParams Optional parameters. 1852 * @return Google_Service_Directory_OrgUnit 1853 */ 1854 public function insert($customerId, Google_Service_Directory_OrgUnit $postBody, $optParams = array()) 1855 { 1856 $params = array('customerId' => $customerId, 'postBody' => $postBody); 1857 $params = array_merge($params, $optParams); 1858 return $this->call('insert', array($params), "Google_Service_Directory_OrgUnit"); 1859 } 1860 /** 1861 * Retrieve all Organization Units (orgunits.listOrgunits) 1862 * 1863 * @param string $customerId 1864 * Immutable id of the Google Apps account 1865 * @param array $optParams Optional parameters. 1866 * 1867 * @opt_param string type 1868 * Whether to return all sub-organizations or just immediate children 1869 * @opt_param string orgUnitPath 1870 * the URL-encoded organization unit 1871 * @return Google_Service_Directory_OrgUnits 1872 */ 1873 public function listOrgunits($customerId, $optParams = array()) 1874 { 1875 $params = array('customerId' => $customerId); 1876 $params = array_merge($params, $optParams); 1877 return $this->call('list', array($params), "Google_Service_Directory_OrgUnits"); 1878 } 1879 /** 1880 * Update Organization Unit. This method supports patch semantics. 1881 * (orgunits.patch) 1882 * 1883 * @param string $customerId 1884 * Immutable id of the Google Apps account 1885 * @param string $orgUnitPath 1886 * Full path of the organization unit 1887 * @param Google_OrgUnit $postBody 1888 * @param array $optParams Optional parameters. 1889 * @return Google_Service_Directory_OrgUnit 1890 */ 1891 public function patch($customerId, $orgUnitPath, Google_Service_Directory_OrgUnit $postBody, $optParams = array()) 1892 { 1893 $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath, 'postBody' => $postBody); 1894 $params = array_merge($params, $optParams); 1895 return $this->call('patch', array($params), "Google_Service_Directory_OrgUnit"); 1896 } 1897 /** 1898 * Update Organization Unit (orgunits.update) 1899 * 1900 * @param string $customerId 1901 * Immutable id of the Google Apps account 1902 * @param string $orgUnitPath 1903 * Full path of the organization unit 1904 * @param Google_OrgUnit $postBody 1905 * @param array $optParams Optional parameters. 1906 * @return Google_Service_Directory_OrgUnit 1907 */ 1908 public function update($customerId, $orgUnitPath, Google_Service_Directory_OrgUnit $postBody, $optParams = array()) 1909 { 1910 $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath, 'postBody' => $postBody); 1911 $params = array_merge($params, $optParams); 1912 return $this->call('update', array($params), "Google_Service_Directory_OrgUnit"); 1913 } 1914 } 1915 1916 /** 1917 * The "tokens" collection of methods. 1918 * Typical usage is: 1919 * <code> 1920 * $adminService = new Google_Service_Directory(...); 1921 * $tokens = $adminService->tokens; 1922 * </code> 1923 */ 1924 class Google_Service_Directory_Tokens_Resource extends Google_Service_Resource 1925 { 1926 1927 /** 1928 * Delete all access tokens issued by a user for an application. (tokens.delete) 1929 * 1930 * @param string $userKey 1931 * Identifies the user in the API request. The value can be the user's primary email address, alias 1932 * email address, or unique user ID. 1933 * @param string $clientId 1934 * The Client ID of the application the token is issued to. 1935 * @param array $optParams Optional parameters. 1936 */ 1937 public function delete($userKey, $clientId, $optParams = array()) 1938 { 1939 $params = array('userKey' => $userKey, 'clientId' => $clientId); 1940 $params = array_merge($params, $optParams); 1941 return $this->call('delete', array($params)); 1942 } 1943 /** 1944 * Get information about an access token issued by a user. (tokens.get) 1945 * 1946 * @param string $userKey 1947 * Identifies the user in the API request. The value can be the user's primary email address, alias 1948 * email address, or unique user ID. 1949 * @param string $clientId 1950 * The Client ID of the application the token is issued to. 1951 * @param array $optParams Optional parameters. 1952 * @return Google_Service_Directory_Token 1953 */ 1954 public function get($userKey, $clientId, $optParams = array()) 1955 { 1956 $params = array('userKey' => $userKey, 'clientId' => $clientId); 1957 $params = array_merge($params, $optParams); 1958 return $this->call('get', array($params), "Google_Service_Directory_Token"); 1959 } 1960 /** 1961 * Returns the set of tokens specified user has issued to 3rd party 1962 * applications. (tokens.listTokens) 1963 * 1964 * @param string $userKey 1965 * Identifies the user in the API request. The value can be the user's primary email address, alias 1966 * email address, or unique user ID. 1967 * @param array $optParams Optional parameters. 1968 * @return Google_Service_Directory_Tokens 1969 */ 1970 public function listTokens($userKey, $optParams = array()) 1971 { 1972 $params = array('userKey' => $userKey); 1973 $params = array_merge($params, $optParams); 1974 return $this->call('list', array($params), "Google_Service_Directory_Tokens"); 1975 } 1976 } 1977 1978 /** 1979 * The "users" collection of methods. 1980 * Typical usage is: 1981 * <code> 1982 * $adminService = new Google_Service_Directory(...); 1983 * $users = $adminService->users; 1984 * </code> 1985 */ 1986 class Google_Service_Directory_Users_Resource extends Google_Service_Resource 1987 { 1988 1989 /** 1990 * Delete user (users.delete) 1991 * 1992 * @param string $userKey 1993 * Email or immutable Id of the user 1994 * @param array $optParams Optional parameters. 1995 */ 1996 public function delete($userKey, $optParams = array()) 1997 { 1998 $params = array('userKey' => $userKey); 1999 $params = array_merge($params, $optParams); 2000 return $this->call('delete', array($params)); 2001 } 2002 /** 2003 * retrieve user (users.get) 2004 * 2005 * @param string $userKey 2006 * Email or immutable Id of the user 2007 * @param array $optParams Optional parameters. 2008 * @return Google_Service_Directory_User 2009 */ 2010 public function get($userKey, $optParams = array()) 2011 { 2012 $params = array('userKey' => $userKey); 2013 $params = array_merge($params, $optParams); 2014 return $this->call('get', array($params), "Google_Service_Directory_User"); 2015 } 2016 /** 2017 * create user. (users.insert) 2018 * 2019 * @param Google_User $postBody 2020 * @param array $optParams Optional parameters. 2021 * @return Google_Service_Directory_User 2022 */ 2023 public function insert(Google_Service_Directory_User $postBody, $optParams = array()) 2024 { 2025 $params = array('postBody' => $postBody); 2026 $params = array_merge($params, $optParams); 2027 return $this->call('insert', array($params), "Google_Service_Directory_User"); 2028 } 2029 /** 2030 * Retrieve either deleted users or all users in a domain (paginated) 2031 * (users.listUsers) 2032 * 2033 * @param array $optParams Optional parameters. 2034 * 2035 * @opt_param string customer 2036 * Immutable id of the Google Apps account. In case of multi-domain, to fetch all users for a 2037 * customer, fill this field instead of domain. 2038 * @opt_param string orderBy 2039 * Column to use for sorting results 2040 * @opt_param string domain 2041 * Name of the domain. Fill this field to get users from only this domain. To return all users in a 2042 * multi-domain fill customer field instead. 2043 * @opt_param string showDeleted 2044 * If set to true retrieves the list of deleted users. Default is false 2045 * @opt_param int maxResults 2046 * Maximum number of results to return. Default is 100. Max allowed is 500 2047 * @opt_param string pageToken 2048 * Token to specify next page in the list 2049 * @opt_param string sortOrder 2050 * Whether to return results in ascending or descending order. 2051 * @opt_param string query 2052 * Query string search. Should be of the form "" where field can be any of supported fields, 2053 * operators can be one of '=' for exact match or ':' for prefix match. For prefix match, the value 2054 * should always be followed by a *. 2055 * @opt_param string event 2056 * Event on which subscription is intended (if subscribing) 2057 * @return Google_Service_Directory_Users 2058 */ 2059 public function listUsers($optParams = array()) 2060 { 2061 $params = array(); 2062 $params = array_merge($params, $optParams); 2063 return $this->call('list', array($params), "Google_Service_Directory_Users"); 2064 } 2065 /** 2066 * change admin status of a user (users.makeAdmin) 2067 * 2068 * @param string $userKey 2069 * Email or immutable Id of the user as admin 2070 * @param Google_UserMakeAdmin $postBody 2071 * @param array $optParams Optional parameters. 2072 */ 2073 public function makeAdmin($userKey, Google_Service_Directory_UserMakeAdmin $postBody, $optParams = array()) 2074 { 2075 $params = array('userKey' => $userKey, 'postBody' => $postBody); 2076 $params = array_merge($params, $optParams); 2077 return $this->call('makeAdmin', array($params)); 2078 } 2079 /** 2080 * update user. This method supports patch semantics. (users.patch) 2081 * 2082 * @param string $userKey 2083 * Email or immutable Id of the user. If Id, it should match with id of user object 2084 * @param Google_User $postBody 2085 * @param array $optParams Optional parameters. 2086 * @return Google_Service_Directory_User 2087 */ 2088 public function patch($userKey, Google_Service_Directory_User $postBody, $optParams = array()) 2089 { 2090 $params = array('userKey' => $userKey, 'postBody' => $postBody); 2091 $params = array_merge($params, $optParams); 2092 return $this->call('patch', array($params), "Google_Service_Directory_User"); 2093 } 2094 /** 2095 * Undelete a deleted user (users.undelete) 2096 * 2097 * @param string $userKey 2098 * The immutable id of the user 2099 * @param Google_UserUndelete $postBody 2100 * @param array $optParams Optional parameters. 2101 */ 2102 public function undelete($userKey, Google_Service_Directory_UserUndelete $postBody, $optParams = array()) 2103 { 2104 $params = array('userKey' => $userKey, 'postBody' => $postBody); 2105 $params = array_merge($params, $optParams); 2106 return $this->call('undelete', array($params)); 2107 } 2108 /** 2109 * update user (users.update) 2110 * 2111 * @param string $userKey 2112 * Email or immutable Id of the user. If Id, it should match with id of user object 2113 * @param Google_User $postBody 2114 * @param array $optParams Optional parameters. 2115 * @return Google_Service_Directory_User 2116 */ 2117 public function update($userKey, Google_Service_Directory_User $postBody, $optParams = array()) 2118 { 2119 $params = array('userKey' => $userKey, 'postBody' => $postBody); 2120 $params = array_merge($params, $optParams); 2121 return $this->call('update', array($params), "Google_Service_Directory_User"); 2122 } 2123 /** 2124 * Watch for changes in users list (users.watch) 2125 * 2126 * @param Google_Channel $postBody 2127 * @param array $optParams Optional parameters. 2128 * 2129 * @opt_param string customer 2130 * Immutable id of the Google Apps account. In case of multi-domain, to fetch all users for a 2131 * customer, fill this field instead of domain. 2132 * @opt_param string orderBy 2133 * Column to use for sorting results 2134 * @opt_param string domain 2135 * Name of the domain. Fill this field to get users from only this domain. To return all users in a 2136 * multi-domain fill customer field instead. 2137 * @opt_param string showDeleted 2138 * If set to true retrieves the list of deleted users. Default is false 2139 * @opt_param int maxResults 2140 * Maximum number of results to return. Default is 100. Max allowed is 500 2141 * @opt_param string pageToken 2142 * Token to specify next page in the list 2143 * @opt_param string sortOrder 2144 * Whether to return results in ascending or descending order. 2145 * @opt_param string query 2146 * Query string search. Should be of the form "" where field can be any of supported fields, 2147 * operators can be one of '=' for exact match or ':' for prefix match. For prefix match, the value 2148 * should always be followed by a *. 2149 * @opt_param string event 2150 * Event on which subscription is intended (if subscribing) 2151 * @return Google_Service_Directory_Channel 2152 */ 2153 public function watch(Google_Service_Directory_Channel $postBody, $optParams = array()) 2154 { 2155 $params = array('postBody' => $postBody); 2156 $params = array_merge($params, $optParams); 2157 return $this->call('watch', array($params), "Google_Service_Directory_Channel"); 2158 } 2159 } 2160 2161 /** 2162 * The "aliases" collection of methods. 2163 * Typical usage is: 2164 * <code> 2165 * $adminService = new Google_Service_Directory(...); 2166 * $aliases = $adminService->aliases; 2167 * </code> 2168 */ 2169 class Google_Service_Directory_UsersAliases_Resource extends Google_Service_Resource 2170 { 2171 2172 /** 2173 * Remove a alias for the user (aliases.delete) 2174 * 2175 * @param string $userKey 2176 * Email or immutable Id of the user 2177 * @param string $alias 2178 * The alias to be removed 2179 * @param array $optParams Optional parameters. 2180 */ 2181 public function delete($userKey, $alias, $optParams = array()) 2182 { 2183 $params = array('userKey' => $userKey, 'alias' => $alias); 2184 $params = array_merge($params, $optParams); 2185 return $this->call('delete', array($params)); 2186 } 2187 /** 2188 * Add a alias for the user (aliases.insert) 2189 * 2190 * @param string $userKey 2191 * Email or immutable Id of the user 2192 * @param Google_Alias $postBody 2193 * @param array $optParams Optional parameters. 2194 * @return Google_Service_Directory_Alias 2195 */ 2196 public function insert($userKey, Google_Service_Directory_Alias $postBody, $optParams = array()) 2197 { 2198 $params = array('userKey' => $userKey, 'postBody' => $postBody); 2199 $params = array_merge($params, $optParams); 2200 return $this->call('insert', array($params), "Google_Service_Directory_Alias"); 2201 } 2202 /** 2203 * List all aliases for a user (aliases.listUsersAliases) 2204 * 2205 * @param string $userKey 2206 * Email or immutable Id of the user 2207 * @param array $optParams Optional parameters. 2208 * 2209 * @opt_param string event 2210 * Event on which subscription is intended (if subscribing) 2211 * @return Google_Service_Directory_Aliases 2212 */ 2213 public function listUsersAliases($userKey, $optParams = array()) 2214 { 2215 $params = array('userKey' => $userKey); 2216 $params = array_merge($params, $optParams); 2217 return $this->call('list', array($params), "Google_Service_Directory_Aliases"); 2218 } 2219 /** 2220 * Watch for changes in user aliases list (aliases.watch) 2221 * 2222 * @param string $userKey 2223 * Email or immutable Id of the user 2224 * @param Google_Channel $postBody 2225 * @param array $optParams Optional parameters. 2226 * 2227 * @opt_param string event 2228 * Event on which subscription is intended (if subscribing) 2229 * @return Google_Service_Directory_Channel 2230 */ 2231 public function watch($userKey, Google_Service_Directory_Channel $postBody, $optParams = array()) 2232 { 2233 $params = array('userKey' => $userKey, 'postBody' => $postBody); 2234 $params = array_merge($params, $optParams); 2235 return $this->call('watch', array($params), "Google_Service_Directory_Channel"); 2236 } 2237 } 2238 /** 2239 * The "photos" collection of methods. 2240 * Typical usage is: 2241 * <code> 2242 * $adminService = new Google_Service_Directory(...); 2243 * $photos = $adminService->photos; 2244 * </code> 2245 */ 2246 class Google_Service_Directory_UsersPhotos_Resource extends Google_Service_Resource 2247 { 2248 2249 /** 2250 * Remove photos for the user (photos.delete) 2251 * 2252 * @param string $userKey 2253 * Email or immutable Id of the user 2254 * @param array $optParams Optional parameters. 2255 */ 2256 public function delete($userKey, $optParams = array()) 2257 { 2258 $params = array('userKey' => $userKey); 2259 $params = array_merge($params, $optParams); 2260 return $this->call('delete', array($params)); 2261 } 2262 /** 2263 * Retrieve photo of a user (photos.get) 2264 * 2265 * @param string $userKey 2266 * Email or immutable Id of the user 2267 * @param array $optParams Optional parameters. 2268 * @return Google_Service_Directory_UserPhoto 2269 */ 2270 public function get($userKey, $optParams = array()) 2271 { 2272 $params = array('userKey' => $userKey); 2273 $params = array_merge($params, $optParams); 2274 return $this->call('get', array($params), "Google_Service_Directory_UserPhoto"); 2275 } 2276 /** 2277 * Add a photo for the user. This method supports patch semantics. 2278 * (photos.patch) 2279 * 2280 * @param string $userKey 2281 * Email or immutable Id of the user 2282 * @param Google_UserPhoto $postBody 2283 * @param array $optParams Optional parameters. 2284 * @return Google_Service_Directory_UserPhoto 2285 */ 2286 public function patch($userKey, Google_Service_Directory_UserPhoto $postBody, $optParams = array()) 2287 { 2288 $params = array('userKey' => $userKey, 'postBody' => $postBody); 2289 $params = array_merge($params, $optParams); 2290 return $this->call('patch', array($params), "Google_Service_Directory_UserPhoto"); 2291 } 2292 /** 2293 * Add a photo for the user (photos.update) 2294 * 2295 * @param string $userKey 2296 * Email or immutable Id of the user 2297 * @param Google_UserPhoto $postBody 2298 * @param array $optParams Optional parameters. 2299 * @return Google_Service_Directory_UserPhoto 2300 */ 2301 public function update($userKey, Google_Service_Directory_UserPhoto $postBody, $optParams = array()) 2302 { 2303 $params = array('userKey' => $userKey, 'postBody' => $postBody); 2304 $params = array_merge($params, $optParams); 2305 return $this->call('update', array($params), "Google_Service_Directory_UserPhoto"); 2306 } 2307 } 2308 2309 /** 2310 * The "verificationCodes" collection of methods. 2311 * Typical usage is: 2312 * <code> 2313 * $adminService = new Google_Service_Directory(...); 2314 * $verificationCodes = $adminService->verificationCodes; 2315 * </code> 2316 */ 2317 class Google_Service_Directory_VerificationCodes_Resource extends Google_Service_Resource 2318 { 2319 2320 /** 2321 * Generate new backup verification codes for the user. 2322 * (verificationCodes.generate) 2323 * 2324 * @param string $userKey 2325 * Email or immutable Id of the user 2326 * @param array $optParams Optional parameters. 2327 */ 2328 public function generate($userKey, $optParams = array()) 2329 { 2330 $params = array('userKey' => $userKey); 2331 $params = array_merge($params, $optParams); 2332 return $this->call('generate', array($params)); 2333 } 2334 /** 2335 * Invalidate the current backup verification codes for the user. 2336 * (verificationCodes.invalidate) 2337 * 2338 * @param string $userKey 2339 * Email or immutable Id of the user 2340 * @param array $optParams Optional parameters. 2341 */ 2342 public function invalidate($userKey, $optParams = array()) 2343 { 2344 $params = array('userKey' => $userKey); 2345 $params = array_merge($params, $optParams); 2346 return $this->call('invalidate', array($params)); 2347 } 2348 /** 2349 * Returns the current set of valid backup verification codes for the specified 2350 * user. (verificationCodes.listVerificationCodes) 2351 * 2352 * @param string $userKey 2353 * Identifies the user in the API request. The value can be the user's primary email address, alias 2354 * email address, or unique user ID. 2355 * @param array $optParams Optional parameters. 2356 * @return Google_Service_Directory_VerificationCodes 2357 */ 2358 public function listVerificationCodes($userKey, $optParams = array()) 2359 { 2360 $params = array('userKey' => $userKey); 2361 $params = array_merge($params, $optParams); 2362 return $this->call('list', array($params), "Google_Service_Directory_VerificationCodes"); 2363 } 2364 } 2365 2366 2367 2368 2369 class Google_Service_Directory_Alias extends Google_Model 2370 { 2371 public $alias; 2372 public $etag; 2373 public $id; 2374 public $kind; 2375 public $primaryEmail; 2376 2377 public function setAlias($alias) 2378 { 2379 $this->alias = $alias; 2380 } 2381 2382 public function getAlias() 2383 { 2384 return $this->alias; 2385 } 2386 2387 public function setEtag($etag) 2388 { 2389 $this->etag = $etag; 2390 } 2391 2392 public function getEtag() 2393 { 2394 return $this->etag; 2395 } 2396 2397 public function setId($id) 2398 { 2399 $this->id = $id; 2400 } 2401 2402 public function getId() 2403 { 2404 return $this->id; 2405 } 2406 2407 public function setKind($kind) 2408 { 2409 $this->kind = $kind; 2410 } 2411 2412 public function getKind() 2413 { 2414 return $this->kind; 2415 } 2416 2417 public function setPrimaryEmail($primaryEmail) 2418 { 2419 $this->primaryEmail = $primaryEmail; 2420 } 2421 2422 public function getPrimaryEmail() 2423 { 2424 return $this->primaryEmail; 2425 } 2426 } 2427 2428 class Google_Service_Directory_Aliases extends Google_Collection 2429 { 2430 protected $collection_key = 'aliases'; 2431 protected $aliasesType = 'Google_Service_Directory_Alias'; 2432 protected $aliasesDataType = 'array'; 2433 public $etag; 2434 public $kind; 2435 2436 public function setAliases($aliases) 2437 { 2438 $this->aliases = $aliases; 2439 } 2440 2441 public function getAliases() 2442 { 2443 return $this->aliases; 2444 } 2445 2446 public function setEtag($etag) 2447 { 2448 $this->etag = $etag; 2449 } 2450 2451 public function getEtag() 2452 { 2453 return $this->etag; 2454 } 2455 2456 public function setKind($kind) 2457 { 2458 $this->kind = $kind; 2459 } 2460 2461 public function getKind() 2462 { 2463 return $this->kind; 2464 } 2465 } 2466 2467 class Google_Service_Directory_Asp extends Google_Model 2468 { 2469 public $codeId; 2470 public $creationTime; 2471 public $etag; 2472 public $kind; 2473 public $lastTimeUsed; 2474 public $name; 2475 public $userKey; 2476 2477 public function setCodeId($codeId) 2478 { 2479 $this->codeId = $codeId; 2480 } 2481 2482 public function getCodeId() 2483 { 2484 return $this->codeId; 2485 } 2486 2487 public function setCreationTime($creationTime) 2488 { 2489 $this->creationTime = $creationTime; 2490 } 2491 2492 public function getCreationTime() 2493 { 2494 return $this->creationTime; 2495 } 2496 2497 public function setEtag($etag) 2498 { 2499 $this->etag = $etag; 2500 } 2501 2502 public function getEtag() 2503 { 2504 return $this->etag; 2505 } 2506 2507 public function setKind($kind) 2508 { 2509 $this->kind = $kind; 2510 } 2511 2512 public function getKind() 2513 { 2514 return $this->kind; 2515 } 2516 2517 public function setLastTimeUsed($lastTimeUsed) 2518 { 2519 $this->lastTimeUsed = $lastTimeUsed; 2520 } 2521 2522 public function getLastTimeUsed() 2523 { 2524 return $this->lastTimeUsed; 2525 } 2526 2527 public function setName($name) 2528 { 2529 $this->name = $name; 2530 } 2531 2532 public function getName() 2533 { 2534 return $this->name; 2535 } 2536 2537 public function setUserKey($userKey) 2538 { 2539 $this->userKey = $userKey; 2540 } 2541 2542 public function getUserKey() 2543 { 2544 return $this->userKey; 2545 } 2546 } 2547 2548 class Google_Service_Directory_Asps extends Google_Collection 2549 { 2550 protected $collection_key = 'items'; 2551 public $etag; 2552 protected $itemsType = 'Google_Service_Directory_Asp'; 2553 protected $itemsDataType = 'array'; 2554 public $kind; 2555 2556 public function setEtag($etag) 2557 { 2558 $this->etag = $etag; 2559 } 2560 2561 public function getEtag() 2562 { 2563 return $this->etag; 2564 } 2565 2566 public function setItems($items) 2567 { 2568 $this->items = $items; 2569 } 2570 2571 public function getItems() 2572 { 2573 return $this->items; 2574 } 2575 2576 public function setKind($kind) 2577 { 2578 $this->kind = $kind; 2579 } 2580 2581 public function getKind() 2582 { 2583 return $this->kind; 2584 } 2585 } 2586 2587 class Google_Service_Directory_Channel extends Google_Model 2588 { 2589 public $address; 2590 public $expiration; 2591 public $id; 2592 public $kind; 2593 public $params; 2594 public $payload; 2595 public $resourceId; 2596 public $resourceUri; 2597 public $token; 2598 public $type; 2599 2600 public function setAddress($address) 2601 { 2602 $this->address = $address; 2603 } 2604 2605 public function getAddress() 2606 { 2607 return $this->address; 2608 } 2609 2610 public function setExpiration($expiration) 2611 { 2612 $this->expiration = $expiration; 2613 } 2614 2615 public function getExpiration() 2616 { 2617 return $this->expiration; 2618 } 2619 2620 public function setId($id) 2621 { 2622 $this->id = $id; 2623 } 2624 2625 public function getId() 2626 { 2627 return $this->id; 2628 } 2629 2630 public function setKind($kind) 2631 { 2632 $this->kind = $kind; 2633 } 2634 2635 public function getKind() 2636 { 2637 return $this->kind; 2638 } 2639 2640 public function setParams($params) 2641 { 2642 $this->params = $params; 2643 } 2644 2645 public function getParams() 2646 { 2647 return $this->params; 2648 } 2649 2650 public function setPayload($payload) 2651 { 2652 $this->payload = $payload; 2653 } 2654 2655 public function getPayload() 2656 { 2657 return $this->payload; 2658 } 2659 2660 public function setResourceId($resourceId) 2661 { 2662 $this->resourceId = $resourceId; 2663 } 2664 2665 public function getResourceId() 2666 { 2667 return $this->resourceId; 2668 } 2669 2670 public function setResourceUri($resourceUri) 2671 { 2672 $this->resourceUri = $resourceUri; 2673 } 2674 2675 public function getResourceUri() 2676 { 2677 return $this->resourceUri; 2678 } 2679 2680 public function setToken($token) 2681 { 2682 $this->token = $token; 2683 } 2684 2685 public function getToken() 2686 { 2687 return $this->token; 2688 } 2689 2690 public function setType($type) 2691 { 2692 $this->type = $type; 2693 } 2694 2695 public function getType() 2696 { 2697 return $this->type; 2698 } 2699 } 2700 2701 class Google_Service_Directory_ChannelParams extends Google_Model 2702 { 2703 2704 } 2705 2706 class Google_Service_Directory_ChromeOsDevice extends Google_Collection 2707 { 2708 protected $collection_key = 'recentUsers'; 2709 public $annotatedLocation; 2710 public $annotatedUser; 2711 public $bootMode; 2712 public $deviceId; 2713 public $etag; 2714 public $ethernetMacAddress; 2715 public $firmwareVersion; 2716 public $kind; 2717 public $lastEnrollmentTime; 2718 public $lastSync; 2719 public $macAddress; 2720 public $meid; 2721 public $model; 2722 public $notes; 2723 public $orderNumber; 2724 public $orgUnitPath; 2725 public $osVersion; 2726 public $platformVersion; 2727 protected $recentUsersType = 'Google_Service_Directory_ChromeOsDeviceRecentUsers'; 2728 protected $recentUsersDataType = 'array'; 2729 public $serialNumber; 2730 public $status; 2731 public $supportEndDate; 2732 public $willAutoRenew; 2733 2734 public function setAnnotatedLocation($annotatedLocation) 2735 { 2736 $this->annotatedLocation = $annotatedLocation; 2737 } 2738 2739 public function getAnnotatedLocation() 2740 { 2741 return $this->annotatedLocation; 2742 } 2743 2744 public function setAnnotatedUser($annotatedUser) 2745 { 2746 $this->annotatedUser = $annotatedUser; 2747 } 2748 2749 public function getAnnotatedUser() 2750 { 2751 return $this->annotatedUser; 2752 } 2753 2754 public function setBootMode($bootMode) 2755 { 2756 $this->bootMode = $bootMode; 2757 } 2758 2759 public function getBootMode() 2760 { 2761 return $this->bootMode; 2762 } 2763 2764 public function setDeviceId($deviceId) 2765 { 2766 $this->deviceId = $deviceId; 2767 } 2768 2769 public function getDeviceId() 2770 { 2771 return $this->deviceId; 2772 } 2773 2774 public function setEtag($etag) 2775 { 2776 $this->etag = $etag; 2777 } 2778 2779 public function getEtag() 2780 { 2781 return $this->etag; 2782 } 2783 2784 public function setEthernetMacAddress($ethernetMacAddress) 2785 { 2786 $this->ethernetMacAddress = $ethernetMacAddress; 2787 } 2788 2789 public function getEthernetMacAddress() 2790 { 2791 return $this->ethernetMacAddress; 2792 } 2793 2794 public function setFirmwareVersion($firmwareVersion) 2795 { 2796 $this->firmwareVersion = $firmwareVersion; 2797 } 2798 2799 public function getFirmwareVersion() 2800 { 2801 return $this->firmwareVersion; 2802 } 2803 2804 public function setKind($kind) 2805 { 2806 $this->kind = $kind; 2807 } 2808 2809 public function getKind() 2810 { 2811 return $this->kind; 2812 } 2813 2814 public function setLastEnrollmentTime($lastEnrollmentTime) 2815 { 2816 $this->lastEnrollmentTime = $lastEnrollmentTime; 2817 } 2818 2819 public function getLastEnrollmentTime() 2820 { 2821 return $this->lastEnrollmentTime; 2822 } 2823 2824 public function setLastSync($lastSync) 2825 { 2826 $this->lastSync = $lastSync; 2827 } 2828 2829 public function getLastSync() 2830 { 2831 return $this->lastSync; 2832 } 2833 2834 public function setMacAddress($macAddress) 2835 { 2836 $this->macAddress = $macAddress; 2837 } 2838 2839 public function getMacAddress() 2840 { 2841 return $this->macAddress; 2842 } 2843 2844 public function setMeid($meid) 2845 { 2846 $this->meid = $meid; 2847 } 2848 2849 public function getMeid() 2850 { 2851 return $this->meid; 2852 } 2853 2854 public function setModel($model) 2855 { 2856 $this->model = $model; 2857 } 2858 2859 public function getModel() 2860 { 2861 return $this->model; 2862 } 2863 2864 public function setNotes($notes) 2865 { 2866 $this->notes = $notes; 2867 } 2868 2869 public function getNotes() 2870 { 2871 return $this->notes; 2872 } 2873 2874 public function setOrderNumber($orderNumber) 2875 { 2876 $this->orderNumber = $orderNumber; 2877 } 2878 2879 public function getOrderNumber() 2880 { 2881 return $this->orderNumber; 2882 } 2883 2884 public function setOrgUnitPath($orgUnitPath) 2885 { 2886 $this->orgUnitPath = $orgUnitPath; 2887 } 2888 2889 public function getOrgUnitPath() 2890 { 2891 return $this->orgUnitPath; 2892 } 2893 2894 public function setOsVersion($osVersion) 2895 { 2896 $this->osVersion = $osVersion; 2897 } 2898 2899 public function getOsVersion() 2900 { 2901 return $this->osVersion; 2902 } 2903 2904 public function setPlatformVersion($platformVersion) 2905 { 2906 $this->platformVersion = $platformVersion; 2907 } 2908 2909 public function getPlatformVersion() 2910 { 2911 return $this->platformVersion; 2912 } 2913 2914 public function setRecentUsers($recentUsers) 2915 { 2916 $this->recentUsers = $recentUsers; 2917 } 2918 2919 public function getRecentUsers() 2920 { 2921 return $this->recentUsers; 2922 } 2923 2924 public function setSerialNumber($serialNumber) 2925 { 2926 $this->serialNumber = $serialNumber; 2927 } 2928 2929 public function getSerialNumber() 2930 { 2931 return $this->serialNumber; 2932 } 2933 2934 public function setStatus($status) 2935 { 2936 $this->status = $status; 2937 } 2938 2939 public function getStatus() 2940 { 2941 return $this->status; 2942 } 2943 2944 public function setSupportEndDate($supportEndDate) 2945 { 2946 $this->supportEndDate = $supportEndDate; 2947 } 2948 2949 public function getSupportEndDate() 2950 { 2951 return $this->supportEndDate; 2952 } 2953 2954 public function setWillAutoRenew($willAutoRenew) 2955 { 2956 $this->willAutoRenew = $willAutoRenew; 2957 } 2958 2959 public function getWillAutoRenew() 2960 { 2961 return $this->willAutoRenew; 2962 } 2963 } 2964 2965 class Google_Service_Directory_ChromeOsDeviceRecentUsers extends Google_Model 2966 { 2967 public $email; 2968 public $type; 2969 2970 public function setEmail($email) 2971 { 2972 $this->email = $email; 2973 } 2974 2975 public function getEmail() 2976 { 2977 return $this->email; 2978 } 2979 2980 public function setType($type) 2981 { 2982 $this->type = $type; 2983 } 2984 2985 public function getType() 2986 { 2987 return $this->type; 2988 } 2989 } 2990 2991 class Google_Service_Directory_ChromeOsDevices extends Google_Collection 2992 { 2993 protected $collection_key = 'chromeosdevices'; 2994 protected $chromeosdevicesType = 'Google_Service_Directory_ChromeOsDevice'; 2995 protected $chromeosdevicesDataType = 'array'; 2996 public $etag; 2997 public $kind; 2998 public $nextPageToken; 2999 3000 public function setChromeosdevices($chromeosdevices) 3001 { 3002 $this->chromeosdevices = $chromeosdevices; 3003 } 3004 3005 public function getChromeosdevices() 3006 { 3007 return $this->chromeosdevices; 3008 } 3009 3010 public function setEtag($etag) 3011 { 3012 $this->etag = $etag; 3013 } 3014 3015 public function getEtag() 3016 { 3017 return $this->etag; 3018 } 3019 3020 public function setKind($kind) 3021 { 3022 $this->kind = $kind; 3023 } 3024 3025 public function getKind() 3026 { 3027 return $this->kind; 3028 } 3029 3030 public function setNextPageToken($nextPageToken) 3031 { 3032 $this->nextPageToken = $nextPageToken; 3033 } 3034 3035 public function getNextPageToken() 3036 { 3037 return $this->nextPageToken; 3038 } 3039 } 3040 3041 class Google_Service_Directory_Group extends Google_Collection 3042 { 3043 protected $collection_key = 'nonEditableAliases'; 3044 public $adminCreated; 3045 public $aliases; 3046 public $description; 3047 public $directMembersCount; 3048 public $email; 3049 public $etag; 3050 public $id; 3051 public $kind; 3052 public $name; 3053 public $nonEditableAliases; 3054 3055 public function setAdminCreated($adminCreated) 3056 { 3057 $this->adminCreated = $adminCreated; 3058 } 3059 3060 public function getAdminCreated() 3061 { 3062 return $this->adminCreated; 3063 } 3064 3065 public function setAliases($aliases) 3066 { 3067 $this->aliases = $aliases; 3068 } 3069 3070 public function getAliases() 3071 { 3072 return $this->aliases; 3073 } 3074 3075 public function setDescription($description) 3076 { 3077 $this->description = $description; 3078 } 3079 3080 public function getDescription() 3081 { 3082 return $this->description; 3083 } 3084 3085 public function setDirectMembersCount($directMembersCount) 3086 { 3087 $this->directMembersCount = $directMembersCount; 3088 } 3089 3090 public function getDirectMembersCount() 3091 { 3092 return $this->directMembersCount; 3093 } 3094 3095 public function setEmail($email) 3096 { 3097 $this->email = $email; 3098 } 3099 3100 public function getEmail() 3101 { 3102 return $this->email; 3103 } 3104 3105 public function setEtag($etag) 3106 { 3107 $this->etag = $etag; 3108 } 3109 3110 public function getEtag() 3111 { 3112 return $this->etag; 3113 } 3114 3115 public function setId($id) 3116 { 3117 $this->id = $id; 3118 } 3119 3120 public function getId() 3121 { 3122 return $this->id; 3123 } 3124 3125 public function setKind($kind) 3126 { 3127 $this->kind = $kind; 3128 } 3129 3130 public function getKind() 3131 { 3132 return $this->kind; 3133 } 3134 3135 public function setName($name) 3136 { 3137 $this->name = $name; 3138 } 3139 3140 public function getName() 3141 { 3142 return $this->name; 3143 } 3144 3145 public function setNonEditableAliases($nonEditableAliases) 3146 { 3147 $this->nonEditableAliases = $nonEditableAliases; 3148 } 3149 3150 public function getNonEditableAliases() 3151 { 3152 return $this->nonEditableAliases; 3153 } 3154 } 3155 3156 class Google_Service_Directory_Groups extends Google_Collection 3157 { 3158 protected $collection_key = 'groups'; 3159 public $etag; 3160 protected $groupsType = 'Google_Service_Directory_Group'; 3161 protected $groupsDataType = 'array'; 3162 public $kind; 3163 public $nextPageToken; 3164 3165 public function setEtag($etag) 3166 { 3167 $this->etag = $etag; 3168 } 3169 3170 public function getEtag() 3171 { 3172 return $this->etag; 3173 } 3174 3175 public function setGroups($groups) 3176 { 3177 $this->groups = $groups; 3178 } 3179 3180 public function getGroups() 3181 { 3182 return $this->groups; 3183 } 3184 3185 public function setKind($kind) 3186 { 3187 $this->kind = $kind; 3188 } 3189 3190 public function getKind() 3191 { 3192 return $this->kind; 3193 } 3194 3195 public function setNextPageToken($nextPageToken) 3196 { 3197 $this->nextPageToken = $nextPageToken; 3198 } 3199 3200 public function getNextPageToken() 3201 { 3202 return $this->nextPageToken; 3203 } 3204 } 3205 3206 class Google_Service_Directory_Member extends Google_Model 3207 { 3208 public $email; 3209 public $etag; 3210 public $id; 3211 public $kind; 3212 public $role; 3213 public $type; 3214 3215 public function setEmail($email) 3216 { 3217 $this->email = $email; 3218 } 3219 3220 public function getEmail() 3221 { 3222 return $this->email; 3223 } 3224 3225 public function setEtag($etag) 3226 { 3227 $this->etag = $etag; 3228 } 3229 3230 public function getEtag() 3231 { 3232 return $this->etag; 3233 } 3234 3235 public function setId($id) 3236 { 3237 $this->id = $id; 3238 } 3239 3240 public function getId() 3241 { 3242 return $this->id; 3243 } 3244 3245 public function setKind($kind) 3246 { 3247 $this->kind = $kind; 3248 } 3249 3250 public function getKind() 3251 { 3252 return $this->kind; 3253 } 3254 3255 public function setRole($role) 3256 { 3257 $this->role = $role; 3258 } 3259 3260 public function getRole() 3261 { 3262 return $this->role; 3263 } 3264 3265 public function setType($type) 3266 { 3267 $this->type = $type; 3268 } 3269 3270 public function getType() 3271 { 3272 return $this->type; 3273 } 3274 } 3275 3276 class Google_Service_Directory_Members extends Google_Collection 3277 { 3278 protected $collection_key = 'members'; 3279 public $etag; 3280 public $kind; 3281 protected $membersType = 'Google_Service_Directory_Member'; 3282 protected $membersDataType = 'array'; 3283 public $nextPageToken; 3284 3285 public function setEtag($etag) 3286 { 3287 $this->etag = $etag; 3288 } 3289 3290 public function getEtag() 3291 { 3292 return $this->etag; 3293 } 3294 3295 public function setKind($kind) 3296 { 3297 $this->kind = $kind; 3298 } 3299 3300 public function getKind() 3301 { 3302 return $this->kind; 3303 } 3304 3305 public function setMembers($members) 3306 { 3307 $this->members = $members; 3308 } 3309 3310 public function getMembers() 3311 { 3312 return $this->members; 3313 } 3314 3315 public function setNextPageToken($nextPageToken) 3316 { 3317 $this->nextPageToken = $nextPageToken; 3318 } 3319 3320 public function getNextPageToken() 3321 { 3322 return $this->nextPageToken; 3323 } 3324 } 3325 3326 class Google_Service_Directory_MobileDevice extends Google_Collection 3327 { 3328 protected $collection_key = 'name'; 3329 protected $applicationsType = 'Google_Service_Directory_MobileDeviceApplications'; 3330 protected $applicationsDataType = 'array'; 3331 public $basebandVersion; 3332 public $buildNumber; 3333 public $defaultLanguage; 3334 public $deviceCompromisedStatus; 3335 public $deviceId; 3336 public $email; 3337 public $etag; 3338 public $firstSync; 3339 public $hardwareId; 3340 public $imei; 3341 public $kernelVersion; 3342 public $kind; 3343 public $lastSync; 3344 public $managedAccountIsOnOwnerProfile; 3345 public $meid; 3346 public $model; 3347 public $name; 3348 public $networkOperator; 3349 public $os; 3350 public $resourceId; 3351 public $serialNumber; 3352 public $status; 3353 public $type; 3354 public $userAgent; 3355 public $wifiMacAddress; 3356 3357 public function setApplications($applications) 3358 { 3359 $this->applications = $applications; 3360 } 3361 3362 public function getApplications() 3363 { 3364 return $this->applications; 3365 } 3366 3367 public function setBasebandVersion($basebandVersion) 3368 { 3369 $this->basebandVersion = $basebandVersion; 3370 } 3371 3372 public function getBasebandVersion() 3373 { 3374 return $this->basebandVersion; 3375 } 3376 3377 public function setBuildNumber($buildNumber) 3378 { 3379 $this->buildNumber = $buildNumber; 3380 } 3381 3382 public function getBuildNumber() 3383 { 3384 return $this->buildNumber; 3385 } 3386 3387 public function setDefaultLanguage($defaultLanguage) 3388 { 3389 $this->defaultLanguage = $defaultLanguage; 3390 } 3391 3392 public function getDefaultLanguage() 3393 { 3394 return $this->defaultLanguage; 3395 } 3396 3397 public function setDeviceCompromisedStatus($deviceCompromisedStatus) 3398 { 3399 $this->deviceCompromisedStatus = $deviceCompromisedStatus; 3400 } 3401 3402 public function getDeviceCompromisedStatus() 3403 { 3404 return $this->deviceCompromisedStatus; 3405 } 3406 3407 public function setDeviceId($deviceId) 3408 { 3409 $this->deviceId = $deviceId; 3410 } 3411 3412 public function getDeviceId() 3413 { 3414 return $this->deviceId; 3415 } 3416 3417 public function setEmail($email) 3418 { 3419 $this->email = $email; 3420 } 3421 3422 public function getEmail() 3423 { 3424 return $this->email; 3425 } 3426 3427 public function setEtag($etag) 3428 { 3429 $this->etag = $etag; 3430 } 3431 3432 public function getEtag() 3433 { 3434 return $this->etag; 3435 } 3436 3437 public function setFirstSync($firstSync) 3438 { 3439 $this->firstSync = $firstSync; 3440 } 3441 3442 public function getFirstSync() 3443 { 3444 return $this->firstSync; 3445 } 3446 3447 public function setHardwareId($hardwareId) 3448 { 3449 $this->hardwareId = $hardwareId; 3450 } 3451 3452 public function getHardwareId() 3453 { 3454 return $this->hardwareId; 3455 } 3456 3457 public function setImei($imei) 3458 { 3459 $this->imei = $imei; 3460 } 3461 3462 public function getImei() 3463 { 3464 return $this->imei; 3465 } 3466 3467 public function setKernelVersion($kernelVersion) 3468 { 3469 $this->kernelVersion = $kernelVersion; 3470 } 3471 3472 public function getKernelVersion() 3473 { 3474 return $this->kernelVersion; 3475 } 3476 3477 public function setKind($kind) 3478 { 3479 $this->kind = $kind; 3480 } 3481 3482 public function getKind() 3483 { 3484 return $this->kind; 3485 } 3486 3487 public function setLastSync($lastSync) 3488 { 3489 $this->lastSync = $lastSync; 3490 } 3491 3492 public function getLastSync() 3493 { 3494 return $this->lastSync; 3495 } 3496 3497 public function setManagedAccountIsOnOwnerProfile($managedAccountIsOnOwnerProfile) 3498 { 3499 $this->managedAccountIsOnOwnerProfile = $managedAccountIsOnOwnerProfile; 3500 } 3501 3502 public function getManagedAccountIsOnOwnerProfile() 3503 { 3504 return $this->managedAccountIsOnOwnerProfile; 3505 } 3506 3507 public function setMeid($meid) 3508 { 3509 $this->meid = $meid; 3510 } 3511 3512 public function getMeid() 3513 { 3514 return $this->meid; 3515 } 3516 3517 public function setModel($model) 3518 { 3519 $this->model = $model; 3520 } 3521 3522 public function getModel() 3523 { 3524 return $this->model; 3525 } 3526 3527 public function setName($name) 3528 { 3529 $this->name = $name; 3530 } 3531 3532 public function getName() 3533 { 3534 return $this->name; 3535 } 3536 3537 public function setNetworkOperator($networkOperator) 3538 { 3539 $this->networkOperator = $networkOperator; 3540 } 3541 3542 public function getNetworkOperator() 3543 { 3544 return $this->networkOperator; 3545 } 3546 3547 public function setOs($os) 3548 { 3549 $this->os = $os; 3550 } 3551 3552 public function getOs() 3553 { 3554 return $this->os; 3555 } 3556 3557 public function setResourceId($resourceId) 3558 { 3559 $this->resourceId = $resourceId; 3560 } 3561 3562 public function getResourceId() 3563 { 3564 return $this->resourceId; 3565 } 3566 3567 public function setSerialNumber($serialNumber) 3568 { 3569 $this->serialNumber = $serialNumber; 3570 } 3571 3572 public function getSerialNumber() 3573 { 3574 return $this->serialNumber; 3575 } 3576 3577 public function setStatus($status) 3578 { 3579 $this->status = $status; 3580 } 3581 3582 public function getStatus() 3583 { 3584 return $this->status; 3585 } 3586 3587 public function setType($type) 3588 { 3589 $this->type = $type; 3590 } 3591 3592 public function getType() 3593 { 3594 return $this->type; 3595 } 3596 3597 public function setUserAgent($userAgent) 3598 { 3599 $this->userAgent = $userAgent; 3600 } 3601 3602 public function getUserAgent() 3603 { 3604 return $this->userAgent; 3605 } 3606 3607 public function setWifiMacAddress($wifiMacAddress) 3608 { 3609 $this->wifiMacAddress = $wifiMacAddress; 3610 } 3611 3612 public function getWifiMacAddress() 3613 { 3614 return $this->wifiMacAddress; 3615 } 3616 } 3617 3618 class Google_Service_Directory_MobileDeviceAction extends Google_Model 3619 { 3620 public $action; 3621 3622 public function setAction($action) 3623 { 3624 $this->action = $action; 3625 } 3626 3627 public function getAction() 3628 { 3629 return $this->action; 3630 } 3631 } 3632 3633 class Google_Service_Directory_MobileDeviceApplications extends Google_Collection 3634 { 3635 protected $collection_key = 'permission'; 3636 public $displayName; 3637 public $packageName; 3638 public $permission; 3639 public $versionCode; 3640 public $versionName; 3641 3642 public function setDisplayName($displayName) 3643 { 3644 $this->displayName = $displayName; 3645 } 3646 3647 public function getDisplayName() 3648 { 3649 return $this->displayName; 3650 } 3651 3652 public function setPackageName($packageName) 3653 { 3654 $this->packageName = $packageName; 3655 } 3656 3657 public function getPackageName() 3658 { 3659 return $this->packageName; 3660 } 3661 3662 public function setPermission($permission) 3663 { 3664 $this->permission = $permission; 3665 } 3666 3667 public function getPermission() 3668 { 3669 return $this->permission; 3670 } 3671 3672 public function setVersionCode($versionCode) 3673 { 3674 $this->versionCode = $versionCode; 3675 } 3676 3677 public function getVersionCode() 3678 { 3679 return $this->versionCode; 3680 } 3681 3682 public function setVersionName($versionName) 3683 { 3684 $this->versionName = $versionName; 3685 } 3686 3687 public function getVersionName() 3688 { 3689 return $this->versionName; 3690 } 3691 } 3692 3693 class Google_Service_Directory_MobileDevices extends Google_Collection 3694 { 3695 protected $collection_key = 'mobiledevices'; 3696 public $etag; 3697 public $kind; 3698 protected $mobiledevicesType = 'Google_Service_Directory_MobileDevice'; 3699 protected $mobiledevicesDataType = 'array'; 3700 public $nextPageToken; 3701 3702 public function setEtag($etag) 3703 { 3704 $this->etag = $etag; 3705 } 3706 3707 public function getEtag() 3708 { 3709 return $this->etag; 3710 } 3711 3712 public function setKind($kind) 3713 { 3714 $this->kind = $kind; 3715 } 3716 3717 public function getKind() 3718 { 3719 return $this->kind; 3720 } 3721 3722 public function setMobiledevices($mobiledevices) 3723 { 3724 $this->mobiledevices = $mobiledevices; 3725 } 3726 3727 public function getMobiledevices() 3728 { 3729 return $this->mobiledevices; 3730 } 3731 3732 public function setNextPageToken($nextPageToken) 3733 { 3734 $this->nextPageToken = $nextPageToken; 3735 } 3736 3737 public function getNextPageToken() 3738 { 3739 return $this->nextPageToken; 3740 } 3741 } 3742 3743 class Google_Service_Directory_Notification extends Google_Model 3744 { 3745 public $body; 3746 public $etag; 3747 public $fromAddress; 3748 public $isUnread; 3749 public $kind; 3750 public $notificationId; 3751 public $sendTime; 3752 public $subject; 3753 3754 public function setBody($body) 3755 { 3756 $this->body = $body; 3757 } 3758 3759 public function getBody() 3760 { 3761 return $this->body; 3762 } 3763 3764 public function setEtag($etag) 3765 { 3766 $this->etag = $etag; 3767 } 3768 3769 public function getEtag() 3770 { 3771 return $this->etag; 3772 } 3773 3774 public function setFromAddress($fromAddress) 3775 { 3776 $this->fromAddress = $fromAddress; 3777 } 3778 3779 public function getFromAddress() 3780 { 3781 return $this->fromAddress; 3782 } 3783 3784 public function setIsUnread($isUnread) 3785 { 3786 $this->isUnread = $isUnread; 3787 } 3788 3789 public function getIsUnread() 3790 { 3791 return $this->isUnread; 3792 } 3793 3794 public function setKind($kind) 3795 { 3796 $this->kind = $kind; 3797 } 3798 3799 public function getKind() 3800 { 3801 return $this->kind; 3802 } 3803 3804 public function setNotificationId($notificationId) 3805 { 3806 $this->notificationId = $notificationId; 3807 } 3808 3809 public function getNotificationId() 3810 { 3811 return $this->notificationId; 3812 } 3813 3814 public function setSendTime($sendTime) 3815 { 3816 $this->sendTime = $sendTime; 3817 } 3818 3819 public function getSendTime() 3820 { 3821 return $this->sendTime; 3822 } 3823 3824 public function setSubject($subject) 3825 { 3826 $this->subject = $subject; 3827 } 3828 3829 public function getSubject() 3830 { 3831 return $this->subject; 3832 } 3833 } 3834 3835 class Google_Service_Directory_Notifications extends Google_Collection 3836 { 3837 protected $collection_key = 'items'; 3838 public $etag; 3839 protected $itemsType = 'Google_Service_Directory_Notification'; 3840 protected $itemsDataType = 'array'; 3841 public $kind; 3842 public $nextPageToken; 3843 public $unreadNotificationsCount; 3844 3845 public function setEtag($etag) 3846 { 3847 $this->etag = $etag; 3848 } 3849 3850 public function getEtag() 3851 { 3852 return $this->etag; 3853 } 3854 3855 public function setItems($items) 3856 { 3857 $this->items = $items; 3858 } 3859 3860 public function getItems() 3861 { 3862 return $this->items; 3863 } 3864 3865 public function setKind($kind) 3866 { 3867 $this->kind = $kind; 3868 } 3869 3870 public function getKind() 3871 { 3872 return $this->kind; 3873 } 3874 3875 public function setNextPageToken($nextPageToken) 3876 { 3877 $this->nextPageToken = $nextPageToken; 3878 } 3879 3880 public function getNextPageToken() 3881 { 3882 return $this->nextPageToken; 3883 } 3884 3885 public function setUnreadNotificationsCount($unreadNotificationsCount) 3886 { 3887 $this->unreadNotificationsCount = $unreadNotificationsCount; 3888 } 3889 3890 public function getUnreadNotificationsCount() 3891 { 3892 return $this->unreadNotificationsCount; 3893 } 3894 } 3895 3896 class Google_Service_Directory_OrgUnit extends Google_Model 3897 { 3898 public $blockInheritance; 3899 public $description; 3900 public $etag; 3901 public $kind; 3902 public $name; 3903 public $orgUnitPath; 3904 public $parentOrgUnitPath; 3905 3906 public function setBlockInheritance($blockInheritance) 3907 { 3908 $this->blockInheritance = $blockInheritance; 3909 } 3910 3911 public function getBlockInheritance() 3912 { 3913 return $this->blockInheritance; 3914 } 3915 3916 public function setDescription($description) 3917 { 3918 $this->description = $description; 3919 } 3920 3921 public function getDescription() 3922 { 3923 return $this->description; 3924 } 3925 3926 public function setEtag($etag) 3927 { 3928 $this->etag = $etag; 3929 } 3930 3931 public function getEtag() 3932 { 3933 return $this->etag; 3934 } 3935 3936 public function setKind($kind) 3937 { 3938 $this->kind = $kind; 3939 } 3940 3941 public function getKind() 3942 { 3943 return $this->kind; 3944 } 3945 3946 public function setName($name) 3947 { 3948 $this->name = $name; 3949 } 3950 3951 public function getName() 3952 { 3953 return $this->name; 3954 } 3955 3956 public function setOrgUnitPath($orgUnitPath) 3957 { 3958 $this->orgUnitPath = $orgUnitPath; 3959 } 3960 3961 public function getOrgUnitPath() 3962 { 3963 return $this->orgUnitPath; 3964 } 3965 3966 public function setParentOrgUnitPath($parentOrgUnitPath) 3967 { 3968 $this->parentOrgUnitPath = $parentOrgUnitPath; 3969 } 3970 3971 public function getParentOrgUnitPath() 3972 { 3973 return $this->parentOrgUnitPath; 3974 } 3975 } 3976 3977 class Google_Service_Directory_OrgUnits extends Google_Collection 3978 { 3979 protected $collection_key = 'organizationUnits'; 3980 public $etag; 3981 public $kind; 3982 protected $organizationUnitsType = 'Google_Service_Directory_OrgUnit'; 3983 protected $organizationUnitsDataType = 'array'; 3984 3985 public function setEtag($etag) 3986 { 3987 $this->etag = $etag; 3988 } 3989 3990 public function getEtag() 3991 { 3992 return $this->etag; 3993 } 3994 3995 public function setKind($kind) 3996 { 3997 $this->kind = $kind; 3998 } 3999 4000 public function getKind() 4001 { 4002 return $this->kind; 4003 } 4004 4005 public function setOrganizationUnits($organizationUnits) 4006 { 4007 $this->organizationUnits = $organizationUnits; 4008 } 4009 4010 public function getOrganizationUnits() 4011 { 4012 return $this->organizationUnits; 4013 } 4014 } 4015 4016 class Google_Service_Directory_Token extends Google_Collection 4017 { 4018 protected $collection_key = 'scopes'; 4019 public $anonymous; 4020 public $clientId; 4021 public $displayText; 4022 public $etag; 4023 public $kind; 4024 public $nativeApp; 4025 public $scopes; 4026 public $userKey; 4027 4028 public function setAnonymous($anonymous) 4029 { 4030 $this->anonymous = $anonymous; 4031 } 4032 4033 public function getAnonymous() 4034 { 4035 return $this->anonymous; 4036 } 4037 4038 public function setClientId($clientId) 4039 { 4040 $this->clientId = $clientId; 4041 } 4042 4043 public function getClientId() 4044 { 4045 return $this->clientId; 4046 } 4047 4048 public function setDisplayText($displayText) 4049 { 4050 $this->displayText = $displayText; 4051 } 4052 4053 public function getDisplayText() 4054 { 4055 return $this->displayText; 4056 } 4057 4058 public function setEtag($etag) 4059 { 4060 $this->etag = $etag; 4061 } 4062 4063 public function getEtag() 4064 { 4065 return $this->etag; 4066 } 4067 4068 public function setKind($kind) 4069 { 4070 $this->kind = $kind; 4071 } 4072 4073 public function getKind() 4074 { 4075 return $this->kind; 4076 } 4077 4078 public function setNativeApp($nativeApp) 4079 { 4080 $this->nativeApp = $nativeApp; 4081 } 4082 4083 public function getNativeApp() 4084 { 4085 return $this->nativeApp; 4086 } 4087 4088 public function setScopes($scopes) 4089 { 4090 $this->scopes = $scopes; 4091 } 4092 4093 public function getScopes() 4094 { 4095 return $this->scopes; 4096 } 4097 4098 public function setUserKey($userKey) 4099 { 4100 $this->userKey = $userKey; 4101 } 4102 4103 public function getUserKey() 4104 { 4105 return $this->userKey; 4106 } 4107 } 4108 4109 class Google_Service_Directory_Tokens extends Google_Collection 4110 { 4111 protected $collection_key = 'items'; 4112 public $etag; 4113 protected $itemsType = 'Google_Service_Directory_Token'; 4114 protected $itemsDataType = 'array'; 4115 public $kind; 4116 4117 public function setEtag($etag) 4118 { 4119 $this->etag = $etag; 4120 } 4121 4122 public function getEtag() 4123 { 4124 return $this->etag; 4125 } 4126 4127 public function setItems($items) 4128 { 4129 $this->items = $items; 4130 } 4131 4132 public function getItems() 4133 { 4134 return $this->items; 4135 } 4136 4137 public function setKind($kind) 4138 { 4139 $this->kind = $kind; 4140 } 4141 4142 public function getKind() 4143 { 4144 return $this->kind; 4145 } 4146 } 4147 4148 class Google_Service_Directory_User extends Google_Collection 4149 { 4150 protected $collection_key = 'nonEditableAliases'; 4151 public $addresses; 4152 public $agreedToTerms; 4153 public $aliases; 4154 public $changePasswordAtNextLogin; 4155 public $creationTime; 4156 public $customerId; 4157 public $deletionTime; 4158 public $emails; 4159 public $etag; 4160 public $externalIds; 4161 public $hashFunction; 4162 public $id; 4163 public $ims; 4164 public $includeInGlobalAddressList; 4165 public $ipWhitelisted; 4166 public $isAdmin; 4167 public $isDelegatedAdmin; 4168 public $isMailboxSetup; 4169 public $kind; 4170 public $lastLoginTime; 4171 protected $nameType = 'Google_Service_Directory_UserName'; 4172 protected $nameDataType = ''; 4173 public $nonEditableAliases; 4174 public $orgUnitPath; 4175 public $organizations; 4176 public $password; 4177 public $phones; 4178 public $primaryEmail; 4179 public $relations; 4180 public $suspended; 4181 public $suspensionReason; 4182 public $thumbnailPhotoUrl; 4183 4184 public function setAddresses($addresses) 4185 { 4186 $this->addresses = $addresses; 4187 } 4188 4189 public function getAddresses() 4190 { 4191 return $this->addresses; 4192 } 4193 4194 public function setAgreedToTerms($agreedToTerms) 4195 { 4196 $this->agreedToTerms = $agreedToTerms; 4197 } 4198 4199 public function getAgreedToTerms() 4200 { 4201 return $this->agreedToTerms; 4202 } 4203 4204 public function setAliases($aliases) 4205 { 4206 $this->aliases = $aliases; 4207 } 4208 4209 public function getAliases() 4210 { 4211 return $this->aliases; 4212 } 4213 4214 public function setChangePasswordAtNextLogin($changePasswordAtNextLogin) 4215 { 4216 $this->changePasswordAtNextLogin = $changePasswordAtNextLogin; 4217 } 4218 4219 public function getChangePasswordAtNextLogin() 4220 { 4221 return $this->changePasswordAtNextLogin; 4222 } 4223 4224 public function setCreationTime($creationTime) 4225 { 4226 $this->creationTime = $creationTime; 4227 } 4228 4229 public function getCreationTime() 4230 { 4231 return $this->creationTime; 4232 } 4233 4234 public function setCustomerId($customerId) 4235 { 4236 $this->customerId = $customerId; 4237 } 4238 4239 public function getCustomerId() 4240 { 4241 return $this->customerId; 4242 } 4243 4244 public function setDeletionTime($deletionTime) 4245 { 4246 $this->deletionTime = $deletionTime; 4247 } 4248 4249 public function getDeletionTime() 4250 { 4251 return $this->deletionTime; 4252 } 4253 4254 public function setEmails($emails) 4255 { 4256 $this->emails = $emails; 4257 } 4258 4259 public function getEmails() 4260 { 4261 return $this->emails; 4262 } 4263 4264 public function setEtag($etag) 4265 { 4266 $this->etag = $etag; 4267 } 4268 4269 public function getEtag() 4270 { 4271 return $this->etag; 4272 } 4273 4274 public function setExternalIds($externalIds) 4275 { 4276 $this->externalIds = $externalIds; 4277 } 4278 4279 public function getExternalIds() 4280 { 4281 return $this->externalIds; 4282 } 4283 4284 public function setHashFunction($hashFunction) 4285 { 4286 $this->hashFunction = $hashFunction; 4287 } 4288 4289 public function getHashFunction() 4290 { 4291 return $this->hashFunction; 4292 } 4293 4294 public function setId($id) 4295 { 4296 $this->id = $id; 4297 } 4298 4299 public function getId() 4300 { 4301 return $this->id; 4302 } 4303 4304 public function setIms($ims) 4305 { 4306 $this->ims = $ims; 4307 } 4308 4309 public function getIms() 4310 { 4311 return $this->ims; 4312 } 4313 4314 public function setIncludeInGlobalAddressList($includeInGlobalAddressList) 4315 { 4316 $this->includeInGlobalAddressList = $includeInGlobalAddressList; 4317 } 4318 4319 public function getIncludeInGlobalAddressList() 4320 { 4321 return $this->includeInGlobalAddressList; 4322 } 4323 4324 public function setIpWhitelisted($ipWhitelisted) 4325 { 4326 $this->ipWhitelisted = $ipWhitelisted; 4327 } 4328 4329 public function getIpWhitelisted() 4330 { 4331 return $this->ipWhitelisted; 4332 } 4333 4334 public function setIsAdmin($isAdmin) 4335 { 4336 $this->isAdmin = $isAdmin; 4337 } 4338 4339 public function getIsAdmin() 4340 { 4341 return $this->isAdmin; 4342 } 4343 4344 public function setIsDelegatedAdmin($isDelegatedAdmin) 4345 { 4346 $this->isDelegatedAdmin = $isDelegatedAdmin; 4347 } 4348 4349 public function getIsDelegatedAdmin() 4350 { 4351 return $this->isDelegatedAdmin; 4352 } 4353 4354 public function setIsMailboxSetup($isMailboxSetup) 4355 { 4356 $this->isMailboxSetup = $isMailboxSetup; 4357 } 4358 4359 public function getIsMailboxSetup() 4360 { 4361 return $this->isMailboxSetup; 4362 } 4363 4364 public function setKind($kind) 4365 { 4366 $this->kind = $kind; 4367 } 4368 4369 public function getKind() 4370 { 4371 return $this->kind; 4372 } 4373 4374 public function setLastLoginTime($lastLoginTime) 4375 { 4376 $this->lastLoginTime = $lastLoginTime; 4377 } 4378 4379 public function getLastLoginTime() 4380 { 4381 return $this->lastLoginTime; 4382 } 4383 4384 public function setName(Google_Service_Directory_UserName $name) 4385 { 4386 $this->name = $name; 4387 } 4388 4389 public function getName() 4390 { 4391 return $this->name; 4392 } 4393 4394 public function setNonEditableAliases($nonEditableAliases) 4395 { 4396 $this->nonEditableAliases = $nonEditableAliases; 4397 } 4398 4399 public function getNonEditableAliases() 4400 { 4401 return $this->nonEditableAliases; 4402 } 4403 4404 public function setOrgUnitPath($orgUnitPath) 4405 { 4406 $this->orgUnitPath = $orgUnitPath; 4407 } 4408 4409 public function getOrgUnitPath() 4410 { 4411 return $this->orgUnitPath; 4412 } 4413 4414 public function setOrganizations($organizations) 4415 { 4416 $this->organizations = $organizations; 4417 } 4418 4419 public function getOrganizations() 4420 { 4421 return $this->organizations; 4422 } 4423 4424 public function setPassword($password) 4425 { 4426 $this->password = $password; 4427 } 4428 4429 public function getPassword() 4430 { 4431 return $this->password; 4432 } 4433 4434 public function setPhones($phones) 4435 { 4436 $this->phones = $phones; 4437 } 4438 4439 public function getPhones() 4440 { 4441 return $this->phones; 4442 } 4443 4444 public function setPrimaryEmail($primaryEmail) 4445 { 4446 $this->primaryEmail = $primaryEmail; 4447 } 4448 4449 public function getPrimaryEmail() 4450 { 4451 return $this->primaryEmail; 4452 } 4453 4454 public function setRelations($relations) 4455 { 4456 $this->relations = $relations; 4457 } 4458 4459 public function getRelations() 4460 { 4461 return $this->relations; 4462 } 4463 4464 public function setSuspended($suspended) 4465 { 4466 $this->suspended = $suspended; 4467 } 4468 4469 public function getSuspended() 4470 { 4471 return $this->suspended; 4472 } 4473 4474 public function setSuspensionReason($suspensionReason) 4475 { 4476 $this->suspensionReason = $suspensionReason; 4477 } 4478 4479 public function getSuspensionReason() 4480 { 4481 return $this->suspensionReason; 4482 } 4483 4484 public function setThumbnailPhotoUrl($thumbnailPhotoUrl) 4485 { 4486 $this->thumbnailPhotoUrl = $thumbnailPhotoUrl; 4487 } 4488 4489 public function getThumbnailPhotoUrl() 4490 { 4491 return $this->thumbnailPhotoUrl; 4492 } 4493 } 4494 4495 class Google_Service_Directory_UserAddress extends Google_Model 4496 { 4497 public $country; 4498 public $countryCode; 4499 public $customType; 4500 public $extendedAddress; 4501 public $formatted; 4502 public $locality; 4503 public $poBox; 4504 public $postalCode; 4505 public $primary; 4506 public $region; 4507 public $sourceIsStructured; 4508 public $streetAddress; 4509 public $type; 4510 4511 public function setCountry($country) 4512 { 4513 $this->country = $country; 4514 } 4515 4516 public function getCountry() 4517 { 4518 return $this->country; 4519 } 4520 4521 public function setCountryCode($countryCode) 4522 { 4523 $this->countryCode = $countryCode; 4524 } 4525 4526 public function getCountryCode() 4527 { 4528 return $this->countryCode; 4529 } 4530 4531 public function setCustomType($customType) 4532 { 4533 $this->customType = $customType; 4534 } 4535 4536 public function getCustomType() 4537 { 4538 return $this->customType; 4539 } 4540 4541 public function setExtendedAddress($extendedAddress) 4542 { 4543 $this->extendedAddress = $extendedAddress; 4544 } 4545 4546 public function getExtendedAddress() 4547 { 4548 return $this->extendedAddress; 4549 } 4550 4551 public function setFormatted($formatted) 4552 { 4553 $this->formatted = $formatted; 4554 } 4555 4556 public function getFormatted() 4557 { 4558 return $this->formatted; 4559 } 4560 4561 public function setLocality($locality) 4562 { 4563 $this->locality = $locality; 4564 } 4565 4566 public function getLocality() 4567 { 4568 return $this->locality; 4569 } 4570 4571 public function setPoBox($poBox) 4572 { 4573 $this->poBox = $poBox; 4574 } 4575 4576 public function getPoBox() 4577 { 4578 return $this->poBox; 4579 } 4580 4581 public function setPostalCode($postalCode) 4582 { 4583 $this->postalCode = $postalCode; 4584 } 4585 4586 public function getPostalCode() 4587 { 4588 return $this->postalCode; 4589 } 4590 4591 public function setPrimary($primary) 4592 { 4593 $this->primary = $primary; 4594 } 4595 4596 public function getPrimary() 4597 { 4598 return $this->primary; 4599 } 4600 4601 public function setRegion($region) 4602 { 4603 $this->region = $region; 4604 } 4605 4606 public function getRegion() 4607 { 4608 return $this->region; 4609 } 4610 4611 public function setSourceIsStructured($sourceIsStructured) 4612 { 4613 $this->sourceIsStructured = $sourceIsStructured; 4614 } 4615 4616 public function getSourceIsStructured() 4617 { 4618 return $this->sourceIsStructured; 4619 } 4620 4621 public function setStreetAddress($streetAddress) 4622 { 4623 $this->streetAddress = $streetAddress; 4624 } 4625 4626 public function getStreetAddress() 4627 { 4628 return $this->streetAddress; 4629 } 4630 4631 public function setType($type) 4632 { 4633 $this->type = $type; 4634 } 4635 4636 public function getType() 4637 { 4638 return $this->type; 4639 } 4640 } 4641 4642 class Google_Service_Directory_UserEmail extends Google_Model 4643 { 4644 public $address; 4645 public $customType; 4646 public $primary; 4647 public $type; 4648 4649 public function setAddress($address) 4650 { 4651 $this->address = $address; 4652 } 4653 4654 public function getAddress() 4655 { 4656 return $this->address; 4657 } 4658 4659 public function setCustomType($customType) 4660 { 4661 $this->customType = $customType; 4662 } 4663 4664 public function getCustomType() 4665 { 4666 return $this->customType; 4667 } 4668 4669 public function setPrimary($primary) 4670 { 4671 $this->primary = $primary; 4672 } 4673 4674 public function getPrimary() 4675 { 4676 return $this->primary; 4677 } 4678 4679 public function setType($type) 4680 { 4681 $this->type = $type; 4682 } 4683 4684 public function getType() 4685 { 4686 return $this->type; 4687 } 4688 } 4689 4690 class Google_Service_Directory_UserExternalId extends Google_Model 4691 { 4692 public $customType; 4693 public $type; 4694 public $value; 4695 4696 public function setCustomType($customType) 4697 { 4698 $this->customType = $customType; 4699 } 4700 4701 public function getCustomType() 4702 { 4703 return $this->customType; 4704 } 4705 4706 public function setType($type) 4707 { 4708 $this->type = $type; 4709 } 4710 4711 public function getType() 4712 { 4713 return $this->type; 4714 } 4715 4716 public function setValue($value) 4717 { 4718 $this->value = $value; 4719 } 4720 4721 public function getValue() 4722 { 4723 return $this->value; 4724 } 4725 } 4726 4727 class Google_Service_Directory_UserIm extends Google_Model 4728 { 4729 public $customProtocol; 4730 public $customType; 4731 public $im; 4732 public $primary; 4733 public $protocol; 4734 public $type; 4735 4736 public function setCustomProtocol($customProtocol) 4737 { 4738 $this->customProtocol = $customProtocol; 4739 } 4740 4741 public function getCustomProtocol() 4742 { 4743 return $this->customProtocol; 4744 } 4745 4746 public function setCustomType($customType) 4747 { 4748 $this->customType = $customType; 4749 } 4750 4751 public function getCustomType() 4752 { 4753 return $this->customType; 4754 } 4755 4756 public function setIm($im) 4757 { 4758 $this->im = $im; 4759 } 4760 4761 public function getIm() 4762 { 4763 return $this->im; 4764 } 4765 4766 public function setPrimary($primary) 4767 { 4768 $this->primary = $primary; 4769 } 4770 4771 public function getPrimary() 4772 { 4773 return $this->primary; 4774 } 4775 4776 public function setProtocol($protocol) 4777 { 4778 $this->protocol = $protocol; 4779 } 4780 4781 public function getProtocol() 4782 { 4783 return $this->protocol; 4784 } 4785 4786 public function setType($type) 4787 { 4788 $this->type = $type; 4789 } 4790 4791 public function getType() 4792 { 4793 return $this->type; 4794 } 4795 } 4796 4797 class Google_Service_Directory_UserMakeAdmin extends Google_Model 4798 { 4799 public $status; 4800 4801 public function setStatus($status) 4802 { 4803 $this->status = $status; 4804 } 4805 4806 public function getStatus() 4807 { 4808 return $this->status; 4809 } 4810 } 4811 4812 class Google_Service_Directory_UserName extends Google_Model 4813 { 4814 public $familyName; 4815 public $fullName; 4816 public $givenName; 4817 4818 public function setFamilyName($familyName) 4819 { 4820 $this->familyName = $familyName; 4821 } 4822 4823 public function getFamilyName() 4824 { 4825 return $this->familyName; 4826 } 4827 4828 public function setFullName($fullName) 4829 { 4830 $this->fullName = $fullName; 4831 } 4832 4833 public function getFullName() 4834 { 4835 return $this->fullName; 4836 } 4837 4838 public function setGivenName($givenName) 4839 { 4840 $this->givenName = $givenName; 4841 } 4842 4843 public function getGivenName() 4844 { 4845 return $this->givenName; 4846 } 4847 } 4848 4849 class Google_Service_Directory_UserOrganization extends Google_Model 4850 { 4851 public $costCenter; 4852 public $customType; 4853 public $department; 4854 public $description; 4855 public $domain; 4856 public $location; 4857 public $name; 4858 public $primary; 4859 public $symbol; 4860 public $title; 4861 public $type; 4862 4863 public function setCostCenter($costCenter) 4864 { 4865 $this->costCenter = $costCenter; 4866 } 4867 4868 public function getCostCenter() 4869 { 4870 return $this->costCenter; 4871 } 4872 4873 public function setCustomType($customType) 4874 { 4875 $this->customType = $customType; 4876 } 4877 4878 public function getCustomType() 4879 { 4880 return $this->customType; 4881 } 4882 4883 public function setDepartment($department) 4884 { 4885 $this->department = $department; 4886 } 4887 4888 public function getDepartment() 4889 { 4890 return $this->department; 4891 } 4892 4893 public function setDescription($description) 4894 { 4895 $this->description = $description; 4896 } 4897 4898 public function getDescription() 4899 { 4900 return $this->description; 4901 } 4902 4903 public function setDomain($domain) 4904 { 4905 $this->domain = $domain; 4906 } 4907 4908 public function getDomain() 4909 { 4910 return $this->domain; 4911 } 4912 4913 public function setLocation($location) 4914 { 4915 $this->location = $location; 4916 } 4917 4918 public function getLocation() 4919 { 4920 return $this->location; 4921 } 4922 4923 public function setName($name) 4924 { 4925 $this->name = $name; 4926 } 4927 4928 public function getName() 4929 { 4930 return $this->name; 4931 } 4932 4933 public function setPrimary($primary) 4934 { 4935 $this->primary = $primary; 4936 } 4937 4938 public function getPrimary() 4939 { 4940 return $this->primary; 4941 } 4942 4943 public function setSymbol($symbol) 4944 { 4945 $this->symbol = $symbol; 4946 } 4947 4948 public function getSymbol() 4949 { 4950 return $this->symbol; 4951 } 4952 4953 public function setTitle($title) 4954 { 4955 $this->title = $title; 4956 } 4957 4958 public function getTitle() 4959 { 4960 return $this->title; 4961 } 4962 4963 public function setType($type) 4964 { 4965 $this->type = $type; 4966 } 4967 4968 public function getType() 4969 { 4970 return $this->type; 4971 } 4972 } 4973 4974 class Google_Service_Directory_UserPhone extends Google_Model 4975 { 4976 public $customType; 4977 public $primary; 4978 public $type; 4979 public $value; 4980 4981 public function setCustomType($customType) 4982 { 4983 $this->customType = $customType; 4984 } 4985 4986 public function getCustomType() 4987 { 4988 return $this->customType; 4989 } 4990 4991 public function setPrimary($primary) 4992 { 4993 $this->primary = $primary; 4994 } 4995 4996 public function getPrimary() 4997 { 4998 return $this->primary; 4999 } 5000 5001 public function setType($type) 5002 { 5003 $this->type = $type; 5004 } 5005 5006 public function getType() 5007 { 5008 return $this->type; 5009 } 5010 5011 public function setValue($value) 5012 { 5013 $this->value = $value; 5014 } 5015 5016 public function getValue() 5017 { 5018 return $this->value; 5019 } 5020 } 5021 5022 class Google_Service_Directory_UserPhoto extends Google_Model 5023 { 5024 public $etag; 5025 public $height; 5026 public $id; 5027 public $kind; 5028 public $mimeType; 5029 public $photoData; 5030 public $primaryEmail; 5031 public $width; 5032 5033 public function setEtag($etag) 5034 { 5035 $this->etag = $etag; 5036 } 5037 5038 public function getEtag() 5039 { 5040 return $this->etag; 5041 } 5042 5043 public function setHeight($height) 5044 { 5045 $this->height = $height; 5046 } 5047 5048 public function getHeight() 5049 { 5050 return $this->height; 5051 } 5052 5053 public function setId($id) 5054 { 5055 $this->id = $id; 5056 } 5057 5058 public function getId() 5059 { 5060 return $this->id; 5061 } 5062 5063 public function setKind($kind) 5064 { 5065 $this->kind = $kind; 5066 } 5067 5068 public function getKind() 5069 { 5070 return $this->kind; 5071 } 5072 5073 public function setMimeType($mimeType) 5074 { 5075 $this->mimeType = $mimeType; 5076 } 5077 5078 public function getMimeType() 5079 { 5080 return $this->mimeType; 5081 } 5082 5083 public function setPhotoData($photoData) 5084 { 5085 $this->photoData = $photoData; 5086 } 5087 5088 public function getPhotoData() 5089 { 5090 return $this->photoData; 5091 } 5092 5093 public function setPrimaryEmail($primaryEmail) 5094 { 5095 $this->primaryEmail = $primaryEmail; 5096 } 5097 5098 public function getPrimaryEmail() 5099 { 5100 return $this->primaryEmail; 5101 } 5102 5103 public function setWidth($width) 5104 { 5105 $this->width = $width; 5106 } 5107 5108 public function getWidth() 5109 { 5110 return $this->width; 5111 } 5112 } 5113 5114 class Google_Service_Directory_UserRelation extends Google_Model 5115 { 5116 public $customType; 5117 public $type; 5118 public $value; 5119 5120 public function setCustomType($customType) 5121 { 5122 $this->customType = $customType; 5123 } 5124 5125 public function getCustomType() 5126 { 5127 return $this->customType; 5128 } 5129 5130 public function setType($type) 5131 { 5132 $this->type = $type; 5133 } 5134 5135 public function getType() 5136 { 5137 return $this->type; 5138 } 5139 5140 public function setValue($value) 5141 { 5142 $this->value = $value; 5143 } 5144 5145 public function getValue() 5146 { 5147 return $this->value; 5148 } 5149 } 5150 5151 class Google_Service_Directory_UserUndelete extends Google_Model 5152 { 5153 public $orgUnitPath; 5154 5155 public function setOrgUnitPath($orgUnitPath) 5156 { 5157 $this->orgUnitPath = $orgUnitPath; 5158 } 5159 5160 public function getOrgUnitPath() 5161 { 5162 return $this->orgUnitPath; 5163 } 5164 } 5165 5166 class Google_Service_Directory_Users extends Google_Collection 5167 { 5168 protected $collection_key = 'users'; 5169 public $etag; 5170 public $kind; 5171 public $nextPageToken; 5172 public $triggerEvent; 5173 protected $usersType = 'Google_Service_Directory_User'; 5174 protected $usersDataType = 'array'; 5175 5176 public function setEtag($etag) 5177 { 5178 $this->etag = $etag; 5179 } 5180 5181 public function getEtag() 5182 { 5183 return $this->etag; 5184 } 5185 5186 public function setKind($kind) 5187 { 5188 $this->kind = $kind; 5189 } 5190 5191 public function getKind() 5192 { 5193 return $this->kind; 5194 } 5195 5196 public function setNextPageToken($nextPageToken) 5197 { 5198 $this->nextPageToken = $nextPageToken; 5199 } 5200 5201 public function getNextPageToken() 5202 { 5203 return $this->nextPageToken; 5204 } 5205 5206 public function setTriggerEvent($triggerEvent) 5207 { 5208 $this->triggerEvent = $triggerEvent; 5209 } 5210 5211 public function getTriggerEvent() 5212 { 5213 return $this->triggerEvent; 5214 } 5215 5216 public function setUsers($users) 5217 { 5218 $this->users = $users; 5219 } 5220 5221 public function getUsers() 5222 { 5223 return $this->users; 5224 } 5225 } 5226 5227 class Google_Service_Directory_VerificationCode extends Google_Model 5228 { 5229 public $etag; 5230 public $kind; 5231 public $userId; 5232 public $verificationCode; 5233 5234 public function setEtag($etag) 5235 { 5236 $this->etag = $etag; 5237 } 5238 5239 public function getEtag() 5240 { 5241 return $this->etag; 5242 } 5243 5244 public function setKind($kind) 5245 { 5246 $this->kind = $kind; 5247 } 5248 5249 public function getKind() 5250 { 5251 return $this->kind; 5252 } 5253 5254 public function setUserId($userId) 5255 { 5256 $this->userId = $userId; 5257 } 5258 5259 public function getUserId() 5260 { 5261 return $this->userId; 5262 } 5263 5264 public function setVerificationCode($verificationCode) 5265 { 5266 $this->verificationCode = $verificationCode; 5267 } 5268 5269 public function getVerificationCode() 5270 { 5271 return $this->verificationCode; 5272 } 5273 } 5274 5275 class Google_Service_Directory_VerificationCodes extends Google_Collection 5276 { 5277 protected $collection_key = 'items'; 5278 public $etag; 5279 protected $itemsType = 'Google_Service_Directory_VerificationCode'; 5280 protected $itemsDataType = 'array'; 5281 public $kind; 5282 5283 public function setEtag($etag) 5284 { 5285 $this->etag = $etag; 5286 } 5287 5288 public function getEtag() 5289 { 5290 return $this->etag; 5291 } 5292 5293 public function setItems($items) 5294 { 5295 $this->items = $items; 5296 } 5297 5298 public function getItems() 5299 { 5300 return $this->items; 5301 } 5302 5303 public function setKind($kind) 5304 { 5305 $this->kind = $kind; 5306 } 5307 5308 public function getKind() 5309 { 5310 return $this->kind; 5311 } 5312 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |