Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 39 and 403] [Versions 400 and 403] [Versions 401 and 403]
1 <?php 2 /* 3 * Copyright 2010 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18 /** 19 * Service definition for Directory (directory_v1). 20 * 21 * <p> 22 * The Admin SDK Directory API lets you view and manage enterprise resources 23 * such as users and groups, administrative notifications, security features, 24 * and more.</p> 25 * 26 * <p> 27 * For more information about this service, see the API 28 * <a href="https://developers.google.com/admin-sdk/directory/" target="_blank">Documentation</a> 29 * </p> 30 * 31 * @author Google, Inc. 32 */ 33 #[AllowDynamicProperties] 34 class Google_Service_Directory extends Google_Service 35 { 36 /** View and manage customer related information. */ 37 const ADMIN_DIRECTORY_CUSTOMER = 38 "https://www.googleapis.com/auth/admin.directory.customer"; 39 /** View customer related information. */ 40 const ADMIN_DIRECTORY_CUSTOMER_READONLY = 41 "https://www.googleapis.com/auth/admin.directory.customer.readonly"; 42 /** View and manage your Chrome OS devices' metadata. */ 43 const ADMIN_DIRECTORY_DEVICE_CHROMEOS = 44 "https://www.googleapis.com/auth/admin.directory.device.chromeos"; 45 /** View your Chrome OS devices' metadata. */ 46 const ADMIN_DIRECTORY_DEVICE_CHROMEOS_READONLY = 47 "https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly"; 48 /** View and manage your mobile devices' metadata. */ 49 const ADMIN_DIRECTORY_DEVICE_MOBILE = 50 "https://www.googleapis.com/auth/admin.directory.device.mobile"; 51 /** Manage your mobile devices by performing administrative tasks. */ 52 const ADMIN_DIRECTORY_DEVICE_MOBILE_ACTION = 53 "https://www.googleapis.com/auth/admin.directory.device.mobile.action"; 54 /** View your mobile devices' metadata. */ 55 const ADMIN_DIRECTORY_DEVICE_MOBILE_READONLY = 56 "https://www.googleapis.com/auth/admin.directory.device.mobile.readonly"; 57 /** View and manage the provisioning of domains for your customers. */ 58 const ADMIN_DIRECTORY_DOMAIN = 59 "https://www.googleapis.com/auth/admin.directory.domain"; 60 /** View domains related to your customers. */ 61 const ADMIN_DIRECTORY_DOMAIN_READONLY = 62 "https://www.googleapis.com/auth/admin.directory.domain.readonly"; 63 /** View and manage the provisioning of groups on your domain. */ 64 const ADMIN_DIRECTORY_GROUP = 65 "https://www.googleapis.com/auth/admin.directory.group"; 66 /** View and manage group subscriptions on your domain. */ 67 const ADMIN_DIRECTORY_GROUP_MEMBER = 68 "https://www.googleapis.com/auth/admin.directory.group.member"; 69 /** View group subscriptions on your domain. */ 70 const ADMIN_DIRECTORY_GROUP_MEMBER_READONLY = 71 "https://www.googleapis.com/auth/admin.directory.group.member.readonly"; 72 /** View groups on your domain. */ 73 const ADMIN_DIRECTORY_GROUP_READONLY = 74 "https://www.googleapis.com/auth/admin.directory.group.readonly"; 75 /** View and manage notifications received on your domain. */ 76 const ADMIN_DIRECTORY_NOTIFICATIONS = 77 "https://www.googleapis.com/auth/admin.directory.notifications"; 78 /** View and manage organization units on your domain. */ 79 const ADMIN_DIRECTORY_ORGUNIT = 80 "https://www.googleapis.com/auth/admin.directory.orgunit"; 81 /** View organization units on your domain. */ 82 const ADMIN_DIRECTORY_ORGUNIT_READONLY = 83 "https://www.googleapis.com/auth/admin.directory.orgunit.readonly"; 84 /** Manage delegated admin roles for your domain. */ 85 const ADMIN_DIRECTORY_ROLEMANAGEMENT = 86 "https://www.googleapis.com/auth/admin.directory.rolemanagement"; 87 /** View delegated admin roles for your domain. */ 88 const ADMIN_DIRECTORY_ROLEMANAGEMENT_READONLY = 89 "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly"; 90 /** View and manage the provisioning of users on your domain. */ 91 const ADMIN_DIRECTORY_USER = 92 "https://www.googleapis.com/auth/admin.directory.user"; 93 /** View and manage user aliases on your domain. */ 94 const ADMIN_DIRECTORY_USER_ALIAS = 95 "https://www.googleapis.com/auth/admin.directory.user.alias"; 96 /** View user aliases on your domain. */ 97 const ADMIN_DIRECTORY_USER_ALIAS_READONLY = 98 "https://www.googleapis.com/auth/admin.directory.user.alias.readonly"; 99 /** View users on your domain. */ 100 const ADMIN_DIRECTORY_USER_READONLY = 101 "https://www.googleapis.com/auth/admin.directory.user.readonly"; 102 /** Manage data access permissions for users on your domain. */ 103 const ADMIN_DIRECTORY_USER_SECURITY = 104 "https://www.googleapis.com/auth/admin.directory.user.security"; 105 /** View and manage the provisioning of user schemas on your domain. */ 106 const ADMIN_DIRECTORY_USERSCHEMA = 107 "https://www.googleapis.com/auth/admin.directory.userschema"; 108 /** View user schemas on your domain. */ 109 const ADMIN_DIRECTORY_USERSCHEMA_READONLY = 110 "https://www.googleapis.com/auth/admin.directory.userschema.readonly"; 111 112 public $asps; 113 public $channels; 114 public $chromeosdevices; 115 public $customers; 116 public $domainAliases; 117 public $domains; 118 public $groups; 119 public $groups_aliases; 120 public $members; 121 public $mobiledevices; 122 public $notifications; 123 public $orgunits; 124 public $privileges; 125 public $roleAssignments; 126 public $roles; 127 public $schemas; 128 public $tokens; 129 public $users; 130 public $users_aliases; 131 public $users_photos; 132 public $verificationCodes; 133 134 135 /** 136 * Constructs the internal representation of the Directory service. 137 * 138 * @param Google_Client $client 139 */ 140 public function __construct(Google_Client $client) 141 { 142 parent::__construct($client); 143 $this->rootUrl = 'https://www.googleapis.com/'; 144 $this->servicePath = 'admin/directory/v1/'; 145 $this->version = 'directory_v1'; 146 $this->serviceName = 'admin'; 147 148 $this->asps = new Google_Service_Directory_Asps_Resource( 149 $this, 150 $this->serviceName, 151 'asps', 152 array( 153 'methods' => array( 154 'delete' => array( 155 'path' => 'users/{userKey}/asps/{codeId}', 156 'httpMethod' => 'DELETE', 157 'parameters' => array( 158 'userKey' => array( 159 'location' => 'path', 160 'type' => 'string', 161 'required' => true, 162 ), 163 'codeId' => array( 164 'location' => 'path', 165 'type' => 'integer', 166 'required' => true, 167 ), 168 ), 169 ),'get' => array( 170 'path' => 'users/{userKey}/asps/{codeId}', 171 'httpMethod' => 'GET', 172 'parameters' => array( 173 'userKey' => array( 174 'location' => 'path', 175 'type' => 'string', 176 'required' => true, 177 ), 178 'codeId' => array( 179 'location' => 'path', 180 'type' => 'integer', 181 'required' => true, 182 ), 183 ), 184 ),'list' => array( 185 'path' => 'users/{userKey}/asps', 186 'httpMethod' => 'GET', 187 'parameters' => array( 188 'userKey' => array( 189 'location' => 'path', 190 'type' => 'string', 191 'required' => true, 192 ), 193 ), 194 ), 195 ) 196 ) 197 ); 198 $this->channels = new Google_Service_Directory_Channels_Resource( 199 $this, 200 $this->serviceName, 201 'channels', 202 array( 203 'methods' => array( 204 'stop' => array( 205 'path' => '/admin/directory_v1/channels/stop', 206 'httpMethod' => 'POST', 207 'parameters' => array(), 208 ), 209 ) 210 ) 211 ); 212 $this->chromeosdevices = new Google_Service_Directory_Chromeosdevices_Resource( 213 $this, 214 $this->serviceName, 215 'chromeosdevices', 216 array( 217 'methods' => array( 218 'get' => array( 219 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}', 220 'httpMethod' => 'GET', 221 'parameters' => array( 222 'customerId' => array( 223 'location' => 'path', 224 'type' => 'string', 225 'required' => true, 226 ), 227 'deviceId' => array( 228 'location' => 'path', 229 'type' => 'string', 230 'required' => true, 231 ), 232 'projection' => array( 233 'location' => 'query', 234 'type' => 'string', 235 ), 236 ), 237 ),'list' => array( 238 'path' => 'customer/{customerId}/devices/chromeos', 239 'httpMethod' => 'GET', 240 'parameters' => array( 241 'customerId' => array( 242 'location' => 'path', 243 'type' => 'string', 244 'required' => true, 245 ), 246 'orderBy' => array( 247 'location' => 'query', 248 'type' => 'string', 249 ), 250 'projection' => array( 251 'location' => 'query', 252 'type' => 'string', 253 ), 254 'maxResults' => array( 255 'location' => 'query', 256 'type' => 'integer', 257 ), 258 'pageToken' => array( 259 'location' => 'query', 260 'type' => 'string', 261 ), 262 'sortOrder' => array( 263 'location' => 'query', 264 'type' => 'string', 265 ), 266 'query' => array( 267 'location' => 'query', 268 'type' => 'string', 269 ), 270 ), 271 ),'patch' => array( 272 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}', 273 'httpMethod' => 'PATCH', 274 'parameters' => array( 275 'customerId' => array( 276 'location' => 'path', 277 'type' => 'string', 278 'required' => true, 279 ), 280 'deviceId' => array( 281 'location' => 'path', 282 'type' => 'string', 283 'required' => true, 284 ), 285 'projection' => array( 286 'location' => 'query', 287 'type' => 'string', 288 ), 289 ), 290 ),'update' => array( 291 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}', 292 'httpMethod' => 'PUT', 293 'parameters' => array( 294 'customerId' => array( 295 'location' => 'path', 296 'type' => 'string', 297 'required' => true, 298 ), 299 'deviceId' => array( 300 'location' => 'path', 301 'type' => 'string', 302 'required' => true, 303 ), 304 'projection' => array( 305 'location' => 'query', 306 'type' => 'string', 307 ), 308 ), 309 ), 310 ) 311 ) 312 ); 313 $this->customers = new Google_Service_Directory_Customers_Resource( 314 $this, 315 $this->serviceName, 316 'customers', 317 array( 318 'methods' => array( 319 'get' => array( 320 'path' => 'customers/{customerKey}', 321 'httpMethod' => 'GET', 322 'parameters' => array( 323 'customerKey' => array( 324 'location' => 'path', 325 'type' => 'string', 326 'required' => true, 327 ), 328 ), 329 ),'patch' => array( 330 'path' => 'customers/{customerKey}', 331 'httpMethod' => 'PATCH', 332 'parameters' => array( 333 'customerKey' => array( 334 'location' => 'path', 335 'type' => 'string', 336 'required' => true, 337 ), 338 ), 339 ),'update' => array( 340 'path' => 'customers/{customerKey}', 341 'httpMethod' => 'PUT', 342 'parameters' => array( 343 'customerKey' => array( 344 'location' => 'path', 345 'type' => 'string', 346 'required' => true, 347 ), 348 ), 349 ), 350 ) 351 ) 352 ); 353 $this->domainAliases = new Google_Service_Directory_DomainAliases_Resource( 354 $this, 355 $this->serviceName, 356 'domainAliases', 357 array( 358 'methods' => array( 359 'delete' => array( 360 'path' => 'customer/{customer}/domainaliases/{domainAliasName}', 361 'httpMethod' => 'DELETE', 362 'parameters' => array( 363 'customer' => array( 364 'location' => 'path', 365 'type' => 'string', 366 'required' => true, 367 ), 368 'domainAliasName' => array( 369 'location' => 'path', 370 'type' => 'string', 371 'required' => true, 372 ), 373 ), 374 ),'get' => array( 375 'path' => 'customer/{customer}/domainaliases/{domainAliasName}', 376 'httpMethod' => 'GET', 377 'parameters' => array( 378 'customer' => array( 379 'location' => 'path', 380 'type' => 'string', 381 'required' => true, 382 ), 383 'domainAliasName' => array( 384 'location' => 'path', 385 'type' => 'string', 386 'required' => true, 387 ), 388 ), 389 ),'insert' => array( 390 'path' => 'customer/{customer}/domainaliases', 391 'httpMethod' => 'POST', 392 'parameters' => array( 393 'customer' => array( 394 'location' => 'path', 395 'type' => 'string', 396 'required' => true, 397 ), 398 ), 399 ),'list' => array( 400 'path' => 'customer/{customer}/domainaliases', 401 'httpMethod' => 'GET', 402 'parameters' => array( 403 'customer' => array( 404 'location' => 'path', 405 'type' => 'string', 406 'required' => true, 407 ), 408 'parentDomainName' => array( 409 'location' => 'query', 410 'type' => 'string', 411 ), 412 ), 413 ), 414 ) 415 ) 416 ); 417 $this->domains = new Google_Service_Directory_Domains_Resource( 418 $this, 419 $this->serviceName, 420 'domains', 421 array( 422 'methods' => array( 423 'delete' => array( 424 'path' => 'customer/{customer}/domains/{domainName}', 425 'httpMethod' => 'DELETE', 426 'parameters' => array( 427 'customer' => array( 428 'location' => 'path', 429 'type' => 'string', 430 'required' => true, 431 ), 432 'domainName' => array( 433 'location' => 'path', 434 'type' => 'string', 435 'required' => true, 436 ), 437 ), 438 ),'get' => array( 439 'path' => 'customer/{customer}/domains/{domainName}', 440 'httpMethod' => 'GET', 441 'parameters' => array( 442 'customer' => array( 443 'location' => 'path', 444 'type' => 'string', 445 'required' => true, 446 ), 447 'domainName' => array( 448 'location' => 'path', 449 'type' => 'string', 450 'required' => true, 451 ), 452 ), 453 ),'insert' => array( 454 'path' => 'customer/{customer}/domains', 455 'httpMethod' => 'POST', 456 'parameters' => array( 457 'customer' => array( 458 'location' => 'path', 459 'type' => 'string', 460 'required' => true, 461 ), 462 ), 463 ),'list' => array( 464 'path' => 'customer/{customer}/domains', 465 'httpMethod' => 'GET', 466 'parameters' => array( 467 'customer' => array( 468 'location' => 'path', 469 'type' => 'string', 470 'required' => true, 471 ), 472 ), 473 ), 474 ) 475 ) 476 ); 477 $this->groups = new Google_Service_Directory_Groups_Resource( 478 $this, 479 $this->serviceName, 480 'groups', 481 array( 482 'methods' => array( 483 'delete' => array( 484 'path' => 'groups/{groupKey}', 485 'httpMethod' => 'DELETE', 486 'parameters' => array( 487 'groupKey' => array( 488 'location' => 'path', 489 'type' => 'string', 490 'required' => true, 491 ), 492 ), 493 ),'get' => array( 494 'path' => 'groups/{groupKey}', 495 'httpMethod' => 'GET', 496 'parameters' => array( 497 'groupKey' => array( 498 'location' => 'path', 499 'type' => 'string', 500 'required' => true, 501 ), 502 ), 503 ),'insert' => array( 504 'path' => 'groups', 505 'httpMethod' => 'POST', 506 'parameters' => array(), 507 ),'list' => array( 508 'path' => 'groups', 509 'httpMethod' => 'GET', 510 'parameters' => array( 511 'customer' => array( 512 'location' => 'query', 513 'type' => 'string', 514 ), 515 'pageToken' => array( 516 'location' => 'query', 517 'type' => 'string', 518 ), 519 'domain' => array( 520 'location' => 'query', 521 'type' => 'string', 522 ), 523 'maxResults' => array( 524 'location' => 'query', 525 'type' => 'integer', 526 ), 527 'userKey' => array( 528 'location' => 'query', 529 'type' => 'string', 530 ), 531 ), 532 ),'patch' => array( 533 'path' => 'groups/{groupKey}', 534 'httpMethod' => 'PATCH', 535 'parameters' => array( 536 'groupKey' => array( 537 'location' => 'path', 538 'type' => 'string', 539 'required' => true, 540 ), 541 ), 542 ),'update' => array( 543 'path' => 'groups/{groupKey}', 544 'httpMethod' => 'PUT', 545 'parameters' => array( 546 'groupKey' => array( 547 'location' => 'path', 548 'type' => 'string', 549 'required' => true, 550 ), 551 ), 552 ), 553 ) 554 ) 555 ); 556 $this->groups_aliases = new Google_Service_Directory_GroupsAliases_Resource( 557 $this, 558 $this->serviceName, 559 'aliases', 560 array( 561 'methods' => array( 562 'delete' => array( 563 'path' => 'groups/{groupKey}/aliases/{alias}', 564 'httpMethod' => 'DELETE', 565 'parameters' => array( 566 'groupKey' => array( 567 'location' => 'path', 568 'type' => 'string', 569 'required' => true, 570 ), 571 'alias' => array( 572 'location' => 'path', 573 'type' => 'string', 574 'required' => true, 575 ), 576 ), 577 ),'insert' => array( 578 'path' => 'groups/{groupKey}/aliases', 579 'httpMethod' => 'POST', 580 'parameters' => array( 581 'groupKey' => array( 582 'location' => 'path', 583 'type' => 'string', 584 'required' => true, 585 ), 586 ), 587 ),'list' => array( 588 'path' => 'groups/{groupKey}/aliases', 589 'httpMethod' => 'GET', 590 'parameters' => array( 591 'groupKey' => array( 592 'location' => 'path', 593 'type' => 'string', 594 'required' => true, 595 ), 596 ), 597 ), 598 ) 599 ) 600 ); 601 $this->members = new Google_Service_Directory_Members_Resource( 602 $this, 603 $this->serviceName, 604 'members', 605 array( 606 'methods' => array( 607 'delete' => array( 608 'path' => 'groups/{groupKey}/members/{memberKey}', 609 'httpMethod' => 'DELETE', 610 'parameters' => array( 611 'groupKey' => array( 612 'location' => 'path', 613 'type' => 'string', 614 'required' => true, 615 ), 616 'memberKey' => array( 617 'location' => 'path', 618 'type' => 'string', 619 'required' => true, 620 ), 621 ), 622 ),'get' => array( 623 'path' => 'groups/{groupKey}/members/{memberKey}', 624 'httpMethod' => 'GET', 625 'parameters' => array( 626 'groupKey' => array( 627 'location' => 'path', 628 'type' => 'string', 629 'required' => true, 630 ), 631 'memberKey' => array( 632 'location' => 'path', 633 'type' => 'string', 634 'required' => true, 635 ), 636 ), 637 ),'insert' => array( 638 'path' => 'groups/{groupKey}/members', 639 'httpMethod' => 'POST', 640 'parameters' => array( 641 'groupKey' => array( 642 'location' => 'path', 643 'type' => 'string', 644 'required' => true, 645 ), 646 ), 647 ),'list' => array( 648 'path' => 'groups/{groupKey}/members', 649 'httpMethod' => 'GET', 650 'parameters' => array( 651 'groupKey' => array( 652 'location' => 'path', 653 'type' => 'string', 654 'required' => true, 655 ), 656 'pageToken' => array( 657 'location' => 'query', 658 'type' => 'string', 659 ), 660 'roles' => array( 661 'location' => 'query', 662 'type' => 'string', 663 ), 664 'maxResults' => array( 665 'location' => 'query', 666 'type' => 'integer', 667 ), 668 ), 669 ),'patch' => array( 670 'path' => 'groups/{groupKey}/members/{memberKey}', 671 'httpMethod' => 'PATCH', 672 'parameters' => array( 673 'groupKey' => array( 674 'location' => 'path', 675 'type' => 'string', 676 'required' => true, 677 ), 678 'memberKey' => array( 679 'location' => 'path', 680 'type' => 'string', 681 'required' => true, 682 ), 683 ), 684 ),'update' => array( 685 'path' => 'groups/{groupKey}/members/{memberKey}', 686 'httpMethod' => 'PUT', 687 'parameters' => array( 688 'groupKey' => array( 689 'location' => 'path', 690 'type' => 'string', 691 'required' => true, 692 ), 693 'memberKey' => array( 694 'location' => 'path', 695 'type' => 'string', 696 'required' => true, 697 ), 698 ), 699 ), 700 ) 701 ) 702 ); 703 $this->mobiledevices = new Google_Service_Directory_Mobiledevices_Resource( 704 $this, 705 $this->serviceName, 706 'mobiledevices', 707 array( 708 'methods' => array( 709 'action' => array( 710 'path' => 'customer/{customerId}/devices/mobile/{resourceId}/action', 711 'httpMethod' => 'POST', 712 'parameters' => array( 713 'customerId' => array( 714 'location' => 'path', 715 'type' => 'string', 716 'required' => true, 717 ), 718 'resourceId' => array( 719 'location' => 'path', 720 'type' => 'string', 721 'required' => true, 722 ), 723 ), 724 ),'delete' => array( 725 'path' => 'customer/{customerId}/devices/mobile/{resourceId}', 726 'httpMethod' => 'DELETE', 727 'parameters' => array( 728 'customerId' => array( 729 'location' => 'path', 730 'type' => 'string', 731 'required' => true, 732 ), 733 'resourceId' => array( 734 'location' => 'path', 735 'type' => 'string', 736 'required' => true, 737 ), 738 ), 739 ),'get' => array( 740 'path' => 'customer/{customerId}/devices/mobile/{resourceId}', 741 'httpMethod' => 'GET', 742 'parameters' => array( 743 'customerId' => array( 744 'location' => 'path', 745 'type' => 'string', 746 'required' => true, 747 ), 748 'resourceId' => array( 749 'location' => 'path', 750 'type' => 'string', 751 'required' => true, 752 ), 753 'projection' => array( 754 'location' => 'query', 755 'type' => 'string', 756 ), 757 ), 758 ),'list' => array( 759 'path' => 'customer/{customerId}/devices/mobile', 760 'httpMethod' => 'GET', 761 'parameters' => array( 762 'customerId' => array( 763 'location' => 'path', 764 'type' => 'string', 765 'required' => true, 766 ), 767 'orderBy' => array( 768 'location' => 'query', 769 'type' => 'string', 770 ), 771 'projection' => array( 772 'location' => 'query', 773 'type' => 'string', 774 ), 775 'maxResults' => array( 776 'location' => 'query', 777 'type' => 'integer', 778 ), 779 'pageToken' => array( 780 'location' => 'query', 781 'type' => 'string', 782 ), 783 'sortOrder' => array( 784 'location' => 'query', 785 'type' => 'string', 786 ), 787 'query' => array( 788 'location' => 'query', 789 'type' => 'string', 790 ), 791 ), 792 ), 793 ) 794 ) 795 ); 796 $this->notifications = new Google_Service_Directory_Notifications_Resource( 797 $this, 798 $this->serviceName, 799 'notifications', 800 array( 801 'methods' => array( 802 'delete' => array( 803 'path' => 'customer/{customer}/notifications/{notificationId}', 804 'httpMethod' => 'DELETE', 805 'parameters' => array( 806 'customer' => array( 807 'location' => 'path', 808 'type' => 'string', 809 'required' => true, 810 ), 811 'notificationId' => array( 812 'location' => 'path', 813 'type' => 'string', 814 'required' => true, 815 ), 816 ), 817 ),'get' => array( 818 'path' => 'customer/{customer}/notifications/{notificationId}', 819 'httpMethod' => 'GET', 820 'parameters' => array( 821 'customer' => array( 822 'location' => 'path', 823 'type' => 'string', 824 'required' => true, 825 ), 826 'notificationId' => array( 827 'location' => 'path', 828 'type' => 'string', 829 'required' => true, 830 ), 831 ), 832 ),'list' => array( 833 'path' => 'customer/{customer}/notifications', 834 'httpMethod' => 'GET', 835 'parameters' => array( 836 'customer' => array( 837 'location' => 'path', 838 'type' => 'string', 839 'required' => true, 840 ), 841 'pageToken' => array( 842 'location' => 'query', 843 'type' => 'string', 844 ), 845 'maxResults' => array( 846 'location' => 'query', 847 'type' => 'integer', 848 ), 849 'language' => array( 850 'location' => 'query', 851 'type' => 'string', 852 ), 853 ), 854 ),'patch' => array( 855 'path' => 'customer/{customer}/notifications/{notificationId}', 856 'httpMethod' => 'PATCH', 857 'parameters' => array( 858 'customer' => array( 859 'location' => 'path', 860 'type' => 'string', 861 'required' => true, 862 ), 863 'notificationId' => array( 864 'location' => 'path', 865 'type' => 'string', 866 'required' => true, 867 ), 868 ), 869 ),'update' => array( 870 'path' => 'customer/{customer}/notifications/{notificationId}', 871 'httpMethod' => 'PUT', 872 'parameters' => array( 873 'customer' => array( 874 'location' => 'path', 875 'type' => 'string', 876 'required' => true, 877 ), 878 'notificationId' => array( 879 'location' => 'path', 880 'type' => 'string', 881 'required' => true, 882 ), 883 ), 884 ), 885 ) 886 ) 887 ); 888 $this->orgunits = new Google_Service_Directory_Orgunits_Resource( 889 $this, 890 $this->serviceName, 891 'orgunits', 892 array( 893 'methods' => array( 894 'delete' => array( 895 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', 896 'httpMethod' => 'DELETE', 897 'parameters' => array( 898 'customerId' => array( 899 'location' => 'path', 900 'type' => 'string', 901 'required' => true, 902 ), 903 'orgUnitPath' => array( 904 'location' => 'path', 905 'type' => 'string', 906 'repeated' => true, 907 'required' => true, 908 ), 909 ), 910 ),'get' => array( 911 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', 912 'httpMethod' => 'GET', 913 'parameters' => array( 914 'customerId' => array( 915 'location' => 'path', 916 'type' => 'string', 917 'required' => true, 918 ), 919 'orgUnitPath' => array( 920 'location' => 'path', 921 'type' => 'string', 922 'repeated' => true, 923 'required' => true, 924 ), 925 ), 926 ),'insert' => array( 927 'path' => 'customer/{customerId}/orgunits', 928 'httpMethod' => 'POST', 929 'parameters' => array( 930 'customerId' => array( 931 'location' => 'path', 932 'type' => 'string', 933 'required' => true, 934 ), 935 ), 936 ),'list' => array( 937 'path' => 'customer/{customerId}/orgunits', 938 'httpMethod' => 'GET', 939 'parameters' => array( 940 'customerId' => array( 941 'location' => 'path', 942 'type' => 'string', 943 'required' => true, 944 ), 945 'type' => array( 946 'location' => 'query', 947 'type' => 'string', 948 ), 949 'orgUnitPath' => array( 950 'location' => 'query', 951 'type' => 'string', 952 ), 953 ), 954 ),'patch' => array( 955 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', 956 'httpMethod' => 'PATCH', 957 'parameters' => array( 958 'customerId' => array( 959 'location' => 'path', 960 'type' => 'string', 961 'required' => true, 962 ), 963 'orgUnitPath' => array( 964 'location' => 'path', 965 'type' => 'string', 966 'repeated' => true, 967 'required' => true, 968 ), 969 ), 970 ),'update' => array( 971 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', 972 'httpMethod' => 'PUT', 973 'parameters' => array( 974 'customerId' => array( 975 'location' => 'path', 976 'type' => 'string', 977 'required' => true, 978 ), 979 'orgUnitPath' => array( 980 'location' => 'path', 981 'type' => 'string', 982 'repeated' => true, 983 'required' => true, 984 ), 985 ), 986 ), 987 ) 988 ) 989 ); 990 $this->privileges = new Google_Service_Directory_Privileges_Resource( 991 $this, 992 $this->serviceName, 993 'privileges', 994 array( 995 'methods' => array( 996 'list' => array( 997 'path' => 'customer/{customer}/roles/ALL/privileges', 998 'httpMethod' => 'GET', 999 'parameters' => array( 1000 'customer' => array( 1001 'location' => 'path', 1002 'type' => 'string', 1003 'required' => true, 1004 ), 1005 ), 1006 ), 1007 ) 1008 ) 1009 ); 1010 $this->roleAssignments = new Google_Service_Directory_RoleAssignments_Resource( 1011 $this, 1012 $this->serviceName, 1013 'roleAssignments', 1014 array( 1015 'methods' => array( 1016 'delete' => array( 1017 'path' => 'customer/{customer}/roleassignments/{roleAssignmentId}', 1018 'httpMethod' => 'DELETE', 1019 'parameters' => array( 1020 'customer' => array( 1021 'location' => 'path', 1022 'type' => 'string', 1023 'required' => true, 1024 ), 1025 'roleAssignmentId' => array( 1026 'location' => 'path', 1027 'type' => 'string', 1028 'required' => true, 1029 ), 1030 ), 1031 ),'get' => array( 1032 'path' => 'customer/{customer}/roleassignments/{roleAssignmentId}', 1033 'httpMethod' => 'GET', 1034 'parameters' => array( 1035 'customer' => array( 1036 'location' => 'path', 1037 'type' => 'string', 1038 'required' => true, 1039 ), 1040 'roleAssignmentId' => array( 1041 'location' => 'path', 1042 'type' => 'string', 1043 'required' => true, 1044 ), 1045 ), 1046 ),'insert' => array( 1047 'path' => 'customer/{customer}/roleassignments', 1048 'httpMethod' => 'POST', 1049 'parameters' => array( 1050 'customer' => array( 1051 'location' => 'path', 1052 'type' => 'string', 1053 'required' => true, 1054 ), 1055 ), 1056 ),'list' => array( 1057 'path' => 'customer/{customer}/roleassignments', 1058 'httpMethod' => 'GET', 1059 'parameters' => array( 1060 'customer' => array( 1061 'location' => 'path', 1062 'type' => 'string', 1063 'required' => true, 1064 ), 1065 'pageToken' => array( 1066 'location' => 'query', 1067 'type' => 'string', 1068 ), 1069 'userKey' => array( 1070 'location' => 'query', 1071 'type' => 'string', 1072 ), 1073 'maxResults' => array( 1074 'location' => 'query', 1075 'type' => 'integer', 1076 ), 1077 'roleId' => array( 1078 'location' => 'query', 1079 'type' => 'string', 1080 ), 1081 ), 1082 ), 1083 ) 1084 ) 1085 ); 1086 $this->roles = new Google_Service_Directory_Roles_Resource( 1087 $this, 1088 $this->serviceName, 1089 'roles', 1090 array( 1091 'methods' => array( 1092 'delete' => array( 1093 'path' => 'customer/{customer}/roles/{roleId}', 1094 'httpMethod' => 'DELETE', 1095 'parameters' => array( 1096 'customer' => array( 1097 'location' => 'path', 1098 'type' => 'string', 1099 'required' => true, 1100 ), 1101 'roleId' => array( 1102 'location' => 'path', 1103 'type' => 'string', 1104 'required' => true, 1105 ), 1106 ), 1107 ),'get' => array( 1108 'path' => 'customer/{customer}/roles/{roleId}', 1109 'httpMethod' => 'GET', 1110 'parameters' => array( 1111 'customer' => array( 1112 'location' => 'path', 1113 'type' => 'string', 1114 'required' => true, 1115 ), 1116 'roleId' => array( 1117 'location' => 'path', 1118 'type' => 'string', 1119 'required' => true, 1120 ), 1121 ), 1122 ),'insert' => array( 1123 'path' => 'customer/{customer}/roles', 1124 'httpMethod' => 'POST', 1125 'parameters' => array( 1126 'customer' => array( 1127 'location' => 'path', 1128 'type' => 'string', 1129 'required' => true, 1130 ), 1131 ), 1132 ),'list' => array( 1133 'path' => 'customer/{customer}/roles', 1134 'httpMethod' => 'GET', 1135 'parameters' => array( 1136 'customer' => array( 1137 'location' => 'path', 1138 'type' => 'string', 1139 'required' => true, 1140 ), 1141 'pageToken' => array( 1142 'location' => 'query', 1143 'type' => 'string', 1144 ), 1145 'maxResults' => array( 1146 'location' => 'query', 1147 'type' => 'integer', 1148 ), 1149 ), 1150 ),'patch' => array( 1151 'path' => 'customer/{customer}/roles/{roleId}', 1152 'httpMethod' => 'PATCH', 1153 'parameters' => array( 1154 'customer' => array( 1155 'location' => 'path', 1156 'type' => 'string', 1157 'required' => true, 1158 ), 1159 'roleId' => array( 1160 'location' => 'path', 1161 'type' => 'string', 1162 'required' => true, 1163 ), 1164 ), 1165 ),'update' => array( 1166 'path' => 'customer/{customer}/roles/{roleId}', 1167 'httpMethod' => 'PUT', 1168 'parameters' => array( 1169 'customer' => array( 1170 'location' => 'path', 1171 'type' => 'string', 1172 'required' => true, 1173 ), 1174 'roleId' => array( 1175 'location' => 'path', 1176 'type' => 'string', 1177 'required' => true, 1178 ), 1179 ), 1180 ), 1181 ) 1182 ) 1183 ); 1184 $this->schemas = new Google_Service_Directory_Schemas_Resource( 1185 $this, 1186 $this->serviceName, 1187 'schemas', 1188 array( 1189 'methods' => array( 1190 'delete' => array( 1191 'path' => 'customer/{customerId}/schemas/{schemaKey}', 1192 'httpMethod' => 'DELETE', 1193 'parameters' => array( 1194 'customerId' => array( 1195 'location' => 'path', 1196 'type' => 'string', 1197 'required' => true, 1198 ), 1199 'schemaKey' => array( 1200 'location' => 'path', 1201 'type' => 'string', 1202 'required' => true, 1203 ), 1204 ), 1205 ),'get' => array( 1206 'path' => 'customer/{customerId}/schemas/{schemaKey}', 1207 'httpMethod' => 'GET', 1208 'parameters' => array( 1209 'customerId' => array( 1210 'location' => 'path', 1211 'type' => 'string', 1212 'required' => true, 1213 ), 1214 'schemaKey' => array( 1215 'location' => 'path', 1216 'type' => 'string', 1217 'required' => true, 1218 ), 1219 ), 1220 ),'insert' => array( 1221 'path' => 'customer/{customerId}/schemas', 1222 'httpMethod' => 'POST', 1223 'parameters' => array( 1224 'customerId' => array( 1225 'location' => 'path', 1226 'type' => 'string', 1227 'required' => true, 1228 ), 1229 ), 1230 ),'list' => array( 1231 'path' => 'customer/{customerId}/schemas', 1232 'httpMethod' => 'GET', 1233 'parameters' => array( 1234 'customerId' => array( 1235 'location' => 'path', 1236 'type' => 'string', 1237 'required' => true, 1238 ), 1239 ), 1240 ),'patch' => array( 1241 'path' => 'customer/{customerId}/schemas/{schemaKey}', 1242 'httpMethod' => 'PATCH', 1243 'parameters' => array( 1244 'customerId' => array( 1245 'location' => 'path', 1246 'type' => 'string', 1247 'required' => true, 1248 ), 1249 'schemaKey' => array( 1250 'location' => 'path', 1251 'type' => 'string', 1252 'required' => true, 1253 ), 1254 ), 1255 ),'update' => array( 1256 'path' => 'customer/{customerId}/schemas/{schemaKey}', 1257 'httpMethod' => 'PUT', 1258 'parameters' => array( 1259 'customerId' => array( 1260 'location' => 'path', 1261 'type' => 'string', 1262 'required' => true, 1263 ), 1264 'schemaKey' => array( 1265 'location' => 'path', 1266 'type' => 'string', 1267 'required' => true, 1268 ), 1269 ), 1270 ), 1271 ) 1272 ) 1273 ); 1274 $this->tokens = new Google_Service_Directory_Tokens_Resource( 1275 $this, 1276 $this->serviceName, 1277 'tokens', 1278 array( 1279 'methods' => array( 1280 'delete' => array( 1281 'path' => 'users/{userKey}/tokens/{clientId}', 1282 'httpMethod' => 'DELETE', 1283 'parameters' => array( 1284 'userKey' => array( 1285 'location' => 'path', 1286 'type' => 'string', 1287 'required' => true, 1288 ), 1289 'clientId' => array( 1290 'location' => 'path', 1291 'type' => 'string', 1292 'required' => true, 1293 ), 1294 ), 1295 ),'get' => array( 1296 'path' => 'users/{userKey}/tokens/{clientId}', 1297 'httpMethod' => 'GET', 1298 'parameters' => array( 1299 'userKey' => array( 1300 'location' => 'path', 1301 'type' => 'string', 1302 'required' => true, 1303 ), 1304 'clientId' => array( 1305 'location' => 'path', 1306 'type' => 'string', 1307 'required' => true, 1308 ), 1309 ), 1310 ),'list' => array( 1311 'path' => 'users/{userKey}/tokens', 1312 'httpMethod' => 'GET', 1313 'parameters' => array( 1314 'userKey' => array( 1315 'location' => 'path', 1316 'type' => 'string', 1317 'required' => true, 1318 ), 1319 ), 1320 ), 1321 ) 1322 ) 1323 ); 1324 $this->users = new Google_Service_Directory_Users_Resource( 1325 $this, 1326 $this->serviceName, 1327 'users', 1328 array( 1329 'methods' => array( 1330 'delete' => array( 1331 'path' => 'users/{userKey}', 1332 'httpMethod' => 'DELETE', 1333 'parameters' => array( 1334 'userKey' => array( 1335 'location' => 'path', 1336 'type' => 'string', 1337 'required' => true, 1338 ), 1339 ), 1340 ),'get' => array( 1341 'path' => 'users/{userKey}', 1342 'httpMethod' => 'GET', 1343 'parameters' => array( 1344 'userKey' => array( 1345 'location' => 'path', 1346 'type' => 'string', 1347 'required' => true, 1348 ), 1349 'viewType' => array( 1350 'location' => 'query', 1351 'type' => 'string', 1352 ), 1353 'customFieldMask' => array( 1354 'location' => 'query', 1355 'type' => 'string', 1356 ), 1357 'projection' => array( 1358 'location' => 'query', 1359 'type' => 'string', 1360 ), 1361 ), 1362 ),'insert' => array( 1363 'path' => 'users', 1364 'httpMethod' => 'POST', 1365 'parameters' => array(), 1366 ),'list' => array( 1367 'path' => 'users', 1368 'httpMethod' => 'GET', 1369 'parameters' => array( 1370 'customer' => array( 1371 'location' => 'query', 1372 'type' => 'string', 1373 ), 1374 'orderBy' => array( 1375 'location' => 'query', 1376 'type' => 'string', 1377 ), 1378 'domain' => array( 1379 'location' => 'query', 1380 'type' => 'string', 1381 ), 1382 'projection' => array( 1383 'location' => 'query', 1384 'type' => 'string', 1385 ), 1386 'showDeleted' => array( 1387 'location' => 'query', 1388 'type' => 'string', 1389 ), 1390 'customFieldMask' => array( 1391 'location' => 'query', 1392 'type' => 'string', 1393 ), 1394 'maxResults' => array( 1395 'location' => 'query', 1396 'type' => 'integer', 1397 ), 1398 'pageToken' => array( 1399 'location' => 'query', 1400 'type' => 'string', 1401 ), 1402 'sortOrder' => array( 1403 'location' => 'query', 1404 'type' => 'string', 1405 ), 1406 'query' => array( 1407 'location' => 'query', 1408 'type' => 'string', 1409 ), 1410 'viewType' => array( 1411 'location' => 'query', 1412 'type' => 'string', 1413 ), 1414 'event' => array( 1415 'location' => 'query', 1416 'type' => 'string', 1417 ), 1418 ), 1419 ),'makeAdmin' => array( 1420 'path' => 'users/{userKey}/makeAdmin', 1421 'httpMethod' => 'POST', 1422 'parameters' => array( 1423 'userKey' => array( 1424 'location' => 'path', 1425 'type' => 'string', 1426 'required' => true, 1427 ), 1428 ), 1429 ),'patch' => array( 1430 'path' => 'users/{userKey}', 1431 'httpMethod' => 'PATCH', 1432 'parameters' => array( 1433 'userKey' => array( 1434 'location' => 'path', 1435 'type' => 'string', 1436 'required' => true, 1437 ), 1438 ), 1439 ),'undelete' => array( 1440 'path' => 'users/{userKey}/undelete', 1441 'httpMethod' => 'POST', 1442 'parameters' => array( 1443 'userKey' => array( 1444 'location' => 'path', 1445 'type' => 'string', 1446 'required' => true, 1447 ), 1448 ), 1449 ),'update' => array( 1450 'path' => 'users/{userKey}', 1451 'httpMethod' => 'PUT', 1452 'parameters' => array( 1453 'userKey' => array( 1454 'location' => 'path', 1455 'type' => 'string', 1456 'required' => true, 1457 ), 1458 ), 1459 ),'watch' => array( 1460 'path' => 'users/watch', 1461 'httpMethod' => 'POST', 1462 'parameters' => array( 1463 'customer' => array( 1464 'location' => 'query', 1465 'type' => 'string', 1466 ), 1467 'orderBy' => array( 1468 'location' => 'query', 1469 'type' => 'string', 1470 ), 1471 'domain' => array( 1472 'location' => 'query', 1473 'type' => 'string', 1474 ), 1475 'projection' => array( 1476 'location' => 'query', 1477 'type' => 'string', 1478 ), 1479 'showDeleted' => array( 1480 'location' => 'query', 1481 'type' => 'string', 1482 ), 1483 'customFieldMask' => array( 1484 'location' => 'query', 1485 'type' => 'string', 1486 ), 1487 'maxResults' => array( 1488 'location' => 'query', 1489 'type' => 'integer', 1490 ), 1491 'pageToken' => array( 1492 'location' => 'query', 1493 'type' => 'string', 1494 ), 1495 'sortOrder' => array( 1496 'location' => 'query', 1497 'type' => 'string', 1498 ), 1499 'query' => array( 1500 'location' => 'query', 1501 'type' => 'string', 1502 ), 1503 'viewType' => array( 1504 'location' => 'query', 1505 'type' => 'string', 1506 ), 1507 'event' => array( 1508 'location' => 'query', 1509 'type' => 'string', 1510 ), 1511 ), 1512 ), 1513 ) 1514 ) 1515 ); 1516 $this->users_aliases = new Google_Service_Directory_UsersAliases_Resource( 1517 $this, 1518 $this->serviceName, 1519 'aliases', 1520 array( 1521 'methods' => array( 1522 'delete' => array( 1523 'path' => 'users/{userKey}/aliases/{alias}', 1524 'httpMethod' => 'DELETE', 1525 'parameters' => array( 1526 'userKey' => array( 1527 'location' => 'path', 1528 'type' => 'string', 1529 'required' => true, 1530 ), 1531 'alias' => array( 1532 'location' => 'path', 1533 'type' => 'string', 1534 'required' => true, 1535 ), 1536 ), 1537 ),'insert' => array( 1538 'path' => 'users/{userKey}/aliases', 1539 'httpMethod' => 'POST', 1540 'parameters' => array( 1541 'userKey' => array( 1542 'location' => 'path', 1543 'type' => 'string', 1544 'required' => true, 1545 ), 1546 ), 1547 ),'list' => array( 1548 'path' => 'users/{userKey}/aliases', 1549 'httpMethod' => 'GET', 1550 'parameters' => array( 1551 'userKey' => array( 1552 'location' => 'path', 1553 'type' => 'string', 1554 'required' => true, 1555 ), 1556 'event' => array( 1557 'location' => 'query', 1558 'type' => 'string', 1559 ), 1560 ), 1561 ),'watch' => array( 1562 'path' => 'users/{userKey}/aliases/watch', 1563 'httpMethod' => 'POST', 1564 'parameters' => array( 1565 'userKey' => array( 1566 'location' => 'path', 1567 'type' => 'string', 1568 'required' => true, 1569 ), 1570 'event' => array( 1571 'location' => 'query', 1572 'type' => 'string', 1573 ), 1574 ), 1575 ), 1576 ) 1577 ) 1578 ); 1579 $this->users_photos = new Google_Service_Directory_UsersPhotos_Resource( 1580 $this, 1581 $this->serviceName, 1582 'photos', 1583 array( 1584 'methods' => array( 1585 'delete' => array( 1586 'path' => 'users/{userKey}/photos/thumbnail', 1587 'httpMethod' => 'DELETE', 1588 'parameters' => array( 1589 'userKey' => array( 1590 'location' => 'path', 1591 'type' => 'string', 1592 'required' => true, 1593 ), 1594 ), 1595 ),'get' => array( 1596 'path' => 'users/{userKey}/photos/thumbnail', 1597 'httpMethod' => 'GET', 1598 'parameters' => array( 1599 'userKey' => array( 1600 'location' => 'path', 1601 'type' => 'string', 1602 'required' => true, 1603 ), 1604 ), 1605 ),'patch' => array( 1606 'path' => 'users/{userKey}/photos/thumbnail', 1607 'httpMethod' => 'PATCH', 1608 'parameters' => array( 1609 'userKey' => array( 1610 'location' => 'path', 1611 'type' => 'string', 1612 'required' => true, 1613 ), 1614 ), 1615 ),'update' => array( 1616 'path' => 'users/{userKey}/photos/thumbnail', 1617 'httpMethod' => 'PUT', 1618 'parameters' => array( 1619 'userKey' => array( 1620 'location' => 'path', 1621 'type' => 'string', 1622 'required' => true, 1623 ), 1624 ), 1625 ), 1626 ) 1627 ) 1628 ); 1629 $this->verificationCodes = new Google_Service_Directory_VerificationCodes_Resource( 1630 $this, 1631 $this->serviceName, 1632 'verificationCodes', 1633 array( 1634 'methods' => array( 1635 'generate' => array( 1636 'path' => 'users/{userKey}/verificationCodes/generate', 1637 'httpMethod' => 'POST', 1638 'parameters' => array( 1639 'userKey' => array( 1640 'location' => 'path', 1641 'type' => 'string', 1642 'required' => true, 1643 ), 1644 ), 1645 ),'invalidate' => array( 1646 'path' => 'users/{userKey}/verificationCodes/invalidate', 1647 'httpMethod' => 'POST', 1648 'parameters' => array( 1649 'userKey' => array( 1650 'location' => 'path', 1651 'type' => 'string', 1652 'required' => true, 1653 ), 1654 ), 1655 ),'list' => array( 1656 'path' => 'users/{userKey}/verificationCodes', 1657 'httpMethod' => 'GET', 1658 'parameters' => array( 1659 'userKey' => array( 1660 'location' => 'path', 1661 'type' => 'string', 1662 'required' => true, 1663 ), 1664 ), 1665 ), 1666 ) 1667 ) 1668 ); 1669 } 1670 } 1671 1672 1673 /** 1674 * The "asps" collection of methods. 1675 * Typical usage is: 1676 * <code> 1677 * $adminService = new Google_Service_Directory(...); 1678 * $asps = $adminService->asps; 1679 * </code> 1680 */ 1681 #[AllowDynamicProperties] 1682 class Google_Service_Directory_Asps_Resource extends Google_Service_Resource 1683 { 1684 1685 /** 1686 * Delete an ASP issued by a user. (asps.delete) 1687 * 1688 * @param string $userKey Identifies the user in the API request. The value can 1689 * be the user's primary email address, alias email address, or unique user ID. 1690 * @param int $codeId The unique ID of the ASP to be deleted. 1691 * @param array $optParams Optional parameters. 1692 */ 1693 public function delete($userKey, $codeId, $optParams = array()) 1694 { 1695 $params = array('userKey' => $userKey, 'codeId' => $codeId); 1696 $params = array_merge($params, $optParams); 1697 return $this->call('delete', array($params)); 1698 } 1699 1700 /** 1701 * Get information about an ASP issued by a user. (asps.get) 1702 * 1703 * @param string $userKey Identifies the user in the API request. The value can 1704 * be the user's primary email address, alias email address, or unique user ID. 1705 * @param int $codeId The unique ID of the ASP. 1706 * @param array $optParams Optional parameters. 1707 * @return Google_Service_Directory_Asp 1708 */ 1709 public function get($userKey, $codeId, $optParams = array()) 1710 { 1711 $params = array('userKey' => $userKey, 'codeId' => $codeId); 1712 $params = array_merge($params, $optParams); 1713 return $this->call('get', array($params), "Google_Service_Directory_Asp"); 1714 } 1715 1716 /** 1717 * List the ASPs issued by a user. (asps.listAsps) 1718 * 1719 * @param string $userKey Identifies the user in the API request. The value can 1720 * be the user's primary email address, alias email address, or unique user ID. 1721 * @param array $optParams Optional parameters. 1722 * @return Google_Service_Directory_Asps 1723 */ 1724 public function listAsps($userKey, $optParams = array()) 1725 { 1726 $params = array('userKey' => $userKey); 1727 $params = array_merge($params, $optParams); 1728 return $this->call('list', array($params), "Google_Service_Directory_Asps"); 1729 } 1730 } 1731 1732 /** 1733 * The "channels" collection of methods. 1734 * Typical usage is: 1735 * <code> 1736 * $adminService = new Google_Service_Directory(...); 1737 * $channels = $adminService->channels; 1738 * </code> 1739 */ 1740 #[AllowDynamicProperties] 1741 class Google_Service_Directory_Channels_Resource extends Google_Service_Resource 1742 { 1743 1744 /** 1745 * Stop watching resources through this channel (channels.stop) 1746 * 1747 * @param Google_Channel $postBody 1748 * @param array $optParams Optional parameters. 1749 */ 1750 public function stop(Google_Service_Directory_Channel $postBody, $optParams = array()) 1751 { 1752 $params = array('postBody' => $postBody); 1753 $params = array_merge($params, $optParams); 1754 return $this->call('stop', array($params)); 1755 } 1756 } 1757 1758 /** 1759 * The "chromeosdevices" collection of methods. 1760 * Typical usage is: 1761 * <code> 1762 * $adminService = new Google_Service_Directory(...); 1763 * $chromeosdevices = $adminService->chromeosdevices; 1764 * </code> 1765 */ 1766 #[AllowDynamicProperties] 1767 class Google_Service_Directory_Chromeosdevices_Resource extends Google_Service_Resource 1768 { 1769 1770 /** 1771 * Retrieve Chrome OS Device (chromeosdevices.get) 1772 * 1773 * @param string $customerId Immutable id of the Google Apps account 1774 * @param string $deviceId Immutable id of Chrome OS Device 1775 * @param array $optParams Optional parameters. 1776 * 1777 * @opt_param string projection Restrict information returned to a set of 1778 * selected fields. 1779 * @return Google_Service_Directory_ChromeOsDevice 1780 */ 1781 public function get($customerId, $deviceId, $optParams = array()) 1782 { 1783 $params = array('customerId' => $customerId, 'deviceId' => $deviceId); 1784 $params = array_merge($params, $optParams); 1785 return $this->call('get', array($params), "Google_Service_Directory_ChromeOsDevice"); 1786 } 1787 1788 /** 1789 * Retrieve all Chrome OS Devices of a customer (paginated) 1790 * (chromeosdevices.listChromeosdevices) 1791 * 1792 * @param string $customerId Immutable id of the Google Apps account 1793 * @param array $optParams Optional parameters. 1794 * 1795 * @opt_param string orderBy Column to use for sorting results 1796 * @opt_param string projection Restrict information returned to a set of 1797 * selected fields. 1798 * @opt_param int maxResults Maximum number of results to return. Default is 100 1799 * @opt_param string pageToken Token to specify next page in the list 1800 * @opt_param string sortOrder Whether to return results in ascending or 1801 * descending order. Only of use when orderBy is also used 1802 * @opt_param string query Search string in the format given at 1803 * http://support.google.com/chromeos/a/bin/answer.py?hl=en=1698333 1804 * @return Google_Service_Directory_ChromeOsDevices 1805 */ 1806 public function listChromeosdevices($customerId, $optParams = array()) 1807 { 1808 $params = array('customerId' => $customerId); 1809 $params = array_merge($params, $optParams); 1810 return $this->call('list', array($params), "Google_Service_Directory_ChromeOsDevices"); 1811 } 1812 1813 /** 1814 * Update Chrome OS Device. This method supports patch semantics. 1815 * (chromeosdevices.patch) 1816 * 1817 * @param string $customerId Immutable id of the Google Apps account 1818 * @param string $deviceId Immutable id of Chrome OS Device 1819 * @param Google_ChromeOsDevice $postBody 1820 * @param array $optParams Optional parameters. 1821 * 1822 * @opt_param string projection Restrict information returned to a set of 1823 * selected fields. 1824 * @return Google_Service_Directory_ChromeOsDevice 1825 */ 1826 public function patch($customerId, $deviceId, Google_Service_Directory_ChromeOsDevice $postBody, $optParams = array()) 1827 { 1828 $params = array('customerId' => $customerId, 'deviceId' => $deviceId, 'postBody' => $postBody); 1829 $params = array_merge($params, $optParams); 1830 return $this->call('patch', array($params), "Google_Service_Directory_ChromeOsDevice"); 1831 } 1832 1833 /** 1834 * Update Chrome OS Device (chromeosdevices.update) 1835 * 1836 * @param string $customerId Immutable id of the Google Apps account 1837 * @param string $deviceId Immutable id of Chrome OS Device 1838 * @param Google_ChromeOsDevice $postBody 1839 * @param array $optParams Optional parameters. 1840 * 1841 * @opt_param string projection Restrict information returned to a set of 1842 * selected fields. 1843 * @return Google_Service_Directory_ChromeOsDevice 1844 */ 1845 public function update($customerId, $deviceId, Google_Service_Directory_ChromeOsDevice $postBody, $optParams = array()) 1846 { 1847 $params = array('customerId' => $customerId, 'deviceId' => $deviceId, 'postBody' => $postBody); 1848 $params = array_merge($params, $optParams); 1849 return $this->call('update', array($params), "Google_Service_Directory_ChromeOsDevice"); 1850 } 1851 } 1852 1853 /** 1854 * The "customers" collection of methods. 1855 * Typical usage is: 1856 * <code> 1857 * $adminService = new Google_Service_Directory(...); 1858 * $customers = $adminService->customers; 1859 * </code> 1860 */ 1861 #[AllowDynamicProperties] 1862 class Google_Service_Directory_Customers_Resource extends Google_Service_Resource 1863 { 1864 1865 /** 1866 * Retrives a customer. (customers.get) 1867 * 1868 * @param string $customerKey Id of the customer to be retrieved 1869 * @param array $optParams Optional parameters. 1870 * @return Google_Service_Directory_Customer 1871 */ 1872 public function get($customerKey, $optParams = array()) 1873 { 1874 $params = array('customerKey' => $customerKey); 1875 $params = array_merge($params, $optParams); 1876 return $this->call('get', array($params), "Google_Service_Directory_Customer"); 1877 } 1878 1879 /** 1880 * Updates a customer. This method supports patch semantics. (customers.patch) 1881 * 1882 * @param string $customerKey Id of the customer to be updated 1883 * @param Google_Customer $postBody 1884 * @param array $optParams Optional parameters. 1885 * @return Google_Service_Directory_Customer 1886 */ 1887 public function patch($customerKey, Google_Service_Directory_Customer $postBody, $optParams = array()) 1888 { 1889 $params = array('customerKey' => $customerKey, 'postBody' => $postBody); 1890 $params = array_merge($params, $optParams); 1891 return $this->call('patch', array($params), "Google_Service_Directory_Customer"); 1892 } 1893 1894 /** 1895 * Updates a customer. (customers.update) 1896 * 1897 * @param string $customerKey Id of the customer to be updated 1898 * @param Google_Customer $postBody 1899 * @param array $optParams Optional parameters. 1900 * @return Google_Service_Directory_Customer 1901 */ 1902 public function update($customerKey, Google_Service_Directory_Customer $postBody, $optParams = array()) 1903 { 1904 $params = array('customerKey' => $customerKey, 'postBody' => $postBody); 1905 $params = array_merge($params, $optParams); 1906 return $this->call('update', array($params), "Google_Service_Directory_Customer"); 1907 } 1908 } 1909 1910 /** 1911 * The "domainAliases" collection of methods. 1912 * Typical usage is: 1913 * <code> 1914 * $adminService = new Google_Service_Directory(...); 1915 * $domainAliases = $adminService->domainAliases; 1916 * </code> 1917 */ 1918 #[AllowDynamicProperties] 1919 class Google_Service_Directory_DomainAliases_Resource extends Google_Service_Resource 1920 { 1921 1922 /** 1923 * Deletes a Domain Alias of the customer. (domainAliases.delete) 1924 * 1925 * @param string $customer Immutable id of the Google Apps account. 1926 * @param string $domainAliasName Name of domain alias to be retrieved. 1927 * @param array $optParams Optional parameters. 1928 */ 1929 public function delete($customer, $domainAliasName, $optParams = array()) 1930 { 1931 $params = array('customer' => $customer, 'domainAliasName' => $domainAliasName); 1932 $params = array_merge($params, $optParams); 1933 return $this->call('delete', array($params)); 1934 } 1935 1936 /** 1937 * Retrieves a domain alias of the customer. (domainAliases.get) 1938 * 1939 * @param string $customer Immutable id of the Google Apps account. 1940 * @param string $domainAliasName Name of domain alias to be retrieved. 1941 * @param array $optParams Optional parameters. 1942 * @return Google_Service_Directory_DomainAlias 1943 */ 1944 public function get($customer, $domainAliasName, $optParams = array()) 1945 { 1946 $params = array('customer' => $customer, 'domainAliasName' => $domainAliasName); 1947 $params = array_merge($params, $optParams); 1948 return $this->call('get', array($params), "Google_Service_Directory_DomainAlias"); 1949 } 1950 1951 /** 1952 * Inserts a Domain alias of the customer. (domainAliases.insert) 1953 * 1954 * @param string $customer Immutable id of the Google Apps account. 1955 * @param Google_DomainAlias $postBody 1956 * @param array $optParams Optional parameters. 1957 * @return Google_Service_Directory_DomainAlias 1958 */ 1959 public function insert($customer, Google_Service_Directory_DomainAlias $postBody, $optParams = array()) 1960 { 1961 $params = array('customer' => $customer, 'postBody' => $postBody); 1962 $params = array_merge($params, $optParams); 1963 return $this->call('insert', array($params), "Google_Service_Directory_DomainAlias"); 1964 } 1965 1966 /** 1967 * Lists the domain aliases of the customer. (domainAliases.listDomainAliases) 1968 * 1969 * @param string $customer Immutable id of the Google Apps account. 1970 * @param array $optParams Optional parameters. 1971 * 1972 * @opt_param string parentDomainName Name of the parent domain for which domain 1973 * aliases are to be fetched. 1974 * @return Google_Service_Directory_DomainAliases 1975 */ 1976 public function listDomainAliases($customer, $optParams = array()) 1977 { 1978 $params = array('customer' => $customer); 1979 $params = array_merge($params, $optParams); 1980 return $this->call('list', array($params), "Google_Service_Directory_DomainAliases"); 1981 } 1982 } 1983 1984 /** 1985 * The "domains" collection of methods. 1986 * Typical usage is: 1987 * <code> 1988 * $adminService = new Google_Service_Directory(...); 1989 * $domains = $adminService->domains; 1990 * </code> 1991 */ 1992 #[AllowDynamicProperties] 1993 class Google_Service_Directory_Domains_Resource extends Google_Service_Resource 1994 { 1995 1996 /** 1997 * Deletes a domain of the customer. (domains.delete) 1998 * 1999 * @param string $customer Immutable id of the Google Apps account. 2000 * @param string $domainName Name of domain to be deleted 2001 * @param array $optParams Optional parameters. 2002 */ 2003 public function delete($customer, $domainName, $optParams = array()) 2004 { 2005 $params = array('customer' => $customer, 'domainName' => $domainName); 2006 $params = array_merge($params, $optParams); 2007 return $this->call('delete', array($params)); 2008 } 2009 2010 /** 2011 * Retrives a domain of the customer. (domains.get) 2012 * 2013 * @param string $customer Immutable id of the Google Apps account. 2014 * @param string $domainName Name of domain to be retrieved 2015 * @param array $optParams Optional parameters. 2016 * @return Google_Service_Directory_Domains 2017 */ 2018 public function get($customer, $domainName, $optParams = array()) 2019 { 2020 $params = array('customer' => $customer, 'domainName' => $domainName); 2021 $params = array_merge($params, $optParams); 2022 return $this->call('get', array($params), "Google_Service_Directory_Domains"); 2023 } 2024 2025 /** 2026 * Inserts a domain of the customer. (domains.insert) 2027 * 2028 * @param string $customer Immutable id of the Google Apps account. 2029 * @param Google_Domains $postBody 2030 * @param array $optParams Optional parameters. 2031 * @return Google_Service_Directory_Domains 2032 */ 2033 public function insert($customer, Google_Service_Directory_Domains $postBody, $optParams = array()) 2034 { 2035 $params = array('customer' => $customer, 'postBody' => $postBody); 2036 $params = array_merge($params, $optParams); 2037 return $this->call('insert', array($params), "Google_Service_Directory_Domains"); 2038 } 2039 2040 /** 2041 * Lists the domains of the customer. (domains.listDomains) 2042 * 2043 * @param string $customer Immutable id of the Google Apps account. 2044 * @param array $optParams Optional parameters. 2045 * @return Google_Service_Directory_Domains2 2046 */ 2047 public function listDomains($customer, $optParams = array()) 2048 { 2049 $params = array('customer' => $customer); 2050 $params = array_merge($params, $optParams); 2051 return $this->call('list', array($params), "Google_Service_Directory_Domains2"); 2052 } 2053 } 2054 2055 /** 2056 * The "groups" collection of methods. 2057 * Typical usage is: 2058 * <code> 2059 * $adminService = new Google_Service_Directory(...); 2060 * $groups = $adminService->groups; 2061 * </code> 2062 */ 2063 #[AllowDynamicProperties] 2064 class Google_Service_Directory_Groups_Resource extends Google_Service_Resource 2065 { 2066 2067 /** 2068 * Delete Group (groups.delete) 2069 * 2070 * @param string $groupKey Email or immutable Id of the group 2071 * @param array $optParams Optional parameters. 2072 */ 2073 public function delete($groupKey, $optParams = array()) 2074 { 2075 $params = array('groupKey' => $groupKey); 2076 $params = array_merge($params, $optParams); 2077 return $this->call('delete', array($params)); 2078 } 2079 2080 /** 2081 * Retrieve Group (groups.get) 2082 * 2083 * @param string $groupKey Email or immutable Id of the group 2084 * @param array $optParams Optional parameters. 2085 * @return Google_Service_Directory_Group 2086 */ 2087 public function get($groupKey, $optParams = array()) 2088 { 2089 $params = array('groupKey' => $groupKey); 2090 $params = array_merge($params, $optParams); 2091 return $this->call('get', array($params), "Google_Service_Directory_Group"); 2092 } 2093 2094 /** 2095 * Create Group (groups.insert) 2096 * 2097 * @param Google_Group $postBody 2098 * @param array $optParams Optional parameters. 2099 * @return Google_Service_Directory_Group 2100 */ 2101 public function insert(Google_Service_Directory_Group $postBody, $optParams = array()) 2102 { 2103 $params = array('postBody' => $postBody); 2104 $params = array_merge($params, $optParams); 2105 return $this->call('insert', array($params), "Google_Service_Directory_Group"); 2106 } 2107 2108 /** 2109 * Retrieve all groups in a domain (paginated) (groups.listGroups) 2110 * 2111 * @param array $optParams Optional parameters. 2112 * 2113 * @opt_param string customer Immutable id of the Google Apps account. In case 2114 * of multi-domain, to fetch all groups for a customer, fill this field instead 2115 * of domain. 2116 * @opt_param string pageToken Token to specify next page in the list 2117 * @opt_param string domain Name of the domain. Fill this field to get groups 2118 * from only this domain. To return all groups in a multi-domain fill customer 2119 * field instead. 2120 * @opt_param int maxResults Maximum number of results to return. Default is 200 2121 * @opt_param string userKey Email or immutable Id of the user if only those 2122 * groups are to be listed, the given user is a member of. If Id, it should 2123 * match with id of user object 2124 * @return Google_Service_Directory_Groups 2125 */ 2126 public function listGroups($optParams = array()) 2127 { 2128 $params = array(); 2129 $params = array_merge($params, $optParams); 2130 return $this->call('list', array($params), "Google_Service_Directory_Groups"); 2131 } 2132 2133 /** 2134 * Update Group. This method supports patch semantics. (groups.patch) 2135 * 2136 * @param string $groupKey Email or immutable Id of the group. If Id, it should 2137 * match with id of group object 2138 * @param Google_Group $postBody 2139 * @param array $optParams Optional parameters. 2140 * @return Google_Service_Directory_Group 2141 */ 2142 public function patch($groupKey, Google_Service_Directory_Group $postBody, $optParams = array()) 2143 { 2144 $params = array('groupKey' => $groupKey, 'postBody' => $postBody); 2145 $params = array_merge($params, $optParams); 2146 return $this->call('patch', array($params), "Google_Service_Directory_Group"); 2147 } 2148 2149 /** 2150 * Update Group (groups.update) 2151 * 2152 * @param string $groupKey Email or immutable Id of the group. If Id, it should 2153 * match with id of group object 2154 * @param Google_Group $postBody 2155 * @param array $optParams Optional parameters. 2156 * @return Google_Service_Directory_Group 2157 */ 2158 public function update($groupKey, Google_Service_Directory_Group $postBody, $optParams = array()) 2159 { 2160 $params = array('groupKey' => $groupKey, 'postBody' => $postBody); 2161 $params = array_merge($params, $optParams); 2162 return $this->call('update', array($params), "Google_Service_Directory_Group"); 2163 } 2164 } 2165 2166 /** 2167 * The "aliases" collection of methods. 2168 * Typical usage is: 2169 * <code> 2170 * $adminService = new Google_Service_Directory(...); 2171 * $aliases = $adminService->aliases; 2172 * </code> 2173 */ 2174 #[AllowDynamicProperties] 2175 class Google_Service_Directory_GroupsAliases_Resource extends Google_Service_Resource 2176 { 2177 2178 /** 2179 * Remove a alias for the group (aliases.delete) 2180 * 2181 * @param string $groupKey Email or immutable Id of the group 2182 * @param string $alias The alias to be removed 2183 * @param array $optParams Optional parameters. 2184 */ 2185 public function delete($groupKey, $alias, $optParams = array()) 2186 { 2187 $params = array('groupKey' => $groupKey, 'alias' => $alias); 2188 $params = array_merge($params, $optParams); 2189 return $this->call('delete', array($params)); 2190 } 2191 2192 /** 2193 * Add a alias for the group (aliases.insert) 2194 * 2195 * @param string $groupKey Email or immutable Id of the group 2196 * @param Google_Alias $postBody 2197 * @param array $optParams Optional parameters. 2198 * @return Google_Service_Directory_Alias 2199 */ 2200 public function insert($groupKey, Google_Service_Directory_Alias $postBody, $optParams = array()) 2201 { 2202 $params = array('groupKey' => $groupKey, 'postBody' => $postBody); 2203 $params = array_merge($params, $optParams); 2204 return $this->call('insert', array($params), "Google_Service_Directory_Alias"); 2205 } 2206 2207 /** 2208 * List all aliases for a group (aliases.listGroupsAliases) 2209 * 2210 * @param string $groupKey Email or immutable Id of the group 2211 * @param array $optParams Optional parameters. 2212 * @return Google_Service_Directory_Aliases 2213 */ 2214 public function listGroupsAliases($groupKey, $optParams = array()) 2215 { 2216 $params = array('groupKey' => $groupKey); 2217 $params = array_merge($params, $optParams); 2218 return $this->call('list', array($params), "Google_Service_Directory_Aliases"); 2219 } 2220 } 2221 2222 /** 2223 * The "members" collection of methods. 2224 * Typical usage is: 2225 * <code> 2226 * $adminService = new Google_Service_Directory(...); 2227 * $members = $adminService->members; 2228 * </code> 2229 */ 2230 #[AllowDynamicProperties] 2231 class Google_Service_Directory_Members_Resource extends Google_Service_Resource 2232 { 2233 2234 /** 2235 * Remove membership. (members.delete) 2236 * 2237 * @param string $groupKey Email or immutable Id of the group 2238 * @param string $memberKey Email or immutable Id of the member 2239 * @param array $optParams Optional parameters. 2240 */ 2241 public function delete($groupKey, $memberKey, $optParams = array()) 2242 { 2243 $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey); 2244 $params = array_merge($params, $optParams); 2245 return $this->call('delete', array($params)); 2246 } 2247 2248 /** 2249 * Retrieve Group Member (members.get) 2250 * 2251 * @param string $groupKey Email or immutable Id of the group 2252 * @param string $memberKey Email or immutable Id of the member 2253 * @param array $optParams Optional parameters. 2254 * @return Google_Service_Directory_Member 2255 */ 2256 public function get($groupKey, $memberKey, $optParams = array()) 2257 { 2258 $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey); 2259 $params = array_merge($params, $optParams); 2260 return $this->call('get', array($params), "Google_Service_Directory_Member"); 2261 } 2262 2263 /** 2264 * Add user to the specified group. (members.insert) 2265 * 2266 * @param string $groupKey Email or immutable Id of the group 2267 * @param Google_Member $postBody 2268 * @param array $optParams Optional parameters. 2269 * @return Google_Service_Directory_Member 2270 */ 2271 public function insert($groupKey, Google_Service_Directory_Member $postBody, $optParams = array()) 2272 { 2273 $params = array('groupKey' => $groupKey, 'postBody' => $postBody); 2274 $params = array_merge($params, $optParams); 2275 return $this->call('insert', array($params), "Google_Service_Directory_Member"); 2276 } 2277 2278 /** 2279 * Retrieve all members in a group (paginated) (members.listMembers) 2280 * 2281 * @param string $groupKey Email or immutable Id of the group 2282 * @param array $optParams Optional parameters. 2283 * 2284 * @opt_param string pageToken Token to specify next page in the list 2285 * @opt_param string roles Comma separated role values to filter list results 2286 * on. 2287 * @opt_param int maxResults Maximum number of results to return. Default is 200 2288 * @return Google_Service_Directory_Members 2289 */ 2290 public function listMembers($groupKey, $optParams = array()) 2291 { 2292 $params = array('groupKey' => $groupKey); 2293 $params = array_merge($params, $optParams); 2294 return $this->call('list', array($params), "Google_Service_Directory_Members"); 2295 } 2296 2297 /** 2298 * Update membership of a user in the specified group. This method supports 2299 * patch semantics. (members.patch) 2300 * 2301 * @param string $groupKey Email or immutable Id of the group. If Id, it should 2302 * match with id of group object 2303 * @param string $memberKey Email or immutable Id of the user. If Id, it should 2304 * match with id of member object 2305 * @param Google_Member $postBody 2306 * @param array $optParams Optional parameters. 2307 * @return Google_Service_Directory_Member 2308 */ 2309 public function patch($groupKey, $memberKey, Google_Service_Directory_Member $postBody, $optParams = array()) 2310 { 2311 $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey, 'postBody' => $postBody); 2312 $params = array_merge($params, $optParams); 2313 return $this->call('patch', array($params), "Google_Service_Directory_Member"); 2314 } 2315 2316 /** 2317 * Update membership of a user in the specified group. (members.update) 2318 * 2319 * @param string $groupKey Email or immutable Id of the group. If Id, it should 2320 * match with id of group object 2321 * @param string $memberKey Email or immutable Id of the user. If Id, it should 2322 * match with id of member object 2323 * @param Google_Member $postBody 2324 * @param array $optParams Optional parameters. 2325 * @return Google_Service_Directory_Member 2326 */ 2327 public function update($groupKey, $memberKey, Google_Service_Directory_Member $postBody, $optParams = array()) 2328 { 2329 $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey, 'postBody' => $postBody); 2330 $params = array_merge($params, $optParams); 2331 return $this->call('update', array($params), "Google_Service_Directory_Member"); 2332 } 2333 } 2334 2335 /** 2336 * The "mobiledevices" collection of methods. 2337 * Typical usage is: 2338 * <code> 2339 * $adminService = new Google_Service_Directory(...); 2340 * $mobiledevices = $adminService->mobiledevices; 2341 * </code> 2342 */ 2343 #[AllowDynamicProperties] 2344 class Google_Service_Directory_Mobiledevices_Resource extends Google_Service_Resource 2345 { 2346 2347 /** 2348 * Take action on Mobile Device (mobiledevices.action) 2349 * 2350 * @param string $customerId Immutable id of the Google Apps account 2351 * @param string $resourceId Immutable id of Mobile Device 2352 * @param Google_MobileDeviceAction $postBody 2353 * @param array $optParams Optional parameters. 2354 */ 2355 public function action($customerId, $resourceId, Google_Service_Directory_MobileDeviceAction $postBody, $optParams = array()) 2356 { 2357 $params = array('customerId' => $customerId, 'resourceId' => $resourceId, 'postBody' => $postBody); 2358 $params = array_merge($params, $optParams); 2359 return $this->call('action', array($params)); 2360 } 2361 2362 /** 2363 * Delete Mobile Device (mobiledevices.delete) 2364 * 2365 * @param string $customerId Immutable id of the Google Apps account 2366 * @param string $resourceId Immutable id of Mobile Device 2367 * @param array $optParams Optional parameters. 2368 */ 2369 public function delete($customerId, $resourceId, $optParams = array()) 2370 { 2371 $params = array('customerId' => $customerId, 'resourceId' => $resourceId); 2372 $params = array_merge($params, $optParams); 2373 return $this->call('delete', array($params)); 2374 } 2375 2376 /** 2377 * Retrieve Mobile Device (mobiledevices.get) 2378 * 2379 * @param string $customerId Immutable id of the Google Apps account 2380 * @param string $resourceId Immutable id of Mobile Device 2381 * @param array $optParams Optional parameters. 2382 * 2383 * @opt_param string projection Restrict information returned to a set of 2384 * selected fields. 2385 * @return Google_Service_Directory_MobileDevice 2386 */ 2387 public function get($customerId, $resourceId, $optParams = array()) 2388 { 2389 $params = array('customerId' => $customerId, 'resourceId' => $resourceId); 2390 $params = array_merge($params, $optParams); 2391 return $this->call('get', array($params), "Google_Service_Directory_MobileDevice"); 2392 } 2393 2394 /** 2395 * Retrieve all Mobile Devices of a customer (paginated) 2396 * (mobiledevices.listMobiledevices) 2397 * 2398 * @param string $customerId Immutable id of the Google Apps account 2399 * @param array $optParams Optional parameters. 2400 * 2401 * @opt_param string orderBy Column to use for sorting results 2402 * @opt_param string projection Restrict information returned to a set of 2403 * selected fields. 2404 * @opt_param int maxResults Maximum number of results to return. Default is 100 2405 * @opt_param string pageToken Token to specify next page in the list 2406 * @opt_param string sortOrder Whether to return results in ascending or 2407 * descending order. Only of use when orderBy is also used 2408 * @opt_param string query Search string in the format given at 2409 * http://support.google.com/a/bin/answer.py?hl=en=1408863#search 2410 * @return Google_Service_Directory_MobileDevices 2411 */ 2412 public function listMobiledevices($customerId, $optParams = array()) 2413 { 2414 $params = array('customerId' => $customerId); 2415 $params = array_merge($params, $optParams); 2416 return $this->call('list', array($params), "Google_Service_Directory_MobileDevices"); 2417 } 2418 } 2419 2420 /** 2421 * The "notifications" collection of methods. 2422 * Typical usage is: 2423 * <code> 2424 * $adminService = new Google_Service_Directory(...); 2425 * $notifications = $adminService->notifications; 2426 * </code> 2427 */ 2428 #[AllowDynamicProperties] 2429 class Google_Service_Directory_Notifications_Resource extends Google_Service_Resource 2430 { 2431 2432 /** 2433 * Deletes a notification (notifications.delete) 2434 * 2435 * @param string $customer The unique ID for the customer's Google account. The 2436 * customerId is also returned as part of the Users resource. 2437 * @param string $notificationId The unique ID of the notification. 2438 * @param array $optParams Optional parameters. 2439 */ 2440 public function delete($customer, $notificationId, $optParams = array()) 2441 { 2442 $params = array('customer' => $customer, 'notificationId' => $notificationId); 2443 $params = array_merge($params, $optParams); 2444 return $this->call('delete', array($params)); 2445 } 2446 2447 /** 2448 * Retrieves a notification. (notifications.get) 2449 * 2450 * @param string $customer The unique ID for the customer's Google account. The 2451 * customerId is also returned as part of the Users resource. 2452 * @param string $notificationId The unique ID of the notification. 2453 * @param array $optParams Optional parameters. 2454 * @return Google_Service_Directory_Notification 2455 */ 2456 public function get($customer, $notificationId, $optParams = array()) 2457 { 2458 $params = array('customer' => $customer, 'notificationId' => $notificationId); 2459 $params = array_merge($params, $optParams); 2460 return $this->call('get', array($params), "Google_Service_Directory_Notification"); 2461 } 2462 2463 /** 2464 * Retrieves a list of notifications. (notifications.listNotifications) 2465 * 2466 * @param string $customer The unique ID for the customer's Google account. 2467 * @param array $optParams Optional parameters. 2468 * 2469 * @opt_param string pageToken The token to specify the page of results to 2470 * retrieve. 2471 * @opt_param string maxResults Maximum number of notifications to return per 2472 * page. The default is 100. 2473 * @opt_param string language The ISO 639-1 code of the language notifications 2474 * are returned in. The default is English (en). 2475 * @return Google_Service_Directory_Notifications 2476 */ 2477 public function listNotifications($customer, $optParams = array()) 2478 { 2479 $params = array('customer' => $customer); 2480 $params = array_merge($params, $optParams); 2481 return $this->call('list', array($params), "Google_Service_Directory_Notifications"); 2482 } 2483 2484 /** 2485 * Updates a notification. This method supports patch semantics. 2486 * (notifications.patch) 2487 * 2488 * @param string $customer The unique ID for the customer's Google account. 2489 * @param string $notificationId The unique ID of the notification. 2490 * @param Google_Notification $postBody 2491 * @param array $optParams Optional parameters. 2492 * @return Google_Service_Directory_Notification 2493 */ 2494 public function patch($customer, $notificationId, Google_Service_Directory_Notification $postBody, $optParams = array()) 2495 { 2496 $params = array('customer' => $customer, 'notificationId' => $notificationId, 'postBody' => $postBody); 2497 $params = array_merge($params, $optParams); 2498 return $this->call('patch', array($params), "Google_Service_Directory_Notification"); 2499 } 2500 2501 /** 2502 * Updates a notification. (notifications.update) 2503 * 2504 * @param string $customer The unique ID for the customer's Google account. 2505 * @param string $notificationId The unique ID of the notification. 2506 * @param Google_Notification $postBody 2507 * @param array $optParams Optional parameters. 2508 * @return Google_Service_Directory_Notification 2509 */ 2510 public function update($customer, $notificationId, Google_Service_Directory_Notification $postBody, $optParams = array()) 2511 { 2512 $params = array('customer' => $customer, 'notificationId' => $notificationId, 'postBody' => $postBody); 2513 $params = array_merge($params, $optParams); 2514 return $this->call('update', array($params), "Google_Service_Directory_Notification"); 2515 } 2516 } 2517 2518 /** 2519 * The "orgunits" collection of methods. 2520 * Typical usage is: 2521 * <code> 2522 * $adminService = new Google_Service_Directory(...); 2523 * $orgunits = $adminService->orgunits; 2524 * </code> 2525 */ 2526 #[AllowDynamicProperties] 2527 class Google_Service_Directory_Orgunits_Resource extends Google_Service_Resource 2528 { 2529 2530 /** 2531 * Remove Organization Unit (orgunits.delete) 2532 * 2533 * @param string $customerId Immutable id of the Google Apps account 2534 * @param string $orgUnitPath Full path of the organization unit or its Id 2535 * @param array $optParams Optional parameters. 2536 */ 2537 public function delete($customerId, $orgUnitPath, $optParams = array()) 2538 { 2539 $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath); 2540 $params = array_merge($params, $optParams); 2541 return $this->call('delete', array($params)); 2542 } 2543 2544 /** 2545 * Retrieve Organization Unit (orgunits.get) 2546 * 2547 * @param string $customerId Immutable id of the Google Apps account 2548 * @param string $orgUnitPath Full path of the organization unit or its Id 2549 * @param array $optParams Optional parameters. 2550 * @return Google_Service_Directory_OrgUnit 2551 */ 2552 public function get($customerId, $orgUnitPath, $optParams = array()) 2553 { 2554 $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath); 2555 $params = array_merge($params, $optParams); 2556 return $this->call('get', array($params), "Google_Service_Directory_OrgUnit"); 2557 } 2558 2559 /** 2560 * Add Organization Unit (orgunits.insert) 2561 * 2562 * @param string $customerId Immutable id of the Google Apps account 2563 * @param Google_OrgUnit $postBody 2564 * @param array $optParams Optional parameters. 2565 * @return Google_Service_Directory_OrgUnit 2566 */ 2567 public function insert($customerId, Google_Service_Directory_OrgUnit $postBody, $optParams = array()) 2568 { 2569 $params = array('customerId' => $customerId, 'postBody' => $postBody); 2570 $params = array_merge($params, $optParams); 2571 return $this->call('insert', array($params), "Google_Service_Directory_OrgUnit"); 2572 } 2573 2574 /** 2575 * Retrieve all Organization Units (orgunits.listOrgunits) 2576 * 2577 * @param string $customerId Immutable id of the Google Apps account 2578 * @param array $optParams Optional parameters. 2579 * 2580 * @opt_param string type Whether to return all sub-organizations or just 2581 * immediate children 2582 * @opt_param string orgUnitPath the URL-encoded organization unit's path or its 2583 * Id 2584 * @return Google_Service_Directory_OrgUnits 2585 */ 2586 public function listOrgunits($customerId, $optParams = array()) 2587 { 2588 $params = array('customerId' => $customerId); 2589 $params = array_merge($params, $optParams); 2590 return $this->call('list', array($params), "Google_Service_Directory_OrgUnits"); 2591 } 2592 2593 /** 2594 * Update Organization Unit. This method supports patch semantics. 2595 * (orgunits.patch) 2596 * 2597 * @param string $customerId Immutable id of the Google Apps account 2598 * @param string $orgUnitPath Full path of the organization unit or its Id 2599 * @param Google_OrgUnit $postBody 2600 * @param array $optParams Optional parameters. 2601 * @return Google_Service_Directory_OrgUnit 2602 */ 2603 public function patch($customerId, $orgUnitPath, Google_Service_Directory_OrgUnit $postBody, $optParams = array()) 2604 { 2605 $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath, 'postBody' => $postBody); 2606 $params = array_merge($params, $optParams); 2607 return $this->call('patch', array($params), "Google_Service_Directory_OrgUnit"); 2608 } 2609 2610 /** 2611 * Update Organization Unit (orgunits.update) 2612 * 2613 * @param string $customerId Immutable id of the Google Apps account 2614 * @param string $orgUnitPath Full path of the organization unit or its Id 2615 * @param Google_OrgUnit $postBody 2616 * @param array $optParams Optional parameters. 2617 * @return Google_Service_Directory_OrgUnit 2618 */ 2619 public function update($customerId, $orgUnitPath, Google_Service_Directory_OrgUnit $postBody, $optParams = array()) 2620 { 2621 $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath, 'postBody' => $postBody); 2622 $params = array_merge($params, $optParams); 2623 return $this->call('update', array($params), "Google_Service_Directory_OrgUnit"); 2624 } 2625 } 2626 2627 /** 2628 * The "privileges" collection of methods. 2629 * Typical usage is: 2630 * <code> 2631 * $adminService = new Google_Service_Directory(...); 2632 * $privileges = $adminService->privileges; 2633 * </code> 2634 */ 2635 #[AllowDynamicProperties] 2636 class Google_Service_Directory_Privileges_Resource extends Google_Service_Resource 2637 { 2638 2639 /** 2640 * Retrieves a paginated list of all privileges for a customer. 2641 * (privileges.listPrivileges) 2642 * 2643 * @param string $customer Immutable ID of the Google Apps account. 2644 * @param array $optParams Optional parameters. 2645 * @return Google_Service_Directory_Privileges 2646 */ 2647 public function listPrivileges($customer, $optParams = array()) 2648 { 2649 $params = array('customer' => $customer); 2650 $params = array_merge($params, $optParams); 2651 return $this->call('list', array($params), "Google_Service_Directory_Privileges"); 2652 } 2653 } 2654 2655 /** 2656 * The "roleAssignments" collection of methods. 2657 * Typical usage is: 2658 * <code> 2659 * $adminService = new Google_Service_Directory(...); 2660 * $roleAssignments = $adminService->roleAssignments; 2661 * </code> 2662 */ 2663 #[AllowDynamicProperties] 2664 class Google_Service_Directory_RoleAssignments_Resource extends Google_Service_Resource 2665 { 2666 2667 /** 2668 * Deletes a role assignment. (roleAssignments.delete) 2669 * 2670 * @param string $customer Immutable ID of the Google Apps account. 2671 * @param string $roleAssignmentId Immutable ID of the role assignment. 2672 * @param array $optParams Optional parameters. 2673 */ 2674 public function delete($customer, $roleAssignmentId, $optParams = array()) 2675 { 2676 $params = array('customer' => $customer, 'roleAssignmentId' => $roleAssignmentId); 2677 $params = array_merge($params, $optParams); 2678 return $this->call('delete', array($params)); 2679 } 2680 2681 /** 2682 * Retrieve a role assignment. (roleAssignments.get) 2683 * 2684 * @param string $customer Immutable ID of the Google Apps account. 2685 * @param string $roleAssignmentId Immutable ID of the role assignment. 2686 * @param array $optParams Optional parameters. 2687 * @return Google_Service_Directory_RoleAssignment 2688 */ 2689 public function get($customer, $roleAssignmentId, $optParams = array()) 2690 { 2691 $params = array('customer' => $customer, 'roleAssignmentId' => $roleAssignmentId); 2692 $params = array_merge($params, $optParams); 2693 return $this->call('get', array($params), "Google_Service_Directory_RoleAssignment"); 2694 } 2695 2696 /** 2697 * Creates a role assignment. (roleAssignments.insert) 2698 * 2699 * @param string $customer Immutable ID of the Google Apps account. 2700 * @param Google_RoleAssignment $postBody 2701 * @param array $optParams Optional parameters. 2702 * @return Google_Service_Directory_RoleAssignment 2703 */ 2704 public function insert($customer, Google_Service_Directory_RoleAssignment $postBody, $optParams = array()) 2705 { 2706 $params = array('customer' => $customer, 'postBody' => $postBody); 2707 $params = array_merge($params, $optParams); 2708 return $this->call('insert', array($params), "Google_Service_Directory_RoleAssignment"); 2709 } 2710 2711 /** 2712 * Retrieves a paginated list of all roleAssignments. 2713 * (roleAssignments.listRoleAssignments) 2714 * 2715 * @param string $customer Immutable ID of the Google Apps account. 2716 * @param array $optParams Optional parameters. 2717 * 2718 * @opt_param string pageToken Token to specify the next page in the list. 2719 * @opt_param string userKey The user's primary email address, alias email 2720 * address, or unique user ID. If included in the request, returns role 2721 * assignments only for this user. 2722 * @opt_param int maxResults Maximum number of results to return. 2723 * @opt_param string roleId Immutable ID of a role. If included in the request, 2724 * returns only role assignments containing this role ID. 2725 * @return Google_Service_Directory_RoleAssignments 2726 */ 2727 public function listRoleAssignments($customer, $optParams = array()) 2728 { 2729 $params = array('customer' => $customer); 2730 $params = array_merge($params, $optParams); 2731 return $this->call('list', array($params), "Google_Service_Directory_RoleAssignments"); 2732 } 2733 } 2734 2735 /** 2736 * The "roles" collection of methods. 2737 * Typical usage is: 2738 * <code> 2739 * $adminService = new Google_Service_Directory(...); 2740 * $roles = $adminService->roles; 2741 * </code> 2742 */ 2743 #[AllowDynamicProperties] 2744 class Google_Service_Directory_Roles_Resource extends Google_Service_Resource 2745 { 2746 2747 /** 2748 * Deletes a role. (roles.delete) 2749 * 2750 * @param string $customer Immutable ID of the Google Apps account. 2751 * @param string $roleId Immutable ID of the role. 2752 * @param array $optParams Optional parameters. 2753 */ 2754 public function delete($customer, $roleId, $optParams = array()) 2755 { 2756 $params = array('customer' => $customer, 'roleId' => $roleId); 2757 $params = array_merge($params, $optParams); 2758 return $this->call('delete', array($params)); 2759 } 2760 2761 /** 2762 * Retrieves a role. (roles.get) 2763 * 2764 * @param string $customer Immutable ID of the Google Apps account. 2765 * @param string $roleId Immutable ID of the role. 2766 * @param array $optParams Optional parameters. 2767 * @return Google_Service_Directory_Role 2768 */ 2769 public function get($customer, $roleId, $optParams = array()) 2770 { 2771 $params = array('customer' => $customer, 'roleId' => $roleId); 2772 $params = array_merge($params, $optParams); 2773 return $this->call('get', array($params), "Google_Service_Directory_Role"); 2774 } 2775 2776 /** 2777 * Creates a role. (roles.insert) 2778 * 2779 * @param string $customer Immutable ID of the Google Apps account. 2780 * @param Google_Role $postBody 2781 * @param array $optParams Optional parameters. 2782 * @return Google_Service_Directory_Role 2783 */ 2784 public function insert($customer, Google_Service_Directory_Role $postBody, $optParams = array()) 2785 { 2786 $params = array('customer' => $customer, 'postBody' => $postBody); 2787 $params = array_merge($params, $optParams); 2788 return $this->call('insert', array($params), "Google_Service_Directory_Role"); 2789 } 2790 2791 /** 2792 * Retrieves a paginated list of all the roles in a domain. (roles.listRoles) 2793 * 2794 * @param string $customer Immutable id of the Google Apps account. 2795 * @param array $optParams Optional parameters. 2796 * 2797 * @opt_param string pageToken Token to specify the next page in the list. 2798 * @opt_param int maxResults Maximum number of results to return. 2799 * @return Google_Service_Directory_Roles 2800 */ 2801 public function listRoles($customer, $optParams = array()) 2802 { 2803 $params = array('customer' => $customer); 2804 $params = array_merge($params, $optParams); 2805 return $this->call('list', array($params), "Google_Service_Directory_Roles"); 2806 } 2807 2808 /** 2809 * Updates a role. This method supports patch semantics. (roles.patch) 2810 * 2811 * @param string $customer Immutable ID of the Google Apps account. 2812 * @param string $roleId Immutable ID of the role. 2813 * @param Google_Role $postBody 2814 * @param array $optParams Optional parameters. 2815 * @return Google_Service_Directory_Role 2816 */ 2817 public function patch($customer, $roleId, Google_Service_Directory_Role $postBody, $optParams = array()) 2818 { 2819 $params = array('customer' => $customer, 'roleId' => $roleId, 'postBody' => $postBody); 2820 $params = array_merge($params, $optParams); 2821 return $this->call('patch', array($params), "Google_Service_Directory_Role"); 2822 } 2823 2824 /** 2825 * Updates a role. (roles.update) 2826 * 2827 * @param string $customer Immutable ID of the Google Apps account. 2828 * @param string $roleId Immutable ID of the role. 2829 * @param Google_Role $postBody 2830 * @param array $optParams Optional parameters. 2831 * @return Google_Service_Directory_Role 2832 */ 2833 public function update($customer, $roleId, Google_Service_Directory_Role $postBody, $optParams = array()) 2834 { 2835 $params = array('customer' => $customer, 'roleId' => $roleId, 'postBody' => $postBody); 2836 $params = array_merge($params, $optParams); 2837 return $this->call('update', array($params), "Google_Service_Directory_Role"); 2838 } 2839 } 2840 2841 /** 2842 * The "schemas" collection of methods. 2843 * Typical usage is: 2844 * <code> 2845 * $adminService = new Google_Service_Directory(...); 2846 * $schemas = $adminService->schemas; 2847 * </code> 2848 */ 2849 #[AllowDynamicProperties] 2850 class Google_Service_Directory_Schemas_Resource extends Google_Service_Resource 2851 { 2852 2853 /** 2854 * Delete schema (schemas.delete) 2855 * 2856 * @param string $customerId Immutable id of the Google Apps account 2857 * @param string $schemaKey Name or immutable Id of the schema 2858 * @param array $optParams Optional parameters. 2859 */ 2860 public function delete($customerId, $schemaKey, $optParams = array()) 2861 { 2862 $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey); 2863 $params = array_merge($params, $optParams); 2864 return $this->call('delete', array($params)); 2865 } 2866 2867 /** 2868 * Retrieve schema (schemas.get) 2869 * 2870 * @param string $customerId Immutable id of the Google Apps account 2871 * @param string $schemaKey Name or immutable Id of the schema 2872 * @param array $optParams Optional parameters. 2873 * @return Google_Service_Directory_Schema 2874 */ 2875 public function get($customerId, $schemaKey, $optParams = array()) 2876 { 2877 $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey); 2878 $params = array_merge($params, $optParams); 2879 return $this->call('get', array($params), "Google_Service_Directory_Schema"); 2880 } 2881 2882 /** 2883 * Create schema. (schemas.insert) 2884 * 2885 * @param string $customerId Immutable id of the Google Apps account 2886 * @param Google_Schema $postBody 2887 * @param array $optParams Optional parameters. 2888 * @return Google_Service_Directory_Schema 2889 */ 2890 public function insert($customerId, Google_Service_Directory_Schema $postBody, $optParams = array()) 2891 { 2892 $params = array('customerId' => $customerId, 'postBody' => $postBody); 2893 $params = array_merge($params, $optParams); 2894 return $this->call('insert', array($params), "Google_Service_Directory_Schema"); 2895 } 2896 2897 /** 2898 * Retrieve all schemas for a customer (schemas.listSchemas) 2899 * 2900 * @param string $customerId Immutable id of the Google Apps account 2901 * @param array $optParams Optional parameters. 2902 * @return Google_Service_Directory_Schemas 2903 */ 2904 public function listSchemas($customerId, $optParams = array()) 2905 { 2906 $params = array('customerId' => $customerId); 2907 $params = array_merge($params, $optParams); 2908 return $this->call('list', array($params), "Google_Service_Directory_Schemas"); 2909 } 2910 2911 /** 2912 * Update schema. This method supports patch semantics. (schemas.patch) 2913 * 2914 * @param string $customerId Immutable id of the Google Apps account 2915 * @param string $schemaKey Name or immutable Id of the schema. 2916 * @param Google_Schema $postBody 2917 * @param array $optParams Optional parameters. 2918 * @return Google_Service_Directory_Schema 2919 */ 2920 public function patch($customerId, $schemaKey, Google_Service_Directory_Schema $postBody, $optParams = array()) 2921 { 2922 $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey, 'postBody' => $postBody); 2923 $params = array_merge($params, $optParams); 2924 return $this->call('patch', array($params), "Google_Service_Directory_Schema"); 2925 } 2926 2927 /** 2928 * Update schema (schemas.update) 2929 * 2930 * @param string $customerId Immutable id of the Google Apps account 2931 * @param string $schemaKey Name or immutable Id of the schema. 2932 * @param Google_Schema $postBody 2933 * @param array $optParams Optional parameters. 2934 * @return Google_Service_Directory_Schema 2935 */ 2936 public function update($customerId, $schemaKey, Google_Service_Directory_Schema $postBody, $optParams = array()) 2937 { 2938 $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey, 'postBody' => $postBody); 2939 $params = array_merge($params, $optParams); 2940 return $this->call('update', array($params), "Google_Service_Directory_Schema"); 2941 } 2942 } 2943 2944 /** 2945 * The "tokens" collection of methods. 2946 * Typical usage is: 2947 * <code> 2948 * $adminService = new Google_Service_Directory(...); 2949 * $tokens = $adminService->tokens; 2950 * </code> 2951 */ 2952 #[AllowDynamicProperties] 2953 class Google_Service_Directory_Tokens_Resource extends Google_Service_Resource 2954 { 2955 2956 /** 2957 * Delete all access tokens issued by a user for an application. (tokens.delete) 2958 * 2959 * @param string $userKey Identifies the user in the API request. The value can 2960 * be the user's primary email address, alias email address, or unique user ID. 2961 * @param string $clientId The Client ID of the application the token is issued 2962 * to. 2963 * @param array $optParams Optional parameters. 2964 */ 2965 public function delete($userKey, $clientId, $optParams = array()) 2966 { 2967 $params = array('userKey' => $userKey, 'clientId' => $clientId); 2968 $params = array_merge($params, $optParams); 2969 return $this->call('delete', array($params)); 2970 } 2971 2972 /** 2973 * Get information about an access token issued by a user. (tokens.get) 2974 * 2975 * @param string $userKey Identifies the user in the API request. The value can 2976 * be the user's primary email address, alias email address, or unique user ID. 2977 * @param string $clientId The Client ID of the application the token is issued 2978 * to. 2979 * @param array $optParams Optional parameters. 2980 * @return Google_Service_Directory_Token 2981 */ 2982 public function get($userKey, $clientId, $optParams = array()) 2983 { 2984 $params = array('userKey' => $userKey, 'clientId' => $clientId); 2985 $params = array_merge($params, $optParams); 2986 return $this->call('get', array($params), "Google_Service_Directory_Token"); 2987 } 2988 2989 /** 2990 * Returns the set of tokens specified user has issued to 3rd party 2991 * applications. (tokens.listTokens) 2992 * 2993 * @param string $userKey Identifies the user in the API request. The value can 2994 * be the user's primary email address, alias email address, or unique user ID. 2995 * @param array $optParams Optional parameters. 2996 * @return Google_Service_Directory_Tokens 2997 */ 2998 public function listTokens($userKey, $optParams = array()) 2999 { 3000 $params = array('userKey' => $userKey); 3001 $params = array_merge($params, $optParams); 3002 return $this->call('list', array($params), "Google_Service_Directory_Tokens"); 3003 } 3004 } 3005 3006 /** 3007 * The "users" collection of methods. 3008 * Typical usage is: 3009 * <code> 3010 * $adminService = new Google_Service_Directory(...); 3011 * $users = $adminService->users; 3012 * </code> 3013 */ 3014 #[AllowDynamicProperties] 3015 class Google_Service_Directory_Users_Resource extends Google_Service_Resource 3016 { 3017 3018 /** 3019 * Delete user (users.delete) 3020 * 3021 * @param string $userKey Email or immutable Id of the user 3022 * @param array $optParams Optional parameters. 3023 */ 3024 public function delete($userKey, $optParams = array()) 3025 { 3026 $params = array('userKey' => $userKey); 3027 $params = array_merge($params, $optParams); 3028 return $this->call('delete', array($params)); 3029 } 3030 3031 /** 3032 * retrieve user (users.get) 3033 * 3034 * @param string $userKey Email or immutable Id of the user 3035 * @param array $optParams Optional parameters. 3036 * 3037 * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC 3038 * view of the user. 3039 * @opt_param string customFieldMask Comma-separated list of schema names. All 3040 * fields from these schemas are fetched. This should only be set when 3041 * projection=custom. 3042 * @opt_param string projection What subset of fields to fetch for this user. 3043 * @return Google_Service_Directory_User 3044 */ 3045 public function get($userKey, $optParams = array()) 3046 { 3047 $params = array('userKey' => $userKey); 3048 $params = array_merge($params, $optParams); 3049 return $this->call('get', array($params), "Google_Service_Directory_User"); 3050 } 3051 3052 /** 3053 * create user. (users.insert) 3054 * 3055 * @param Google_User $postBody 3056 * @param array $optParams Optional parameters. 3057 * @return Google_Service_Directory_User 3058 */ 3059 public function insert(Google_Service_Directory_User $postBody, $optParams = array()) 3060 { 3061 $params = array('postBody' => $postBody); 3062 $params = array_merge($params, $optParams); 3063 return $this->call('insert', array($params), "Google_Service_Directory_User"); 3064 } 3065 3066 /** 3067 * Retrieve either deleted users or all users in a domain (paginated) 3068 * (users.listUsers) 3069 * 3070 * @param array $optParams Optional parameters. 3071 * 3072 * @opt_param string customer Immutable id of the Google Apps account. In case 3073 * of multi-domain, to fetch all users for a customer, fill this field instead 3074 * of domain. 3075 * @opt_param string orderBy Column to use for sorting results 3076 * @opt_param string domain Name of the domain. Fill this field to get users 3077 * from only this domain. To return all users in a multi-domain fill customer 3078 * field instead. 3079 * @opt_param string projection What subset of fields to fetch for this user. 3080 * @opt_param string showDeleted If set to true retrieves the list of deleted 3081 * users. Default is false 3082 * @opt_param string customFieldMask Comma-separated list of schema names. All 3083 * fields from these schemas are fetched. This should only be set when 3084 * projection=custom. 3085 * @opt_param int maxResults Maximum number of results to return. Default is 3086 * 100. Max allowed is 500 3087 * @opt_param string pageToken Token to specify next page in the list 3088 * @opt_param string sortOrder Whether to return results in ascending or 3089 * descending order. 3090 * @opt_param string query Query string search. Should be of the form "". 3091 * Complete documentation is at https://developers.google.com/admin- 3092 * sdk/directory/v1/guides/search-users 3093 * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC 3094 * view of the user. 3095 * @opt_param string event Event on which subscription is intended (if 3096 * subscribing) 3097 * @return Google_Service_Directory_Users 3098 */ 3099 public function listUsers($optParams = array()) 3100 { 3101 $params = array(); 3102 $params = array_merge($params, $optParams); 3103 return $this->call('list', array($params), "Google_Service_Directory_Users"); 3104 } 3105 3106 /** 3107 * change admin status of a user (users.makeAdmin) 3108 * 3109 * @param string $userKey Email or immutable Id of the user as admin 3110 * @param Google_UserMakeAdmin $postBody 3111 * @param array $optParams Optional parameters. 3112 */ 3113 public function makeAdmin($userKey, Google_Service_Directory_UserMakeAdmin $postBody, $optParams = array()) 3114 { 3115 $params = array('userKey' => $userKey, 'postBody' => $postBody); 3116 $params = array_merge($params, $optParams); 3117 return $this->call('makeAdmin', array($params)); 3118 } 3119 3120 /** 3121 * update user. This method supports patch semantics. (users.patch) 3122 * 3123 * @param string $userKey Email or immutable Id of the user. If Id, it should 3124 * match with id of user object 3125 * @param Google_User $postBody 3126 * @param array $optParams Optional parameters. 3127 * @return Google_Service_Directory_User 3128 */ 3129 public function patch($userKey, Google_Service_Directory_User $postBody, $optParams = array()) 3130 { 3131 $params = array('userKey' => $userKey, 'postBody' => $postBody); 3132 $params = array_merge($params, $optParams); 3133 return $this->call('patch', array($params), "Google_Service_Directory_User"); 3134 } 3135 3136 /** 3137 * Undelete a deleted user (users.undelete) 3138 * 3139 * @param string $userKey The immutable id of the user 3140 * @param Google_UserUndelete $postBody 3141 * @param array $optParams Optional parameters. 3142 */ 3143 public function undelete($userKey, Google_Service_Directory_UserUndelete $postBody, $optParams = array()) 3144 { 3145 $params = array('userKey' => $userKey, 'postBody' => $postBody); 3146 $params = array_merge($params, $optParams); 3147 return $this->call('undelete', array($params)); 3148 } 3149 3150 /** 3151 * update user (users.update) 3152 * 3153 * @param string $userKey Email or immutable Id of the user. If Id, it should 3154 * match with id of user object 3155 * @param Google_User $postBody 3156 * @param array $optParams Optional parameters. 3157 * @return Google_Service_Directory_User 3158 */ 3159 public function update($userKey, Google_Service_Directory_User $postBody, $optParams = array()) 3160 { 3161 $params = array('userKey' => $userKey, 'postBody' => $postBody); 3162 $params = array_merge($params, $optParams); 3163 return $this->call('update', array($params), "Google_Service_Directory_User"); 3164 } 3165 3166 /** 3167 * Watch for changes in users list (users.watch) 3168 * 3169 * @param Google_Channel $postBody 3170 * @param array $optParams Optional parameters. 3171 * 3172 * @opt_param string customer Immutable id of the Google Apps account. In case 3173 * of multi-domain, to fetch all users for a customer, fill this field instead 3174 * of domain. 3175 * @opt_param string orderBy Column to use for sorting results 3176 * @opt_param string domain Name of the domain. Fill this field to get users 3177 * from only this domain. To return all users in a multi-domain fill customer 3178 * field instead. 3179 * @opt_param string projection What subset of fields to fetch for this user. 3180 * @opt_param string showDeleted If set to true retrieves the list of deleted 3181 * users. Default is false 3182 * @opt_param string customFieldMask Comma-separated list of schema names. All 3183 * fields from these schemas are fetched. This should only be set when 3184 * projection=custom. 3185 * @opt_param int maxResults Maximum number of results to return. Default is 3186 * 100. Max allowed is 500 3187 * @opt_param string pageToken Token to specify next page in the list 3188 * @opt_param string sortOrder Whether to return results in ascending or 3189 * descending order. 3190 * @opt_param string query Query string search. Should be of the form "". 3191 * Complete documentation is at https://developers.google.com/admin- 3192 * sdk/directory/v1/guides/search-users 3193 * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC 3194 * view of the user. 3195 * @opt_param string event Event on which subscription is intended (if 3196 * subscribing) 3197 * @return Google_Service_Directory_Channel 3198 */ 3199 public function watch(Google_Service_Directory_Channel $postBody, $optParams = array()) 3200 { 3201 $params = array('postBody' => $postBody); 3202 $params = array_merge($params, $optParams); 3203 return $this->call('watch', array($params), "Google_Service_Directory_Channel"); 3204 } 3205 } 3206 3207 /** 3208 * The "aliases" collection of methods. 3209 * Typical usage is: 3210 * <code> 3211 * $adminService = new Google_Service_Directory(...); 3212 * $aliases = $adminService->aliases; 3213 * </code> 3214 */ 3215 #[AllowDynamicProperties] 3216 class Google_Service_Directory_UsersAliases_Resource extends Google_Service_Resource 3217 { 3218 3219 /** 3220 * Remove a alias for the user (aliases.delete) 3221 * 3222 * @param string $userKey Email or immutable Id of the user 3223 * @param string $alias The alias to be removed 3224 * @param array $optParams Optional parameters. 3225 */ 3226 public function delete($userKey, $alias, $optParams = array()) 3227 { 3228 $params = array('userKey' => $userKey, 'alias' => $alias); 3229 $params = array_merge($params, $optParams); 3230 return $this->call('delete', array($params)); 3231 } 3232 3233 /** 3234 * Add a alias for the user (aliases.insert) 3235 * 3236 * @param string $userKey Email or immutable Id of the user 3237 * @param Google_Alias $postBody 3238 * @param array $optParams Optional parameters. 3239 * @return Google_Service_Directory_Alias 3240 */ 3241 public function insert($userKey, Google_Service_Directory_Alias $postBody, $optParams = array()) 3242 { 3243 $params = array('userKey' => $userKey, 'postBody' => $postBody); 3244 $params = array_merge($params, $optParams); 3245 return $this->call('insert', array($params), "Google_Service_Directory_Alias"); 3246 } 3247 3248 /** 3249 * List all aliases for a user (aliases.listUsersAliases) 3250 * 3251 * @param string $userKey Email or immutable Id of the user 3252 * @param array $optParams Optional parameters. 3253 * 3254 * @opt_param string event Event on which subscription is intended (if 3255 * subscribing) 3256 * @return Google_Service_Directory_Aliases 3257 */ 3258 public function listUsersAliases($userKey, $optParams = array()) 3259 { 3260 $params = array('userKey' => $userKey); 3261 $params = array_merge($params, $optParams); 3262 return $this->call('list', array($params), "Google_Service_Directory_Aliases"); 3263 } 3264 3265 /** 3266 * Watch for changes in user aliases list (aliases.watch) 3267 * 3268 * @param string $userKey Email or immutable Id of the user 3269 * @param Google_Channel $postBody 3270 * @param array $optParams Optional parameters. 3271 * 3272 * @opt_param string event Event on which subscription is intended (if 3273 * subscribing) 3274 * @return Google_Service_Directory_Channel 3275 */ 3276 public function watch($userKey, Google_Service_Directory_Channel $postBody, $optParams = array()) 3277 { 3278 $params = array('userKey' => $userKey, 'postBody' => $postBody); 3279 $params = array_merge($params, $optParams); 3280 return $this->call('watch', array($params), "Google_Service_Directory_Channel"); 3281 } 3282 } 3283 /** 3284 * The "photos" collection of methods. 3285 * Typical usage is: 3286 * <code> 3287 * $adminService = new Google_Service_Directory(...); 3288 * $photos = $adminService->photos; 3289 * </code> 3290 */ 3291 #[AllowDynamicProperties] 3292 class Google_Service_Directory_UsersPhotos_Resource extends Google_Service_Resource 3293 { 3294 3295 /** 3296 * Remove photos for the user (photos.delete) 3297 * 3298 * @param string $userKey Email or immutable Id of the user 3299 * @param array $optParams Optional parameters. 3300 */ 3301 public function delete($userKey, $optParams = array()) 3302 { 3303 $params = array('userKey' => $userKey); 3304 $params = array_merge($params, $optParams); 3305 return $this->call('delete', array($params)); 3306 } 3307 3308 /** 3309 * Retrieve photo of a user (photos.get) 3310 * 3311 * @param string $userKey Email or immutable Id of the user 3312 * @param array $optParams Optional parameters. 3313 * @return Google_Service_Directory_UserPhoto 3314 */ 3315 public function get($userKey, $optParams = array()) 3316 { 3317 $params = array('userKey' => $userKey); 3318 $params = array_merge($params, $optParams); 3319 return $this->call('get', array($params), "Google_Service_Directory_UserPhoto"); 3320 } 3321 3322 /** 3323 * Add a photo for the user. This method supports patch semantics. 3324 * (photos.patch) 3325 * 3326 * @param string $userKey Email or immutable Id of the user 3327 * @param Google_UserPhoto $postBody 3328 * @param array $optParams Optional parameters. 3329 * @return Google_Service_Directory_UserPhoto 3330 */ 3331 public function patch($userKey, Google_Service_Directory_UserPhoto $postBody, $optParams = array()) 3332 { 3333 $params = array('userKey' => $userKey, 'postBody' => $postBody); 3334 $params = array_merge($params, $optParams); 3335 return $this->call('patch', array($params), "Google_Service_Directory_UserPhoto"); 3336 } 3337 3338 /** 3339 * Add a photo for the user (photos.update) 3340 * 3341 * @param string $userKey Email or immutable Id of the user 3342 * @param Google_UserPhoto $postBody 3343 * @param array $optParams Optional parameters. 3344 * @return Google_Service_Directory_UserPhoto 3345 */ 3346 public function update($userKey, Google_Service_Directory_UserPhoto $postBody, $optParams = array()) 3347 { 3348 $params = array('userKey' => $userKey, 'postBody' => $postBody); 3349 $params = array_merge($params, $optParams); 3350 return $this->call('update', array($params), "Google_Service_Directory_UserPhoto"); 3351 } 3352 } 3353 3354 /** 3355 * The "verificationCodes" collection of methods. 3356 * Typical usage is: 3357 * <code> 3358 * $adminService = new Google_Service_Directory(...); 3359 * $verificationCodes = $adminService->verificationCodes; 3360 * </code> 3361 */ 3362 #[AllowDynamicProperties] 3363 class Google_Service_Directory_VerificationCodes_Resource extends Google_Service_Resource 3364 { 3365 3366 /** 3367 * Generate new backup verification codes for the user. 3368 * (verificationCodes.generate) 3369 * 3370 * @param string $userKey Email or immutable Id of the user 3371 * @param array $optParams Optional parameters. 3372 */ 3373 public function generate($userKey, $optParams = array()) 3374 { 3375 $params = array('userKey' => $userKey); 3376 $params = array_merge($params, $optParams); 3377 return $this->call('generate', array($params)); 3378 } 3379 3380 /** 3381 * Invalidate the current backup verification codes for the user. 3382 * (verificationCodes.invalidate) 3383 * 3384 * @param string $userKey Email or immutable Id of the user 3385 * @param array $optParams Optional parameters. 3386 */ 3387 public function invalidate($userKey, $optParams = array()) 3388 { 3389 $params = array('userKey' => $userKey); 3390 $params = array_merge($params, $optParams); 3391 return $this->call('invalidate', array($params)); 3392 } 3393 3394 /** 3395 * Returns the current set of valid backup verification codes for the specified 3396 * user. (verificationCodes.listVerificationCodes) 3397 * 3398 * @param string $userKey Identifies the user in the API request. The value can 3399 * be the user's primary email address, alias email address, or unique user ID. 3400 * @param array $optParams Optional parameters. 3401 * @return Google_Service_Directory_VerificationCodes 3402 */ 3403 public function listVerificationCodes($userKey, $optParams = array()) 3404 { 3405 $params = array('userKey' => $userKey); 3406 $params = array_merge($params, $optParams); 3407 return $this->call('list', array($params), "Google_Service_Directory_VerificationCodes"); 3408 } 3409 } 3410 3411 3412 3413 3414 #[AllowDynamicProperties] 3415 class Google_Service_Directory_Alias extends Google_Model 3416 { 3417 protected $internal_gapi_mappings = array( 3418 ); 3419 public $alias; 3420 public $etag; 3421 public $id; 3422 public $kind; 3423 public $primaryEmail; 3424 3425 3426 public function setAlias($alias) 3427 { 3428 $this->alias = $alias; 3429 } 3430 public function getAlias() 3431 { 3432 return $this->alias; 3433 } 3434 public function setEtag($etag) 3435 { 3436 $this->etag = $etag; 3437 } 3438 public function getEtag() 3439 { 3440 return $this->etag; 3441 } 3442 public function setId($id) 3443 { 3444 $this->id = $id; 3445 } 3446 public function getId() 3447 { 3448 return $this->id; 3449 } 3450 public function setKind($kind) 3451 { 3452 $this->kind = $kind; 3453 } 3454 public function getKind() 3455 { 3456 return $this->kind; 3457 } 3458 public function setPrimaryEmail($primaryEmail) 3459 { 3460 $this->primaryEmail = $primaryEmail; 3461 } 3462 public function getPrimaryEmail() 3463 { 3464 return $this->primaryEmail; 3465 } 3466 } 3467 3468 #[AllowDynamicProperties] 3469 class Google_Service_Directory_Aliases extends Google_Collection 3470 { 3471 protected $collection_key = 'aliases'; 3472 protected $internal_gapi_mappings = array( 3473 ); 3474 protected $aliasesType = 'Google_Service_Directory_Alias'; 3475 protected $aliasesDataType = 'array'; 3476 public $etag; 3477 public $kind; 3478 3479 3480 public function setAliases($aliases) 3481 { 3482 $this->aliases = $aliases; 3483 } 3484 public function getAliases() 3485 { 3486 return $this->aliases; 3487 } 3488 public function setEtag($etag) 3489 { 3490 $this->etag = $etag; 3491 } 3492 public function getEtag() 3493 { 3494 return $this->etag; 3495 } 3496 public function setKind($kind) 3497 { 3498 $this->kind = $kind; 3499 } 3500 public function getKind() 3501 { 3502 return $this->kind; 3503 } 3504 } 3505 3506 #[AllowDynamicProperties] 3507 class Google_Service_Directory_Asp extends Google_Model 3508 { 3509 protected $internal_gapi_mappings = array( 3510 ); 3511 public $codeId; 3512 public $creationTime; 3513 public $etag; 3514 public $kind; 3515 public $lastTimeUsed; 3516 public $name; 3517 public $userKey; 3518 3519 3520 public function setCodeId($codeId) 3521 { 3522 $this->codeId = $codeId; 3523 } 3524 public function getCodeId() 3525 { 3526 return $this->codeId; 3527 } 3528 public function setCreationTime($creationTime) 3529 { 3530 $this->creationTime = $creationTime; 3531 } 3532 public function getCreationTime() 3533 { 3534 return $this->creationTime; 3535 } 3536 public function setEtag($etag) 3537 { 3538 $this->etag = $etag; 3539 } 3540 public function getEtag() 3541 { 3542 return $this->etag; 3543 } 3544 public function setKind($kind) 3545 { 3546 $this->kind = $kind; 3547 } 3548 public function getKind() 3549 { 3550 return $this->kind; 3551 } 3552 public function setLastTimeUsed($lastTimeUsed) 3553 { 3554 $this->lastTimeUsed = $lastTimeUsed; 3555 } 3556 public function getLastTimeUsed() 3557 { 3558 return $this->lastTimeUsed; 3559 } 3560 public function setName($name) 3561 { 3562 $this->name = $name; 3563 } 3564 public function getName() 3565 { 3566 return $this->name; 3567 } 3568 public function setUserKey($userKey) 3569 { 3570 $this->userKey = $userKey; 3571 } 3572 public function getUserKey() 3573 { 3574 return $this->userKey; 3575 } 3576 } 3577 3578 #[AllowDynamicProperties] 3579 class Google_Service_Directory_Asps extends Google_Collection 3580 { 3581 protected $collection_key = 'items'; 3582 protected $internal_gapi_mappings = array( 3583 ); 3584 public $etag; 3585 protected $itemsType = 'Google_Service_Directory_Asp'; 3586 protected $itemsDataType = 'array'; 3587 public $kind; 3588 3589 3590 public function setEtag($etag) 3591 { 3592 $this->etag = $etag; 3593 } 3594 public function getEtag() 3595 { 3596 return $this->etag; 3597 } 3598 public function setItems($items) 3599 { 3600 $this->items = $items; 3601 } 3602 public function getItems() 3603 { 3604 return $this->items; 3605 } 3606 public function setKind($kind) 3607 { 3608 $this->kind = $kind; 3609 } 3610 public function getKind() 3611 { 3612 return $this->kind; 3613 } 3614 } 3615 3616 #[AllowDynamicProperties] 3617 class Google_Service_Directory_Channel extends Google_Model 3618 { 3619 protected $internal_gapi_mappings = array( 3620 ); 3621 public $address; 3622 public $expiration; 3623 public $id; 3624 public $kind; 3625 public $params; 3626 public $payload; 3627 public $resourceId; 3628 public $resourceUri; 3629 public $token; 3630 public $type; 3631 3632 3633 public function setAddress($address) 3634 { 3635 $this->address = $address; 3636 } 3637 public function getAddress() 3638 { 3639 return $this->address; 3640 } 3641 public function setExpiration($expiration) 3642 { 3643 $this->expiration = $expiration; 3644 } 3645 public function getExpiration() 3646 { 3647 return $this->expiration; 3648 } 3649 public function setId($id) 3650 { 3651 $this->id = $id; 3652 } 3653 public function getId() 3654 { 3655 return $this->id; 3656 } 3657 public function setKind($kind) 3658 { 3659 $this->kind = $kind; 3660 } 3661 public function getKind() 3662 { 3663 return $this->kind; 3664 } 3665 public function setParams($params) 3666 { 3667 $this->params = $params; 3668 } 3669 public function getParams() 3670 { 3671 return $this->params; 3672 } 3673 public function setPayload($payload) 3674 { 3675 $this->payload = $payload; 3676 } 3677 public function getPayload() 3678 { 3679 return $this->payload; 3680 } 3681 public function setResourceId($resourceId) 3682 { 3683 $this->resourceId = $resourceId; 3684 } 3685 public function getResourceId() 3686 { 3687 return $this->resourceId; 3688 } 3689 public function setResourceUri($resourceUri) 3690 { 3691 $this->resourceUri = $resourceUri; 3692 } 3693 public function getResourceUri() 3694 { 3695 return $this->resourceUri; 3696 } 3697 public function setToken($token) 3698 { 3699 $this->token = $token; 3700 } 3701 public function getToken() 3702 { 3703 return $this->token; 3704 } 3705 public function setType($type) 3706 { 3707 $this->type = $type; 3708 } 3709 public function getType() 3710 { 3711 return $this->type; 3712 } 3713 } 3714 3715 #[AllowDynamicProperties] 3716 class Google_Service_Directory_ChannelParams extends Google_Model 3717 { 3718 } 3719 3720 #[AllowDynamicProperties] 3721 class Google_Service_Directory_ChromeOsDevice extends Google_Collection 3722 { 3723 protected $collection_key = 'recentUsers'; 3724 protected $internal_gapi_mappings = array( 3725 ); 3726 protected $activeTimeRangesType = 'Google_Service_Directory_ChromeOsDeviceActiveTimeRanges'; 3727 protected $activeTimeRangesDataType = 'array'; 3728 public $annotatedAssetId; 3729 public $annotatedLocation; 3730 public $annotatedUser; 3731 public $bootMode; 3732 public $deviceId; 3733 public $etag; 3734 public $ethernetMacAddress; 3735 public $firmwareVersion; 3736 public $kind; 3737 public $lastEnrollmentTime; 3738 public $lastSync; 3739 public $macAddress; 3740 public $meid; 3741 public $model; 3742 public $notes; 3743 public $orderNumber; 3744 public $orgUnitPath; 3745 public $osVersion; 3746 public $platformVersion; 3747 protected $recentUsersType = 'Google_Service_Directory_ChromeOsDeviceRecentUsers'; 3748 protected $recentUsersDataType = 'array'; 3749 public $serialNumber; 3750 public $status; 3751 public $supportEndDate; 3752 public $willAutoRenew; 3753 3754 3755 public function setActiveTimeRanges($activeTimeRanges) 3756 { 3757 $this->activeTimeRanges = $activeTimeRanges; 3758 } 3759 public function getActiveTimeRanges() 3760 { 3761 return $this->activeTimeRanges; 3762 } 3763 public function setAnnotatedAssetId($annotatedAssetId) 3764 { 3765 $this->annotatedAssetId = $annotatedAssetId; 3766 } 3767 public function getAnnotatedAssetId() 3768 { 3769 return $this->annotatedAssetId; 3770 } 3771 public function setAnnotatedLocation($annotatedLocation) 3772 { 3773 $this->annotatedLocation = $annotatedLocation; 3774 } 3775 public function getAnnotatedLocation() 3776 { 3777 return $this->annotatedLocation; 3778 } 3779 public function setAnnotatedUser($annotatedUser) 3780 { 3781 $this->annotatedUser = $annotatedUser; 3782 } 3783 public function getAnnotatedUser() 3784 { 3785 return $this->annotatedUser; 3786 } 3787 public function setBootMode($bootMode) 3788 { 3789 $this->bootMode = $bootMode; 3790 } 3791 public function getBootMode() 3792 { 3793 return $this->bootMode; 3794 } 3795 public function setDeviceId($deviceId) 3796 { 3797 $this->deviceId = $deviceId; 3798 } 3799 public function getDeviceId() 3800 { 3801 return $this->deviceId; 3802 } 3803 public function setEtag($etag) 3804 { 3805 $this->etag = $etag; 3806 } 3807 public function getEtag() 3808 { 3809 return $this->etag; 3810 } 3811 public function setEthernetMacAddress($ethernetMacAddress) 3812 { 3813 $this->ethernetMacAddress = $ethernetMacAddress; 3814 } 3815 public function getEthernetMacAddress() 3816 { 3817 return $this->ethernetMacAddress; 3818 } 3819 public function setFirmwareVersion($firmwareVersion) 3820 { 3821 $this->firmwareVersion = $firmwareVersion; 3822 } 3823 public function getFirmwareVersion() 3824 { 3825 return $this->firmwareVersion; 3826 } 3827 public function setKind($kind) 3828 { 3829 $this->kind = $kind; 3830 } 3831 public function getKind() 3832 { 3833 return $this->kind; 3834 } 3835 public function setLastEnrollmentTime($lastEnrollmentTime) 3836 { 3837 $this->lastEnrollmentTime = $lastEnrollmentTime; 3838 } 3839 public function getLastEnrollmentTime() 3840 { 3841 return $this->lastEnrollmentTime; 3842 } 3843 public function setLastSync($lastSync) 3844 { 3845 $this->lastSync = $lastSync; 3846 } 3847 public function getLastSync() 3848 { 3849 return $this->lastSync; 3850 } 3851 public function setMacAddress($macAddress) 3852 { 3853 $this->macAddress = $macAddress; 3854 } 3855 public function getMacAddress() 3856 { 3857 return $this->macAddress; 3858 } 3859 public function setMeid($meid) 3860 { 3861 $this->meid = $meid; 3862 } 3863 public function getMeid() 3864 { 3865 return $this->meid; 3866 } 3867 public function setModel($model) 3868 { 3869 $this->model = $model; 3870 } 3871 public function getModel() 3872 { 3873 return $this->model; 3874 } 3875 public function setNotes($notes) 3876 { 3877 $this->notes = $notes; 3878 } 3879 public function getNotes() 3880 { 3881 return $this->notes; 3882 } 3883 public function setOrderNumber($orderNumber) 3884 { 3885 $this->orderNumber = $orderNumber; 3886 } 3887 public function getOrderNumber() 3888 { 3889 return $this->orderNumber; 3890 } 3891 public function setOrgUnitPath($orgUnitPath) 3892 { 3893 $this->orgUnitPath = $orgUnitPath; 3894 } 3895 public function getOrgUnitPath() 3896 { 3897 return $this->orgUnitPath; 3898 } 3899 public function setOsVersion($osVersion) 3900 { 3901 $this->osVersion = $osVersion; 3902 } 3903 public function getOsVersion() 3904 { 3905 return $this->osVersion; 3906 } 3907 public function setPlatformVersion($platformVersion) 3908 { 3909 $this->platformVersion = $platformVersion; 3910 } 3911 public function getPlatformVersion() 3912 { 3913 return $this->platformVersion; 3914 } 3915 public function setRecentUsers($recentUsers) 3916 { 3917 $this->recentUsers = $recentUsers; 3918 } 3919 public function getRecentUsers() 3920 { 3921 return $this->recentUsers; 3922 } 3923 public function setSerialNumber($serialNumber) 3924 { 3925 $this->serialNumber = $serialNumber; 3926 } 3927 public function getSerialNumber() 3928 { 3929 return $this->serialNumber; 3930 } 3931 public function setStatus($status) 3932 { 3933 $this->status = $status; 3934 } 3935 public function getStatus() 3936 { 3937 return $this->status; 3938 } 3939 public function setSupportEndDate($supportEndDate) 3940 { 3941 $this->supportEndDate = $supportEndDate; 3942 } 3943 public function getSupportEndDate() 3944 { 3945 return $this->supportEndDate; 3946 } 3947 public function setWillAutoRenew($willAutoRenew) 3948 { 3949 $this->willAutoRenew = $willAutoRenew; 3950 } 3951 public function getWillAutoRenew() 3952 { 3953 return $this->willAutoRenew; 3954 } 3955 } 3956 3957 #[AllowDynamicProperties] 3958 class Google_Service_Directory_ChromeOsDeviceActiveTimeRanges extends Google_Model 3959 { 3960 protected $internal_gapi_mappings = array( 3961 ); 3962 public $activeTime; 3963 public $date; 3964 3965 3966 public function setActiveTime($activeTime) 3967 { 3968 $this->activeTime = $activeTime; 3969 } 3970 public function getActiveTime() 3971 { 3972 return $this->activeTime; 3973 } 3974 public function setDate($date) 3975 { 3976 $this->date = $date; 3977 } 3978 public function getDate() 3979 { 3980 return $this->date; 3981 } 3982 } 3983 3984 #[AllowDynamicProperties] 3985 class Google_Service_Directory_ChromeOsDeviceRecentUsers extends Google_Model 3986 { 3987 protected $internal_gapi_mappings = array( 3988 ); 3989 public $email; 3990 public $type; 3991 3992 3993 public function setEmail($email) 3994 { 3995 $this->email = $email; 3996 } 3997 public function getEmail() 3998 { 3999 return $this->email; 4000 } 4001 public function setType($type) 4002 { 4003 $this->type = $type; 4004 } 4005 public function getType() 4006 { 4007 return $this->type; 4008 } 4009 } 4010 4011 #[AllowDynamicProperties] 4012 class Google_Service_Directory_ChromeOsDevices extends Google_Collection 4013 { 4014 protected $collection_key = 'chromeosdevices'; 4015 protected $internal_gapi_mappings = array( 4016 ); 4017 protected $chromeosdevicesType = 'Google_Service_Directory_ChromeOsDevice'; 4018 protected $chromeosdevicesDataType = 'array'; 4019 public $etag; 4020 public $kind; 4021 public $nextPageToken; 4022 4023 4024 public function setChromeosdevices($chromeosdevices) 4025 { 4026 $this->chromeosdevices = $chromeosdevices; 4027 } 4028 public function getChromeosdevices() 4029 { 4030 return $this->chromeosdevices; 4031 } 4032 public function setEtag($etag) 4033 { 4034 $this->etag = $etag; 4035 } 4036 public function getEtag() 4037 { 4038 return $this->etag; 4039 } 4040 public function setKind($kind) 4041 { 4042 $this->kind = $kind; 4043 } 4044 public function getKind() 4045 { 4046 return $this->kind; 4047 } 4048 public function setNextPageToken($nextPageToken) 4049 { 4050 $this->nextPageToken = $nextPageToken; 4051 } 4052 public function getNextPageToken() 4053 { 4054 return $this->nextPageToken; 4055 } 4056 } 4057 4058 #[AllowDynamicProperties] 4059 class Google_Service_Directory_Customer extends Google_Model 4060 { 4061 protected $internal_gapi_mappings = array( 4062 ); 4063 public $alternateEmail; 4064 public $customerCreationTime; 4065 public $customerDomain; 4066 public $etag; 4067 public $id; 4068 public $kind; 4069 public $language; 4070 public $phoneNumber; 4071 protected $postalAddressType = 'Google_Service_Directory_CustomerPostalAddress'; 4072 protected $postalAddressDataType = ''; 4073 4074 4075 public function setAlternateEmail($alternateEmail) 4076 { 4077 $this->alternateEmail = $alternateEmail; 4078 } 4079 public function getAlternateEmail() 4080 { 4081 return $this->alternateEmail; 4082 } 4083 public function setCustomerCreationTime($customerCreationTime) 4084 { 4085 $this->customerCreationTime = $customerCreationTime; 4086 } 4087 public function getCustomerCreationTime() 4088 { 4089 return $this->customerCreationTime; 4090 } 4091 public function setCustomerDomain($customerDomain) 4092 { 4093 $this->customerDomain = $customerDomain; 4094 } 4095 public function getCustomerDomain() 4096 { 4097 return $this->customerDomain; 4098 } 4099 public function setEtag($etag) 4100 { 4101 $this->etag = $etag; 4102 } 4103 public function getEtag() 4104 { 4105 return $this->etag; 4106 } 4107 public function setId($id) 4108 { 4109 $this->id = $id; 4110 } 4111 public function getId() 4112 { 4113 return $this->id; 4114 } 4115 public function setKind($kind) 4116 { 4117 $this->kind = $kind; 4118 } 4119 public function getKind() 4120 { 4121 return $this->kind; 4122 } 4123 public function setLanguage($language) 4124 { 4125 $this->language = $language; 4126 } 4127 public function getLanguage() 4128 { 4129 return $this->language; 4130 } 4131 public function setPhoneNumber($phoneNumber) 4132 { 4133 $this->phoneNumber = $phoneNumber; 4134 } 4135 public function getPhoneNumber() 4136 { 4137 return $this->phoneNumber; 4138 } 4139 public function setPostalAddress(Google_Service_Directory_CustomerPostalAddress $postalAddress) 4140 { 4141 $this->postalAddress = $postalAddress; 4142 } 4143 public function getPostalAddress() 4144 { 4145 return $this->postalAddress; 4146 } 4147 } 4148 4149 #[AllowDynamicProperties] 4150 class Google_Service_Directory_CustomerPostalAddress extends Google_Model 4151 { 4152 protected $internal_gapi_mappings = array( 4153 ); 4154 public $addressLine1; 4155 public $addressLine2; 4156 public $addressLine3; 4157 public $contactName; 4158 public $countryCode; 4159 public $locality; 4160 public $organizationName; 4161 public $postalCode; 4162 public $region; 4163 4164 4165 public function setAddressLine1($addressLine1) 4166 { 4167 $this->addressLine1 = $addressLine1; 4168 } 4169 public function getAddressLine1() 4170 { 4171 return $this->addressLine1; 4172 } 4173 public function setAddressLine2($addressLine2) 4174 { 4175 $this->addressLine2 = $addressLine2; 4176 } 4177 public function getAddressLine2() 4178 { 4179 return $this->addressLine2; 4180 } 4181 public function setAddressLine3($addressLine3) 4182 { 4183 $this->addressLine3 = $addressLine3; 4184 } 4185 public function getAddressLine3() 4186 { 4187 return $this->addressLine3; 4188 } 4189 public function setContactName($contactName) 4190 { 4191 $this->contactName = $contactName; 4192 } 4193 public function getContactName() 4194 { 4195 return $this->contactName; 4196 } 4197 public function setCountryCode($countryCode) 4198 { 4199 $this->countryCode = $countryCode; 4200 } 4201 public function getCountryCode() 4202 { 4203 return $this->countryCode; 4204 } 4205 public function setLocality($locality) 4206 { 4207 $this->locality = $locality; 4208 } 4209 public function getLocality() 4210 { 4211 return $this->locality; 4212 } 4213 public function setOrganizationName($organizationName) 4214 { 4215 $this->organizationName = $organizationName; 4216 } 4217 public function getOrganizationName() 4218 { 4219 return $this->organizationName; 4220 } 4221 public function setPostalCode($postalCode) 4222 { 4223 $this->postalCode = $postalCode; 4224 } 4225 public function getPostalCode() 4226 { 4227 return $this->postalCode; 4228 } 4229 public function setRegion($region) 4230 { 4231 $this->region = $region; 4232 } 4233 public function getRegion() 4234 { 4235 return $this->region; 4236 } 4237 } 4238 4239 #[AllowDynamicProperties] 4240 class Google_Service_Directory_DomainAlias extends Google_Model 4241 { 4242 protected $internal_gapi_mappings = array( 4243 ); 4244 public $creationTime; 4245 public $domainAliasName; 4246 public $etag; 4247 public $kind; 4248 public $parentDomainName; 4249 public $verified; 4250 4251 4252 public function setCreationTime($creationTime) 4253 { 4254 $this->creationTime = $creationTime; 4255 } 4256 public function getCreationTime() 4257 { 4258 return $this->creationTime; 4259 } 4260 public function setDomainAliasName($domainAliasName) 4261 { 4262 $this->domainAliasName = $domainAliasName; 4263 } 4264 public function getDomainAliasName() 4265 { 4266 return $this->domainAliasName; 4267 } 4268 public function setEtag($etag) 4269 { 4270 $this->etag = $etag; 4271 } 4272 public function getEtag() 4273 { 4274 return $this->etag; 4275 } 4276 public function setKind($kind) 4277 { 4278 $this->kind = $kind; 4279 } 4280 public function getKind() 4281 { 4282 return $this->kind; 4283 } 4284 public function setParentDomainName($parentDomainName) 4285 { 4286 $this->parentDomainName = $parentDomainName; 4287 } 4288 public function getParentDomainName() 4289 { 4290 return $this->parentDomainName; 4291 } 4292 public function setVerified($verified) 4293 { 4294 $this->verified = $verified; 4295 } 4296 public function getVerified() 4297 { 4298 return $this->verified; 4299 } 4300 } 4301 4302 #[AllowDynamicProperties] 4303 class Google_Service_Directory_DomainAliases extends Google_Collection 4304 { 4305 protected $collection_key = 'domainAliases'; 4306 protected $internal_gapi_mappings = array( 4307 ); 4308 protected $domainAliasesType = 'Google_Service_Directory_DomainAlias'; 4309 protected $domainAliasesDataType = 'array'; 4310 public $etag; 4311 public $kind; 4312 4313 4314 public function setDomainAliases($domainAliases) 4315 { 4316 $this->domainAliases = $domainAliases; 4317 } 4318 public function getDomainAliases() 4319 { 4320 return $this->domainAliases; 4321 } 4322 public function setEtag($etag) 4323 { 4324 $this->etag = $etag; 4325 } 4326 public function getEtag() 4327 { 4328 return $this->etag; 4329 } 4330 public function setKind($kind) 4331 { 4332 $this->kind = $kind; 4333 } 4334 public function getKind() 4335 { 4336 return $this->kind; 4337 } 4338 } 4339 4340 #[AllowDynamicProperties] 4341 class Google_Service_Directory_Domains extends Google_Collection 4342 { 4343 protected $collection_key = 'domainAliases'; 4344 protected $internal_gapi_mappings = array( 4345 ); 4346 public $creationTime; 4347 protected $domainAliasesType = 'Google_Service_Directory_DomainAlias'; 4348 protected $domainAliasesDataType = 'array'; 4349 public $domainName; 4350 public $etag; 4351 public $isPrimary; 4352 public $kind; 4353 public $verified; 4354 4355 4356 public function setCreationTime($creationTime) 4357 { 4358 $this->creationTime = $creationTime; 4359 } 4360 public function getCreationTime() 4361 { 4362 return $this->creationTime; 4363 } 4364 public function setDomainAliases($domainAliases) 4365 { 4366 $this->domainAliases = $domainAliases; 4367 } 4368 public function getDomainAliases() 4369 { 4370 return $this->domainAliases; 4371 } 4372 public function setDomainName($domainName) 4373 { 4374 $this->domainName = $domainName; 4375 } 4376 public function getDomainName() 4377 { 4378 return $this->domainName; 4379 } 4380 public function setEtag($etag) 4381 { 4382 $this->etag = $etag; 4383 } 4384 public function getEtag() 4385 { 4386 return $this->etag; 4387 } 4388 public function setIsPrimary($isPrimary) 4389 { 4390 $this->isPrimary = $isPrimary; 4391 } 4392 public function getIsPrimary() 4393 { 4394 return $this->isPrimary; 4395 } 4396 public function setKind($kind) 4397 { 4398 $this->kind = $kind; 4399 } 4400 public function getKind() 4401 { 4402 return $this->kind; 4403 } 4404 public function setVerified($verified) 4405 { 4406 $this->verified = $verified; 4407 } 4408 public function getVerified() 4409 { 4410 return $this->verified; 4411 } 4412 } 4413 4414 #[AllowDynamicProperties] 4415 class Google_Service_Directory_Domains2 extends Google_Collection 4416 { 4417 protected $collection_key = 'domains'; 4418 protected $internal_gapi_mappings = array( 4419 ); 4420 protected $domainsType = 'Google_Service_Directory_Domains'; 4421 protected $domainsDataType = 'array'; 4422 public $etag; 4423 public $kind; 4424 4425 4426 public function setDomains($domains) 4427 { 4428 $this->domains = $domains; 4429 } 4430 public function getDomains() 4431 { 4432 return $this->domains; 4433 } 4434 public function setEtag($etag) 4435 { 4436 $this->etag = $etag; 4437 } 4438 public function getEtag() 4439 { 4440 return $this->etag; 4441 } 4442 public function setKind($kind) 4443 { 4444 $this->kind = $kind; 4445 } 4446 public function getKind() 4447 { 4448 return $this->kind; 4449 } 4450 } 4451 4452 #[AllowDynamicProperties] 4453 class Google_Service_Directory_Group extends Google_Collection 4454 { 4455 protected $collection_key = 'nonEditableAliases'; 4456 protected $internal_gapi_mappings = array( 4457 ); 4458 public $adminCreated; 4459 public $aliases; 4460 public $description; 4461 public $directMembersCount; 4462 public $email; 4463 public $etag; 4464 public $id; 4465 public $kind; 4466 public $name; 4467 public $nonEditableAliases; 4468 4469 4470 public function setAdminCreated($adminCreated) 4471 { 4472 $this->adminCreated = $adminCreated; 4473 } 4474 public function getAdminCreated() 4475 { 4476 return $this->adminCreated; 4477 } 4478 public function setAliases($aliases) 4479 { 4480 $this->aliases = $aliases; 4481 } 4482 public function getAliases() 4483 { 4484 return $this->aliases; 4485 } 4486 public function setDescription($description) 4487 { 4488 $this->description = $description; 4489 } 4490 public function getDescription() 4491 { 4492 return $this->description; 4493 } 4494 public function setDirectMembersCount($directMembersCount) 4495 { 4496 $this->directMembersCount = $directMembersCount; 4497 } 4498 public function getDirectMembersCount() 4499 { 4500 return $this->directMembersCount; 4501 } 4502 public function setEmail($email) 4503 { 4504 $this->email = $email; 4505 } 4506 public function getEmail() 4507 { 4508 return $this->email; 4509 } 4510 public function setEtag($etag) 4511 { 4512 $this->etag = $etag; 4513 } 4514 public function getEtag() 4515 { 4516 return $this->etag; 4517 } 4518 public function setId($id) 4519 { 4520 $this->id = $id; 4521 } 4522 public function getId() 4523 { 4524 return $this->id; 4525 } 4526 public function setKind($kind) 4527 { 4528 $this->kind = $kind; 4529 } 4530 public function getKind() 4531 { 4532 return $this->kind; 4533 } 4534 public function setName($name) 4535 { 4536 $this->name = $name; 4537 } 4538 public function getName() 4539 { 4540 return $this->name; 4541 } 4542 public function setNonEditableAliases($nonEditableAliases) 4543 { 4544 $this->nonEditableAliases = $nonEditableAliases; 4545 } 4546 public function getNonEditableAliases() 4547 { 4548 return $this->nonEditableAliases; 4549 } 4550 } 4551 4552 #[AllowDynamicProperties] 4553 class Google_Service_Directory_Groups extends Google_Collection 4554 { 4555 protected $collection_key = 'groups'; 4556 protected $internal_gapi_mappings = array( 4557 ); 4558 public $etag; 4559 protected $groupsType = 'Google_Service_Directory_Group'; 4560 protected $groupsDataType = 'array'; 4561 public $kind; 4562 public $nextPageToken; 4563 4564 4565 public function setEtag($etag) 4566 { 4567 $this->etag = $etag; 4568 } 4569 public function getEtag() 4570 { 4571 return $this->etag; 4572 } 4573 public function setGroups($groups) 4574 { 4575 $this->groups = $groups; 4576 } 4577 public function getGroups() 4578 { 4579 return $this->groups; 4580 } 4581 public function setKind($kind) 4582 { 4583 $this->kind = $kind; 4584 } 4585 public function getKind() 4586 { 4587 return $this->kind; 4588 } 4589 public function setNextPageToken($nextPageToken) 4590 { 4591 $this->nextPageToken = $nextPageToken; 4592 } 4593 public function getNextPageToken() 4594 { 4595 return $this->nextPageToken; 4596 } 4597 } 4598 4599 #[AllowDynamicProperties] 4600 class Google_Service_Directory_Member extends Google_Model 4601 { 4602 protected $internal_gapi_mappings = array( 4603 ); 4604 public $email; 4605 public $etag; 4606 public $id; 4607 public $kind; 4608 public $role; 4609 public $type; 4610 4611 4612 public function setEmail($email) 4613 { 4614 $this->email = $email; 4615 } 4616 public function getEmail() 4617 { 4618 return $this->email; 4619 } 4620 public function setEtag($etag) 4621 { 4622 $this->etag = $etag; 4623 } 4624 public function getEtag() 4625 { 4626 return $this->etag; 4627 } 4628 public function setId($id) 4629 { 4630 $this->id = $id; 4631 } 4632 public function getId() 4633 { 4634 return $this->id; 4635 } 4636 public function setKind($kind) 4637 { 4638 $this->kind = $kind; 4639 } 4640 public function getKind() 4641 { 4642 return $this->kind; 4643 } 4644 public function setRole($role) 4645 { 4646 $this->role = $role; 4647 } 4648 public function getRole() 4649 { 4650 return $this->role; 4651 } 4652 public function setType($type) 4653 { 4654 $this->type = $type; 4655 } 4656 public function getType() 4657 { 4658 return $this->type; 4659 } 4660 } 4661 4662 #[AllowDynamicProperties] 4663 class Google_Service_Directory_Members extends Google_Collection 4664 { 4665 protected $collection_key = 'members'; 4666 protected $internal_gapi_mappings = array( 4667 ); 4668 public $etag; 4669 public $kind; 4670 protected $membersType = 'Google_Service_Directory_Member'; 4671 protected $membersDataType = 'array'; 4672 public $nextPageToken; 4673 4674 4675 public function setEtag($etag) 4676 { 4677 $this->etag = $etag; 4678 } 4679 public function getEtag() 4680 { 4681 return $this->etag; 4682 } 4683 public function setKind($kind) 4684 { 4685 $this->kind = $kind; 4686 } 4687 public function getKind() 4688 { 4689 return $this->kind; 4690 } 4691 public function setMembers($members) 4692 { 4693 $this->members = $members; 4694 } 4695 public function getMembers() 4696 { 4697 return $this->members; 4698 } 4699 public function setNextPageToken($nextPageToken) 4700 { 4701 $this->nextPageToken = $nextPageToken; 4702 } 4703 public function getNextPageToken() 4704 { 4705 return $this->nextPageToken; 4706 } 4707 } 4708 4709 #[AllowDynamicProperties] 4710 class Google_Service_Directory_MobileDevice extends Google_Collection 4711 { 4712 protected $collection_key = 'otherAccountsInfo'; 4713 protected $internal_gapi_mappings = array( 4714 ); 4715 public $adbStatus; 4716 protected $applicationsType = 'Google_Service_Directory_MobileDeviceApplications'; 4717 protected $applicationsDataType = 'array'; 4718 public $basebandVersion; 4719 public $buildNumber; 4720 public $defaultLanguage; 4721 public $developerOptionsStatus; 4722 public $deviceCompromisedStatus; 4723 public $deviceId; 4724 public $email; 4725 public $etag; 4726 public $firstSync; 4727 public $hardwareId; 4728 public $imei; 4729 public $kernelVersion; 4730 public $kind; 4731 public $lastSync; 4732 public $managedAccountIsOnOwnerProfile; 4733 public $meid; 4734 public $model; 4735 public $name; 4736 public $networkOperator; 4737 public $os; 4738 public $otherAccountsInfo; 4739 public $resourceId; 4740 public $serialNumber; 4741 public $status; 4742 public $supportsWorkProfile; 4743 public $type; 4744 public $unknownSourcesStatus; 4745 public $userAgent; 4746 public $wifiMacAddress; 4747 4748 4749 public function setAdbStatus($adbStatus) 4750 { 4751 $this->adbStatus = $adbStatus; 4752 } 4753 public function getAdbStatus() 4754 { 4755 return $this->adbStatus; 4756 } 4757 public function setApplications($applications) 4758 { 4759 $this->applications = $applications; 4760 } 4761 public function getApplications() 4762 { 4763 return $this->applications; 4764 } 4765 public function setBasebandVersion($basebandVersion) 4766 { 4767 $this->basebandVersion = $basebandVersion; 4768 } 4769 public function getBasebandVersion() 4770 { 4771 return $this->basebandVersion; 4772 } 4773 public function setBuildNumber($buildNumber) 4774 { 4775 $this->buildNumber = $buildNumber; 4776 } 4777 public function getBuildNumber() 4778 { 4779 return $this->buildNumber; 4780 } 4781 public function setDefaultLanguage($defaultLanguage) 4782 { 4783 $this->defaultLanguage = $defaultLanguage; 4784 } 4785 public function getDefaultLanguage() 4786 { 4787 return $this->defaultLanguage; 4788 } 4789 public function setDeveloperOptionsStatus($developerOptionsStatus) 4790 { 4791 $this->developerOptionsStatus = $developerOptionsStatus; 4792 } 4793 public function getDeveloperOptionsStatus() 4794 { 4795 return $this->developerOptionsStatus; 4796 } 4797 public function setDeviceCompromisedStatus($deviceCompromisedStatus) 4798 { 4799 $this->deviceCompromisedStatus = $deviceCompromisedStatus; 4800 } 4801 public function getDeviceCompromisedStatus() 4802 { 4803 return $this->deviceCompromisedStatus; 4804 } 4805 public function setDeviceId($deviceId) 4806 { 4807 $this->deviceId = $deviceId; 4808 } 4809 public function getDeviceId() 4810 { 4811 return $this->deviceId; 4812 } 4813 public function setEmail($email) 4814 { 4815 $this->email = $email; 4816 } 4817 public function getEmail() 4818 { 4819 return $this->email; 4820 } 4821 public function setEtag($etag) 4822 { 4823 $this->etag = $etag; 4824 } 4825 public function getEtag() 4826 { 4827 return $this->etag; 4828 } 4829 public function setFirstSync($firstSync) 4830 { 4831 $this->firstSync = $firstSync; 4832 } 4833 public function getFirstSync() 4834 { 4835 return $this->firstSync; 4836 } 4837 public function setHardwareId($hardwareId) 4838 { 4839 $this->hardwareId = $hardwareId; 4840 } 4841 public function getHardwareId() 4842 { 4843 return $this->hardwareId; 4844 } 4845 public function setImei($imei) 4846 { 4847 $this->imei = $imei; 4848 } 4849 public function getImei() 4850 { 4851 return $this->imei; 4852 } 4853 public function setKernelVersion($kernelVersion) 4854 { 4855 $this->kernelVersion = $kernelVersion; 4856 } 4857 public function getKernelVersion() 4858 { 4859 return $this->kernelVersion; 4860 } 4861 public function setKind($kind) 4862 { 4863 $this->kind = $kind; 4864 } 4865 public function getKind() 4866 { 4867 return $this->kind; 4868 } 4869 public function setLastSync($lastSync) 4870 { 4871 $this->lastSync = $lastSync; 4872 } 4873 public function getLastSync() 4874 { 4875 return $this->lastSync; 4876 } 4877 public function setManagedAccountIsOnOwnerProfile($managedAccountIsOnOwnerProfile) 4878 { 4879 $this->managedAccountIsOnOwnerProfile = $managedAccountIsOnOwnerProfile; 4880 } 4881 public function getManagedAccountIsOnOwnerProfile() 4882 { 4883 return $this->managedAccountIsOnOwnerProfile; 4884 } 4885 public function setMeid($meid) 4886 { 4887 $this->meid = $meid; 4888 } 4889 public function getMeid() 4890 { 4891 return $this->meid; 4892 } 4893 public function setModel($model) 4894 { 4895 $this->model = $model; 4896 } 4897 public function getModel() 4898 { 4899 return $this->model; 4900 } 4901 public function setName($name) 4902 { 4903 $this->name = $name; 4904 } 4905 public function getName() 4906 { 4907 return $this->name; 4908 } 4909 public function setNetworkOperator($networkOperator) 4910 { 4911 $this->networkOperator = $networkOperator; 4912 } 4913 public function getNetworkOperator() 4914 { 4915 return $this->networkOperator; 4916 } 4917 public function setOs($os) 4918 { 4919 $this->os = $os; 4920 } 4921 public function getOs() 4922 { 4923 return $this->os; 4924 } 4925 public function setOtherAccountsInfo($otherAccountsInfo) 4926 { 4927 $this->otherAccountsInfo = $otherAccountsInfo; 4928 } 4929 public function getOtherAccountsInfo() 4930 { 4931 return $this->otherAccountsInfo; 4932 } 4933 public function setResourceId($resourceId) 4934 { 4935 $this->resourceId = $resourceId; 4936 } 4937 public function getResourceId() 4938 { 4939 return $this->resourceId; 4940 } 4941 public function setSerialNumber($serialNumber) 4942 { 4943 $this->serialNumber = $serialNumber; 4944 } 4945 public function getSerialNumber() 4946 { 4947 return $this->serialNumber; 4948 } 4949 public function setStatus($status) 4950 { 4951 $this->status = $status; 4952 } 4953 public function getStatus() 4954 { 4955 return $this->status; 4956 } 4957 public function setSupportsWorkProfile($supportsWorkProfile) 4958 { 4959 $this->supportsWorkProfile = $supportsWorkProfile; 4960 } 4961 public function getSupportsWorkProfile() 4962 { 4963 return $this->supportsWorkProfile; 4964 } 4965 public function setType($type) 4966 { 4967 $this->type = $type; 4968 } 4969 public function getType() 4970 { 4971 return $this->type; 4972 } 4973 public function setUnknownSourcesStatus($unknownSourcesStatus) 4974 { 4975 $this->unknownSourcesStatus = $unknownSourcesStatus; 4976 } 4977 public function getUnknownSourcesStatus() 4978 { 4979 return $this->unknownSourcesStatus; 4980 } 4981 public function setUserAgent($userAgent) 4982 { 4983 $this->userAgent = $userAgent; 4984 } 4985 public function getUserAgent() 4986 { 4987 return $this->userAgent; 4988 } 4989 public function setWifiMacAddress($wifiMacAddress) 4990 { 4991 $this->wifiMacAddress = $wifiMacAddress; 4992 } 4993 public function getWifiMacAddress() 4994 { 4995 return $this->wifiMacAddress; 4996 } 4997 } 4998 4999 #[AllowDynamicProperties] 5000 class Google_Service_Directory_MobileDeviceAction extends Google_Model 5001 { 5002 protected $internal_gapi_mappings = array( 5003 ); 5004 public $action; 5005 5006 5007 public function setAction($action) 5008 { 5009 $this->action = $action; 5010 } 5011 public function getAction() 5012 { 5013 return $this->action; 5014 } 5015 } 5016 5017 #[AllowDynamicProperties] 5018 class Google_Service_Directory_MobileDeviceApplications extends Google_Collection 5019 { 5020 protected $collection_key = 'permission'; 5021 protected $internal_gapi_mappings = array( 5022 ); 5023 public $displayName; 5024 public $packageName; 5025 public $permission; 5026 public $versionCode; 5027 public $versionName; 5028 5029 5030 public function setDisplayName($displayName) 5031 { 5032 $this->displayName = $displayName; 5033 } 5034 public function getDisplayName() 5035 { 5036 return $this->displayName; 5037 } 5038 public function setPackageName($packageName) 5039 { 5040 $this->packageName = $packageName; 5041 } 5042 public function getPackageName() 5043 { 5044 return $this->packageName; 5045 } 5046 public function setPermission($permission) 5047 { 5048 $this->permission = $permission; 5049 } 5050 public function getPermission() 5051 { 5052 return $this->permission; 5053 } 5054 public function setVersionCode($versionCode) 5055 { 5056 $this->versionCode = $versionCode; 5057 } 5058 public function getVersionCode() 5059 { 5060 return $this->versionCode; 5061 } 5062 public function setVersionName($versionName) 5063 { 5064 $this->versionName = $versionName; 5065 } 5066 public function getVersionName() 5067 { 5068 return $this->versionName; 5069 } 5070 } 5071 5072 #[AllowDynamicProperties] 5073 class Google_Service_Directory_MobileDevices extends Google_Collection 5074 { 5075 protected $collection_key = 'mobiledevices'; 5076 protected $internal_gapi_mappings = array( 5077 ); 5078 public $etag; 5079 public $kind; 5080 protected $mobiledevicesType = 'Google_Service_Directory_MobileDevice'; 5081 protected $mobiledevicesDataType = 'array'; 5082 public $nextPageToken; 5083 5084 5085 public function setEtag($etag) 5086 { 5087 $this->etag = $etag; 5088 } 5089 public function getEtag() 5090 { 5091 return $this->etag; 5092 } 5093 public function setKind($kind) 5094 { 5095 $this->kind = $kind; 5096 } 5097 public function getKind() 5098 { 5099 return $this->kind; 5100 } 5101 public function setMobiledevices($mobiledevices) 5102 { 5103 $this->mobiledevices = $mobiledevices; 5104 } 5105 public function getMobiledevices() 5106 { 5107 return $this->mobiledevices; 5108 } 5109 public function setNextPageToken($nextPageToken) 5110 { 5111 $this->nextPageToken = $nextPageToken; 5112 } 5113 public function getNextPageToken() 5114 { 5115 return $this->nextPageToken; 5116 } 5117 } 5118 5119 #[AllowDynamicProperties] 5120 class Google_Service_Directory_Notification extends Google_Model 5121 { 5122 protected $internal_gapi_mappings = array( 5123 ); 5124 public $body; 5125 public $etag; 5126 public $fromAddress; 5127 public $isUnread; 5128 public $kind; 5129 public $notificationId; 5130 public $sendTime; 5131 public $subject; 5132 5133 5134 public function setBody($body) 5135 { 5136 $this->body = $body; 5137 } 5138 public function getBody() 5139 { 5140 return $this->body; 5141 } 5142 public function setEtag($etag) 5143 { 5144 $this->etag = $etag; 5145 } 5146 public function getEtag() 5147 { 5148 return $this->etag; 5149 } 5150 public function setFromAddress($fromAddress) 5151 { 5152 $this->fromAddress = $fromAddress; 5153 } 5154 public function getFromAddress() 5155 { 5156 return $this->fromAddress; 5157 } 5158 public function setIsUnread($isUnread) 5159 { 5160 $this->isUnread = $isUnread; 5161 } 5162 public function getIsUnread() 5163 { 5164 return $this->isUnread; 5165 } 5166 public function setKind($kind) 5167 { 5168 $this->kind = $kind; 5169 } 5170 public function getKind() 5171 { 5172 return $this->kind; 5173 } 5174 public function setNotificationId($notificationId) 5175 { 5176 $this->notificationId = $notificationId; 5177 } 5178 public function getNotificationId() 5179 { 5180 return $this->notificationId; 5181 } 5182 public function setSendTime($sendTime) 5183 { 5184 $this->sendTime = $sendTime; 5185 } 5186 public function getSendTime() 5187 { 5188 return $this->sendTime; 5189 } 5190 public function setSubject($subject) 5191 { 5192 $this->subject = $subject; 5193 } 5194 public function getSubject() 5195 { 5196 return $this->subject; 5197 } 5198 } 5199 5200 #[AllowDynamicProperties] 5201 class Google_Service_Directory_Notifications extends Google_Collection 5202 { 5203 protected $collection_key = 'items'; 5204 protected $internal_gapi_mappings = array( 5205 ); 5206 public $etag; 5207 protected $itemsType = 'Google_Service_Directory_Notification'; 5208 protected $itemsDataType = 'array'; 5209 public $kind; 5210 public $nextPageToken; 5211 public $unreadNotificationsCount; 5212 5213 5214 public function setEtag($etag) 5215 { 5216 $this->etag = $etag; 5217 } 5218 public function getEtag() 5219 { 5220 return $this->etag; 5221 } 5222 public function setItems($items) 5223 { 5224 $this->items = $items; 5225 } 5226 public function getItems() 5227 { 5228 return $this->items; 5229 } 5230 public function setKind($kind) 5231 { 5232 $this->kind = $kind; 5233 } 5234 public function getKind() 5235 { 5236 return $this->kind; 5237 } 5238 public function setNextPageToken($nextPageToken) 5239 { 5240 $this->nextPageToken = $nextPageToken; 5241 } 5242 public function getNextPageToken() 5243 { 5244 return $this->nextPageToken; 5245 } 5246 public function setUnreadNotificationsCount($unreadNotificationsCount) 5247 { 5248 $this->unreadNotificationsCount = $unreadNotificationsCount; 5249 } 5250 public function getUnreadNotificationsCount() 5251 { 5252 return $this->unreadNotificationsCount; 5253 } 5254 } 5255 5256 #[AllowDynamicProperties] 5257 class Google_Service_Directory_OrgUnit extends Google_Model 5258 { 5259 protected $internal_gapi_mappings = array( 5260 ); 5261 public $blockInheritance; 5262 public $description; 5263 public $etag; 5264 public $kind; 5265 public $name; 5266 public $orgUnitId; 5267 public $orgUnitPath; 5268 public $parentOrgUnitId; 5269 public $parentOrgUnitPath; 5270 5271 5272 public function setBlockInheritance($blockInheritance) 5273 { 5274 $this->blockInheritance = $blockInheritance; 5275 } 5276 public function getBlockInheritance() 5277 { 5278 return $this->blockInheritance; 5279 } 5280 public function setDescription($description) 5281 { 5282 $this->description = $description; 5283 } 5284 public function getDescription() 5285 { 5286 return $this->description; 5287 } 5288 public function setEtag($etag) 5289 { 5290 $this->etag = $etag; 5291 } 5292 public function getEtag() 5293 { 5294 return $this->etag; 5295 } 5296 public function setKind($kind) 5297 { 5298 $this->kind = $kind; 5299 } 5300 public function getKind() 5301 { 5302 return $this->kind; 5303 } 5304 public function setName($name) 5305 { 5306 $this->name = $name; 5307 } 5308 public function getName() 5309 { 5310 return $this->name; 5311 } 5312 public function setOrgUnitId($orgUnitId) 5313 { 5314 $this->orgUnitId = $orgUnitId; 5315 } 5316 public function getOrgUnitId() 5317 { 5318 return $this->orgUnitId; 5319 } 5320 public function setOrgUnitPath($orgUnitPath) 5321 { 5322 $this->orgUnitPath = $orgUnitPath; 5323 } 5324 public function getOrgUnitPath() 5325 { 5326 return $this->orgUnitPath; 5327 } 5328 public function setParentOrgUnitId($parentOrgUnitId) 5329 { 5330 $this->parentOrgUnitId = $parentOrgUnitId; 5331 } 5332 public function getParentOrgUnitId() 5333 { 5334 return $this->parentOrgUnitId; 5335 } 5336 public function setParentOrgUnitPath($parentOrgUnitPath) 5337 { 5338 $this->parentOrgUnitPath = $parentOrgUnitPath; 5339 } 5340 public function getParentOrgUnitPath() 5341 { 5342 return $this->parentOrgUnitPath; 5343 } 5344 } 5345 5346 #[AllowDynamicProperties] 5347 class Google_Service_Directory_OrgUnits extends Google_Collection 5348 { 5349 protected $collection_key = 'organizationUnits'; 5350 protected $internal_gapi_mappings = array( 5351 ); 5352 public $etag; 5353 public $kind; 5354 protected $organizationUnitsType = 'Google_Service_Directory_OrgUnit'; 5355 protected $organizationUnitsDataType = 'array'; 5356 5357 5358 public function setEtag($etag) 5359 { 5360 $this->etag = $etag; 5361 } 5362 public function getEtag() 5363 { 5364 return $this->etag; 5365 } 5366 public function setKind($kind) 5367 { 5368 $this->kind = $kind; 5369 } 5370 public function getKind() 5371 { 5372 return $this->kind; 5373 } 5374 public function setOrganizationUnits($organizationUnits) 5375 { 5376 $this->organizationUnits = $organizationUnits; 5377 } 5378 public function getOrganizationUnits() 5379 { 5380 return $this->organizationUnits; 5381 } 5382 } 5383 5384 #[AllowDynamicProperties] 5385 class Google_Service_Directory_Privilege extends Google_Collection 5386 { 5387 protected $collection_key = 'childPrivileges'; 5388 protected $internal_gapi_mappings = array( 5389 ); 5390 protected $childPrivilegesType = 'Google_Service_Directory_Privilege'; 5391 protected $childPrivilegesDataType = 'array'; 5392 public $etag; 5393 public $isOuScopable; 5394 public $kind; 5395 public $privilegeName; 5396 public $serviceId; 5397 public $serviceName; 5398 5399 5400 public function setChildPrivileges($childPrivileges) 5401 { 5402 $this->childPrivileges = $childPrivileges; 5403 } 5404 public function getChildPrivileges() 5405 { 5406 return $this->childPrivileges; 5407 } 5408 public function setEtag($etag) 5409 { 5410 $this->etag = $etag; 5411 } 5412 public function getEtag() 5413 { 5414 return $this->etag; 5415 } 5416 public function setIsOuScopable($isOuScopable) 5417 { 5418 $this->isOuScopable = $isOuScopable; 5419 } 5420 public function getIsOuScopable() 5421 { 5422 return $this->isOuScopable; 5423 } 5424 public function setKind($kind) 5425 { 5426 $this->kind = $kind; 5427 } 5428 public function getKind() 5429 { 5430 return $this->kind; 5431 } 5432 public function setPrivilegeName($privilegeName) 5433 { 5434 $this->privilegeName = $privilegeName; 5435 } 5436 public function getPrivilegeName() 5437 { 5438 return $this->privilegeName; 5439 } 5440 public function setServiceId($serviceId) 5441 { 5442 $this->serviceId = $serviceId; 5443 } 5444 public function getServiceId() 5445 { 5446 return $this->serviceId; 5447 } 5448 public function setServiceName($serviceName) 5449 { 5450 $this->serviceName = $serviceName; 5451 } 5452 public function getServiceName() 5453 { 5454 return $this->serviceName; 5455 } 5456 } 5457 5458 #[AllowDynamicProperties] 5459 class Google_Service_Directory_Privileges extends Google_Collection 5460 { 5461 protected $collection_key = 'items'; 5462 protected $internal_gapi_mappings = array( 5463 ); 5464 public $etag; 5465 protected $itemsType = 'Google_Service_Directory_Privilege'; 5466 protected $itemsDataType = 'array'; 5467 public $kind; 5468 5469 5470 public function setEtag($etag) 5471 { 5472 $this->etag = $etag; 5473 } 5474 public function getEtag() 5475 { 5476 return $this->etag; 5477 } 5478 public function setItems($items) 5479 { 5480 $this->items = $items; 5481 } 5482 public function getItems() 5483 { 5484 return $this->items; 5485 } 5486 public function setKind($kind) 5487 { 5488 $this->kind = $kind; 5489 } 5490 public function getKind() 5491 { 5492 return $this->kind; 5493 } 5494 } 5495 5496 #[AllowDynamicProperties] 5497 class Google_Service_Directory_Role extends Google_Collection 5498 { 5499 protected $collection_key = 'rolePrivileges'; 5500 protected $internal_gapi_mappings = array( 5501 ); 5502 public $etag; 5503 public $isSuperAdminRole; 5504 public $isSystemRole; 5505 public $kind; 5506 public $roleDescription; 5507 public $roleId; 5508 public $roleName; 5509 protected $rolePrivilegesType = 'Google_Service_Directory_RoleRolePrivileges'; 5510 protected $rolePrivilegesDataType = 'array'; 5511 5512 5513 public function setEtag($etag) 5514 { 5515 $this->etag = $etag; 5516 } 5517 public function getEtag() 5518 { 5519 return $this->etag; 5520 } 5521 public function setIsSuperAdminRole($isSuperAdminRole) 5522 { 5523 $this->isSuperAdminRole = $isSuperAdminRole; 5524 } 5525 public function getIsSuperAdminRole() 5526 { 5527 return $this->isSuperAdminRole; 5528 } 5529 public function setIsSystemRole($isSystemRole) 5530 { 5531 $this->isSystemRole = $isSystemRole; 5532 } 5533 public function getIsSystemRole() 5534 { 5535 return $this->isSystemRole; 5536 } 5537 public function setKind($kind) 5538 { 5539 $this->kind = $kind; 5540 } 5541 public function getKind() 5542 { 5543 return $this->kind; 5544 } 5545 public function setRoleDescription($roleDescription) 5546 { 5547 $this->roleDescription = $roleDescription; 5548 } 5549 public function getRoleDescription() 5550 { 5551 return $this->roleDescription; 5552 } 5553 public function setRoleId($roleId) 5554 { 5555 $this->roleId = $roleId; 5556 } 5557 public function getRoleId() 5558 { 5559 return $this->roleId; 5560 } 5561 public function setRoleName($roleName) 5562 { 5563 $this->roleName = $roleName; 5564 } 5565 public function getRoleName() 5566 { 5567 return $this->roleName; 5568 } 5569 public function setRolePrivileges($rolePrivileges) 5570 { 5571 $this->rolePrivileges = $rolePrivileges; 5572 } 5573 public function getRolePrivileges() 5574 { 5575 return $this->rolePrivileges; 5576 } 5577 } 5578 5579 #[AllowDynamicProperties] 5580 class Google_Service_Directory_RoleAssignment extends Google_Model 5581 { 5582 protected $internal_gapi_mappings = array( 5583 ); 5584 public $assignedTo; 5585 public $etag; 5586 public $kind; 5587 public $orgUnitId; 5588 public $roleAssignmentId; 5589 public $roleId; 5590 public $scopeType; 5591 5592 5593 public function setAssignedTo($assignedTo) 5594 { 5595 $this->assignedTo = $assignedTo; 5596 } 5597 public function getAssignedTo() 5598 { 5599 return $this->assignedTo; 5600 } 5601 public function setEtag($etag) 5602 { 5603 $this->etag = $etag; 5604 } 5605 public function getEtag() 5606 { 5607 return $this->etag; 5608 } 5609 public function setKind($kind) 5610 { 5611 $this->kind = $kind; 5612 } 5613 public function getKind() 5614 { 5615 return $this->kind; 5616 } 5617 public function setOrgUnitId($orgUnitId) 5618 { 5619 $this->orgUnitId = $orgUnitId; 5620 } 5621 public function getOrgUnitId() 5622 { 5623 return $this->orgUnitId; 5624 } 5625 public function setRoleAssignmentId($roleAssignmentId) 5626 { 5627 $this->roleAssignmentId = $roleAssignmentId; 5628 } 5629 public function getRoleAssignmentId() 5630 { 5631 return $this->roleAssignmentId; 5632 } 5633 public function setRoleId($roleId) 5634 { 5635 $this->roleId = $roleId; 5636 } 5637 public function getRoleId() 5638 { 5639 return $this->roleId; 5640 } 5641 public function setScopeType($scopeType) 5642 { 5643 $this->scopeType = $scopeType; 5644 } 5645 public function getScopeType() 5646 { 5647 return $this->scopeType; 5648 } 5649 } 5650 5651 #[AllowDynamicProperties] 5652 class Google_Service_Directory_RoleAssignments extends Google_Collection 5653 { 5654 protected $collection_key = 'items'; 5655 protected $internal_gapi_mappings = array( 5656 ); 5657 public $etag; 5658 protected $itemsType = 'Google_Service_Directory_RoleAssignment'; 5659 protected $itemsDataType = 'array'; 5660 public $kind; 5661 public $nextPageToken; 5662 5663 5664 public function setEtag($etag) 5665 { 5666 $this->etag = $etag; 5667 } 5668 public function getEtag() 5669 { 5670 return $this->etag; 5671 } 5672 public function setItems($items) 5673 { 5674 $this->items = $items; 5675 } 5676 public function getItems() 5677 { 5678 return $this->items; 5679 } 5680 public function setKind($kind) 5681 { 5682 $this->kind = $kind; 5683 } 5684 public function getKind() 5685 { 5686 return $this->kind; 5687 } 5688 public function setNextPageToken($nextPageToken) 5689 { 5690 $this->nextPageToken = $nextPageToken; 5691 } 5692 public function getNextPageToken() 5693 { 5694 return $this->nextPageToken; 5695 } 5696 } 5697 5698 #[AllowDynamicProperties] 5699 class Google_Service_Directory_RoleRolePrivileges extends Google_Model 5700 { 5701 protected $internal_gapi_mappings = array( 5702 ); 5703 public $privilegeName; 5704 public $serviceId; 5705 5706 5707 public function setPrivilegeName($privilegeName) 5708 { 5709 $this->privilegeName = $privilegeName; 5710 } 5711 public function getPrivilegeName() 5712 { 5713 return $this->privilegeName; 5714 } 5715 public function setServiceId($serviceId) 5716 { 5717 $this->serviceId = $serviceId; 5718 } 5719 public function getServiceId() 5720 { 5721 return $this->serviceId; 5722 } 5723 } 5724 5725 #[AllowDynamicProperties] 5726 class Google_Service_Directory_Roles extends Google_Collection 5727 { 5728 protected $collection_key = 'items'; 5729 protected $internal_gapi_mappings = array( 5730 ); 5731 public $etag; 5732 protected $itemsType = 'Google_Service_Directory_Role'; 5733 protected $itemsDataType = 'array'; 5734 public $kind; 5735 public $nextPageToken; 5736 5737 5738 public function setEtag($etag) 5739 { 5740 $this->etag = $etag; 5741 } 5742 public function getEtag() 5743 { 5744 return $this->etag; 5745 } 5746 public function setItems($items) 5747 { 5748 $this->items = $items; 5749 } 5750 public function getItems() 5751 { 5752 return $this->items; 5753 } 5754 public function setKind($kind) 5755 { 5756 $this->kind = $kind; 5757 } 5758 public function getKind() 5759 { 5760 return $this->kind; 5761 } 5762 public function setNextPageToken($nextPageToken) 5763 { 5764 $this->nextPageToken = $nextPageToken; 5765 } 5766 public function getNextPageToken() 5767 { 5768 return $this->nextPageToken; 5769 } 5770 } 5771 5772 #[AllowDynamicProperties] 5773 class Google_Service_Directory_Schema extends Google_Collection 5774 { 5775 protected $collection_key = 'fields'; 5776 protected $internal_gapi_mappings = array( 5777 ); 5778 public $etag; 5779 protected $fieldsType = 'Google_Service_Directory_SchemaFieldSpec'; 5780 protected $fieldsDataType = 'array'; 5781 public $kind; 5782 public $schemaId; 5783 public $schemaName; 5784 5785 5786 public function setEtag($etag) 5787 { 5788 $this->etag = $etag; 5789 } 5790 public function getEtag() 5791 { 5792 return $this->etag; 5793 } 5794 public function setFields($fields) 5795 { 5796 $this->fields = $fields; 5797 } 5798 public function getFields() 5799 { 5800 return $this->fields; 5801 } 5802 public function setKind($kind) 5803 { 5804 $this->kind = $kind; 5805 } 5806 public function getKind() 5807 { 5808 return $this->kind; 5809 } 5810 public function setSchemaId($schemaId) 5811 { 5812 $this->schemaId = $schemaId; 5813 } 5814 public function getSchemaId() 5815 { 5816 return $this->schemaId; 5817 } 5818 public function setSchemaName($schemaName) 5819 { 5820 $this->schemaName = $schemaName; 5821 } 5822 public function getSchemaName() 5823 { 5824 return $this->schemaName; 5825 } 5826 } 5827 5828 #[AllowDynamicProperties] 5829 class Google_Service_Directory_SchemaFieldSpec extends Google_Model 5830 { 5831 protected $internal_gapi_mappings = array( 5832 ); 5833 public $etag; 5834 public $fieldId; 5835 public $fieldName; 5836 public $fieldType; 5837 public $indexed; 5838 public $kind; 5839 public $multiValued; 5840 protected $numericIndexingSpecType = 'Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec'; 5841 protected $numericIndexingSpecDataType = ''; 5842 public $readAccessType; 5843 5844 5845 public function setEtag($etag) 5846 { 5847 $this->etag = $etag; 5848 } 5849 public function getEtag() 5850 { 5851 return $this->etag; 5852 } 5853 public function setFieldId($fieldId) 5854 { 5855 $this->fieldId = $fieldId; 5856 } 5857 public function getFieldId() 5858 { 5859 return $this->fieldId; 5860 } 5861 public function setFieldName($fieldName) 5862 { 5863 $this->fieldName = $fieldName; 5864 } 5865 public function getFieldName() 5866 { 5867 return $this->fieldName; 5868 } 5869 public function setFieldType($fieldType) 5870 { 5871 $this->fieldType = $fieldType; 5872 } 5873 public function getFieldType() 5874 { 5875 return $this->fieldType; 5876 } 5877 public function setIndexed($indexed) 5878 { 5879 $this->indexed = $indexed; 5880 } 5881 public function getIndexed() 5882 { 5883 return $this->indexed; 5884 } 5885 public function setKind($kind) 5886 { 5887 $this->kind = $kind; 5888 } 5889 public function getKind() 5890 { 5891 return $this->kind; 5892 } 5893 public function setMultiValued($multiValued) 5894 { 5895 $this->multiValued = $multiValued; 5896 } 5897 public function getMultiValued() 5898 { 5899 return $this->multiValued; 5900 } 5901 public function setNumericIndexingSpec(Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec $numericIndexingSpec) 5902 { 5903 $this->numericIndexingSpec = $numericIndexingSpec; 5904 } 5905 public function getNumericIndexingSpec() 5906 { 5907 return $this->numericIndexingSpec; 5908 } 5909 public function setReadAccessType($readAccessType) 5910 { 5911 $this->readAccessType = $readAccessType; 5912 } 5913 public function getReadAccessType() 5914 { 5915 return $this->readAccessType; 5916 } 5917 } 5918 5919 #[AllowDynamicProperties] 5920 class Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec extends Google_Model 5921 { 5922 protected $internal_gapi_mappings = array( 5923 ); 5924 public $maxValue; 5925 public $minValue; 5926 5927 5928 public function setMaxValue($maxValue) 5929 { 5930 $this->maxValue = $maxValue; 5931 } 5932 public function getMaxValue() 5933 { 5934 return $this->maxValue; 5935 } 5936 public function setMinValue($minValue) 5937 { 5938 $this->minValue = $minValue; 5939 } 5940 public function getMinValue() 5941 { 5942 return $this->minValue; 5943 } 5944 } 5945 5946 #[AllowDynamicProperties] 5947 class Google_Service_Directory_Schemas extends Google_Collection 5948 { 5949 protected $collection_key = 'schemas'; 5950 protected $internal_gapi_mappings = array( 5951 ); 5952 public $etag; 5953 public $kind; 5954 protected $schemasType = 'Google_Service_Directory_Schema'; 5955 protected $schemasDataType = 'array'; 5956 5957 5958 public function setEtag($etag) 5959 { 5960 $this->etag = $etag; 5961 } 5962 public function getEtag() 5963 { 5964 return $this->etag; 5965 } 5966 public function setKind($kind) 5967 { 5968 $this->kind = $kind; 5969 } 5970 public function getKind() 5971 { 5972 return $this->kind; 5973 } 5974 public function setSchemas($schemas) 5975 { 5976 $this->schemas = $schemas; 5977 } 5978 public function getSchemas() 5979 { 5980 return $this->schemas; 5981 } 5982 } 5983 5984 #[AllowDynamicProperties] 5985 class Google_Service_Directory_Token extends Google_Collection 5986 { 5987 protected $collection_key = 'scopes'; 5988 protected $internal_gapi_mappings = array( 5989 ); 5990 public $anonymous; 5991 public $clientId; 5992 public $displayText; 5993 public $etag; 5994 public $kind; 5995 public $nativeApp; 5996 public $scopes; 5997 public $userKey; 5998 5999 6000 public function setAnonymous($anonymous) 6001 { 6002 $this->anonymous = $anonymous; 6003 } 6004 public function getAnonymous() 6005 { 6006 return $this->anonymous; 6007 } 6008 public function setClientId($clientId) 6009 { 6010 $this->clientId = $clientId; 6011 } 6012 public function getClientId() 6013 { 6014 return $this->clientId; 6015 } 6016 public function setDisplayText($displayText) 6017 { 6018 $this->displayText = $displayText; 6019 } 6020 public function getDisplayText() 6021 { 6022 return $this->displayText; 6023 } 6024 public function setEtag($etag) 6025 { 6026 $this->etag = $etag; 6027 } 6028 public function getEtag() 6029 { 6030 return $this->etag; 6031 } 6032 public function setKind($kind) 6033 { 6034 $this->kind = $kind; 6035 } 6036 public function getKind() 6037 { 6038 return $this->kind; 6039 } 6040 public function setNativeApp($nativeApp) 6041 { 6042 $this->nativeApp = $nativeApp; 6043 } 6044 public function getNativeApp() 6045 { 6046 return $this->nativeApp; 6047 } 6048 public function setScopes($scopes) 6049 { 6050 $this->scopes = $scopes; 6051 } 6052 public function getScopes() 6053 { 6054 return $this->scopes; 6055 } 6056 public function setUserKey($userKey) 6057 { 6058 $this->userKey = $userKey; 6059 } 6060 public function getUserKey() 6061 { 6062 return $this->userKey; 6063 } 6064 } 6065 6066 #[AllowDynamicProperties] 6067 class Google_Service_Directory_Tokens extends Google_Collection 6068 { 6069 protected $collection_key = 'items'; 6070 protected $internal_gapi_mappings = array( 6071 ); 6072 public $etag; 6073 protected $itemsType = 'Google_Service_Directory_Token'; 6074 protected $itemsDataType = 'array'; 6075 public $kind; 6076 6077 6078 public function setEtag($etag) 6079 { 6080 $this->etag = $etag; 6081 } 6082 public function getEtag() 6083 { 6084 return $this->etag; 6085 } 6086 public function setItems($items) 6087 { 6088 $this->items = $items; 6089 } 6090 public function getItems() 6091 { 6092 return $this->items; 6093 } 6094 public function setKind($kind) 6095 { 6096 $this->kind = $kind; 6097 } 6098 public function getKind() 6099 { 6100 return $this->kind; 6101 } 6102 } 6103 6104 #[AllowDynamicProperties] 6105 class Google_Service_Directory_User extends Google_Collection 6106 { 6107 protected $collection_key = 'nonEditableAliases'; 6108 protected $internal_gapi_mappings = array( 6109 ); 6110 public $addresses; 6111 public $agreedToTerms; 6112 public $aliases; 6113 public $changePasswordAtNextLogin; 6114 public $creationTime; 6115 public $customSchemas; 6116 public $customerId; 6117 public $deletionTime; 6118 public $emails; 6119 public $etag; 6120 public $externalIds; 6121 public $hashFunction; 6122 public $id; 6123 public $ims; 6124 public $includeInGlobalAddressList; 6125 public $ipWhitelisted; 6126 public $isAdmin; 6127 public $isDelegatedAdmin; 6128 public $isMailboxSetup; 6129 public $kind; 6130 public $lastLoginTime; 6131 protected $nameType = 'Google_Service_Directory_UserName'; 6132 protected $nameDataType = ''; 6133 public $nonEditableAliases; 6134 public $notes; 6135 public $orgUnitPath; 6136 public $organizations; 6137 public $password; 6138 public $phones; 6139 public $primaryEmail; 6140 public $relations; 6141 public $suspended; 6142 public $suspensionReason; 6143 public $thumbnailPhotoEtag; 6144 public $thumbnailPhotoUrl; 6145 public $websites; 6146 6147 6148 public function setAddresses($addresses) 6149 { 6150 $this->addresses = $addresses; 6151 } 6152 public function getAddresses() 6153 { 6154 return $this->addresses; 6155 } 6156 public function setAgreedToTerms($agreedToTerms) 6157 { 6158 $this->agreedToTerms = $agreedToTerms; 6159 } 6160 public function getAgreedToTerms() 6161 { 6162 return $this->agreedToTerms; 6163 } 6164 public function setAliases($aliases) 6165 { 6166 $this->aliases = $aliases; 6167 } 6168 public function getAliases() 6169 { 6170 return $this->aliases; 6171 } 6172 public function setChangePasswordAtNextLogin($changePasswordAtNextLogin) 6173 { 6174 $this->changePasswordAtNextLogin = $changePasswordAtNextLogin; 6175 } 6176 public function getChangePasswordAtNextLogin() 6177 { 6178 return $this->changePasswordAtNextLogin; 6179 } 6180 public function setCreationTime($creationTime) 6181 { 6182 $this->creationTime = $creationTime; 6183 } 6184 public function getCreationTime() 6185 { 6186 return $this->creationTime; 6187 } 6188 public function setCustomSchemas($customSchemas) 6189 { 6190 $this->customSchemas = $customSchemas; 6191 } 6192 public function getCustomSchemas() 6193 { 6194 return $this->customSchemas; 6195 } 6196 public function setCustomerId($customerId) 6197 { 6198 $this->customerId = $customerId; 6199 } 6200 public function getCustomerId() 6201 { 6202 return $this->customerId; 6203 } 6204 public function setDeletionTime($deletionTime) 6205 { 6206 $this->deletionTime = $deletionTime; 6207 } 6208 public function getDeletionTime() 6209 { 6210 return $this->deletionTime; 6211 } 6212 public function setEmails($emails) 6213 { 6214 $this->emails = $emails; 6215 } 6216 public function getEmails() 6217 { 6218 return $this->emails; 6219 } 6220 public function setEtag($etag) 6221 { 6222 $this->etag = $etag; 6223 } 6224 public function getEtag() 6225 { 6226 return $this->etag; 6227 } 6228 public function setExternalIds($externalIds) 6229 { 6230 $this->externalIds = $externalIds; 6231 } 6232 public function getExternalIds() 6233 { 6234 return $this->externalIds; 6235 } 6236 public function setHashFunction($hashFunction) 6237 { 6238 $this->hashFunction = $hashFunction; 6239 } 6240 public function getHashFunction() 6241 { 6242 return $this->hashFunction; 6243 } 6244 public function setId($id) 6245 { 6246 $this->id = $id; 6247 } 6248 public function getId() 6249 { 6250 return $this->id; 6251 } 6252 public function setIms($ims) 6253 { 6254 $this->ims = $ims; 6255 } 6256 public function getIms() 6257 { 6258 return $this->ims; 6259 } 6260 public function setIncludeInGlobalAddressList($includeInGlobalAddressList) 6261 { 6262 $this->includeInGlobalAddressList = $includeInGlobalAddressList; 6263 } 6264 public function getIncludeInGlobalAddressList() 6265 { 6266 return $this->includeInGlobalAddressList; 6267 } 6268 public function setIpWhitelisted($ipWhitelisted) 6269 { 6270 $this->ipWhitelisted = $ipWhitelisted; 6271 } 6272 public function getIpWhitelisted() 6273 { 6274 return $this->ipWhitelisted; 6275 } 6276 public function setIsAdmin($isAdmin) 6277 { 6278 $this->isAdmin = $isAdmin; 6279 } 6280 public function getIsAdmin() 6281 { 6282 return $this->isAdmin; 6283 } 6284 public function setIsDelegatedAdmin($isDelegatedAdmin) 6285 { 6286 $this->isDelegatedAdmin = $isDelegatedAdmin; 6287 } 6288 public function getIsDelegatedAdmin() 6289 { 6290 return $this->isDelegatedAdmin; 6291 } 6292 public function setIsMailboxSetup($isMailboxSetup) 6293 { 6294 $this->isMailboxSetup = $isMailboxSetup; 6295 } 6296 public function getIsMailboxSetup() 6297 { 6298 return $this->isMailboxSetup; 6299 } 6300 public function setKind($kind) 6301 { 6302 $this->kind = $kind; 6303 } 6304 public function getKind() 6305 { 6306 return $this->kind; 6307 } 6308 public function setLastLoginTime($lastLoginTime) 6309 { 6310 $this->lastLoginTime = $lastLoginTime; 6311 } 6312 public function getLastLoginTime() 6313 { 6314 return $this->lastLoginTime; 6315 } 6316 public function setName(Google_Service_Directory_UserName $name) 6317 { 6318 $this->name = $name; 6319 } 6320 public function getName() 6321 { 6322 return $this->name; 6323 } 6324 public function setNonEditableAliases($nonEditableAliases) 6325 { 6326 $this->nonEditableAliases = $nonEditableAliases; 6327 } 6328 public function getNonEditableAliases() 6329 { 6330 return $this->nonEditableAliases; 6331 } 6332 public function setNotes($notes) 6333 { 6334 $this->notes = $notes; 6335 } 6336 public function getNotes() 6337 { 6338 return $this->notes; 6339 } 6340 public function setOrgUnitPath($orgUnitPath) 6341 { 6342 $this->orgUnitPath = $orgUnitPath; 6343 } 6344 public function getOrgUnitPath() 6345 { 6346 return $this->orgUnitPath; 6347 } 6348 public function setOrganizations($organizations) 6349 { 6350 $this->organizations = $organizations; 6351 } 6352 public function getOrganizations() 6353 { 6354 return $this->organizations; 6355 } 6356 public function setPassword($password) 6357 { 6358 $this->password = $password; 6359 } 6360 public function getPassword() 6361 { 6362 return $this->password; 6363 } 6364 public function setPhones($phones) 6365 { 6366 $this->phones = $phones; 6367 } 6368 public function getPhones() 6369 { 6370 return $this->phones; 6371 } 6372 public function setPrimaryEmail($primaryEmail) 6373 { 6374 $this->primaryEmail = $primaryEmail; 6375 } 6376 public function getPrimaryEmail() 6377 { 6378 return $this->primaryEmail; 6379 } 6380 public function setRelations($relations) 6381 { 6382 $this->relations = $relations; 6383 } 6384 public function getRelations() 6385 { 6386 return $this->relations; 6387 } 6388 public function setSuspended($suspended) 6389 { 6390 $this->suspended = $suspended; 6391 } 6392 public function getSuspended() 6393 { 6394 return $this->suspended; 6395 } 6396 public function setSuspensionReason($suspensionReason) 6397 { 6398 $this->suspensionReason = $suspensionReason; 6399 } 6400 public function getSuspensionReason() 6401 { 6402 return $this->suspensionReason; 6403 } 6404 public function setThumbnailPhotoEtag($thumbnailPhotoEtag) 6405 { 6406 $this->thumbnailPhotoEtag = $thumbnailPhotoEtag; 6407 } 6408 public function getThumbnailPhotoEtag() 6409 { 6410 return $this->thumbnailPhotoEtag; 6411 } 6412 public function setThumbnailPhotoUrl($thumbnailPhotoUrl) 6413 { 6414 $this->thumbnailPhotoUrl = $thumbnailPhotoUrl; 6415 } 6416 public function getThumbnailPhotoUrl() 6417 { 6418 return $this->thumbnailPhotoUrl; 6419 } 6420 public function setWebsites($websites) 6421 { 6422 $this->websites = $websites; 6423 } 6424 public function getWebsites() 6425 { 6426 return $this->websites; 6427 } 6428 } 6429 6430 #[AllowDynamicProperties] 6431 class Google_Service_Directory_UserAbout extends Google_Model 6432 { 6433 protected $internal_gapi_mappings = array( 6434 ); 6435 public $contentType; 6436 public $value; 6437 6438 6439 public function setContentType($contentType) 6440 { 6441 $this->contentType = $contentType; 6442 } 6443 public function getContentType() 6444 { 6445 return $this->contentType; 6446 } 6447 public function setValue($value) 6448 { 6449 $this->value = $value; 6450 } 6451 public function getValue() 6452 { 6453 return $this->value; 6454 } 6455 } 6456 6457 #[AllowDynamicProperties] 6458 class Google_Service_Directory_UserAddress extends Google_Model 6459 { 6460 protected $internal_gapi_mappings = array( 6461 ); 6462 public $country; 6463 public $countryCode; 6464 public $customType; 6465 public $extendedAddress; 6466 public $formatted; 6467 public $locality; 6468 public $poBox; 6469 public $postalCode; 6470 public $primary; 6471 public $region; 6472 public $sourceIsStructured; 6473 public $streetAddress; 6474 public $type; 6475 6476 6477 public function setCountry($country) 6478 { 6479 $this->country = $country; 6480 } 6481 public function getCountry() 6482 { 6483 return $this->country; 6484 } 6485 public function setCountryCode($countryCode) 6486 { 6487 $this->countryCode = $countryCode; 6488 } 6489 public function getCountryCode() 6490 { 6491 return $this->countryCode; 6492 } 6493 public function setCustomType($customType) 6494 { 6495 $this->customType = $customType; 6496 } 6497 public function getCustomType() 6498 { 6499 return $this->customType; 6500 } 6501 public function setExtendedAddress($extendedAddress) 6502 { 6503 $this->extendedAddress = $extendedAddress; 6504 } 6505 public function getExtendedAddress() 6506 { 6507 return $this->extendedAddress; 6508 } 6509 public function setFormatted($formatted) 6510 { 6511 $this->formatted = $formatted; 6512 } 6513 public function getFormatted() 6514 { 6515 return $this->formatted; 6516 } 6517 public function setLocality($locality) 6518 { 6519 $this->locality = $locality; 6520 } 6521 public function getLocality() 6522 { 6523 return $this->locality; 6524 } 6525 public function setPoBox($poBox) 6526 { 6527 $this->poBox = $poBox; 6528 } 6529 public function getPoBox() 6530 { 6531 return $this->poBox; 6532 } 6533 public function setPostalCode($postalCode) 6534 { 6535 $this->postalCode = $postalCode; 6536 } 6537 public function getPostalCode() 6538 { 6539 return $this->postalCode; 6540 } 6541 public function setPrimary($primary) 6542 { 6543 $this->primary = $primary; 6544 } 6545 public function getPrimary() 6546 { 6547 return $this->primary; 6548 } 6549 public function setRegion($region) 6550 { 6551 $this->region = $region; 6552 } 6553 public function getRegion() 6554 { 6555 return $this->region; 6556 } 6557 public function setSourceIsStructured($sourceIsStructured) 6558 { 6559 $this->sourceIsStructured = $sourceIsStructured; 6560 } 6561 public function getSourceIsStructured() 6562 { 6563 return $this->sourceIsStructured; 6564 } 6565 public function setStreetAddress($streetAddress) 6566 { 6567 $this->streetAddress = $streetAddress; 6568 } 6569 public function getStreetAddress() 6570 { 6571 return $this->streetAddress; 6572 } 6573 public function setType($type) 6574 { 6575 $this->type = $type; 6576 } 6577 public function getType() 6578 { 6579 return $this->type; 6580 } 6581 } 6582 6583 #[AllowDynamicProperties] 6584 class Google_Service_Directory_UserCustomProperties extends Google_Model 6585 { 6586 } 6587 6588 #[AllowDynamicProperties] 6589 class Google_Service_Directory_UserCustomSchemas extends Google_Model 6590 { 6591 } 6592 6593 #[AllowDynamicProperties] 6594 class Google_Service_Directory_UserEmail extends Google_Model 6595 { 6596 protected $internal_gapi_mappings = array( 6597 ); 6598 public $address; 6599 public $customType; 6600 public $primary; 6601 public $type; 6602 6603 6604 public function setAddress($address) 6605 { 6606 $this->address = $address; 6607 } 6608 public function getAddress() 6609 { 6610 return $this->address; 6611 } 6612 public function setCustomType($customType) 6613 { 6614 $this->customType = $customType; 6615 } 6616 public function getCustomType() 6617 { 6618 return $this->customType; 6619 } 6620 public function setPrimary($primary) 6621 { 6622 $this->primary = $primary; 6623 } 6624 public function getPrimary() 6625 { 6626 return $this->primary; 6627 } 6628 public function setType($type) 6629 { 6630 $this->type = $type; 6631 } 6632 public function getType() 6633 { 6634 return $this->type; 6635 } 6636 } 6637 6638 #[AllowDynamicProperties] 6639 class Google_Service_Directory_UserExternalId extends Google_Model 6640 { 6641 protected $internal_gapi_mappings = array( 6642 ); 6643 public $customType; 6644 public $type; 6645 public $value; 6646 6647 6648 public function setCustomType($customType) 6649 { 6650 $this->customType = $customType; 6651 } 6652 public function getCustomType() 6653 { 6654 return $this->customType; 6655 } 6656 public function setType($type) 6657 { 6658 $this->type = $type; 6659 } 6660 public function getType() 6661 { 6662 return $this->type; 6663 } 6664 public function setValue($value) 6665 { 6666 $this->value = $value; 6667 } 6668 public function getValue() 6669 { 6670 return $this->value; 6671 } 6672 } 6673 6674 #[AllowDynamicProperties] 6675 class Google_Service_Directory_UserIm extends Google_Model 6676 { 6677 protected $internal_gapi_mappings = array( 6678 ); 6679 public $customProtocol; 6680 public $customType; 6681 public $im; 6682 public $primary; 6683 public $protocol; 6684 public $type; 6685 6686 6687 public function setCustomProtocol($customProtocol) 6688 { 6689 $this->customProtocol = $customProtocol; 6690 } 6691 public function getCustomProtocol() 6692 { 6693 return $this->customProtocol; 6694 } 6695 public function setCustomType($customType) 6696 { 6697 $this->customType = $customType; 6698 } 6699 public function getCustomType() 6700 { 6701 return $this->customType; 6702 } 6703 public function setIm($im) 6704 { 6705 $this->im = $im; 6706 } 6707 public function getIm() 6708 { 6709 return $this->im; 6710 } 6711 public function setPrimary($primary) 6712 { 6713 $this->primary = $primary; 6714 } 6715 public function getPrimary() 6716 { 6717 return $this->primary; 6718 } 6719 public function setProtocol($protocol) 6720 { 6721 $this->protocol = $protocol; 6722 } 6723 public function getProtocol() 6724 { 6725 return $this->protocol; 6726 } 6727 public function setType($type) 6728 { 6729 $this->type = $type; 6730 } 6731 public function getType() 6732 { 6733 return $this->type; 6734 } 6735 } 6736 6737 #[AllowDynamicProperties] 6738 class Google_Service_Directory_UserMakeAdmin extends Google_Model 6739 { 6740 protected $internal_gapi_mappings = array( 6741 ); 6742 public $status; 6743 6744 6745 public function setStatus($status) 6746 { 6747 $this->status = $status; 6748 } 6749 public function getStatus() 6750 { 6751 return $this->status; 6752 } 6753 } 6754 6755 #[AllowDynamicProperties] 6756 class Google_Service_Directory_UserName extends Google_Model 6757 { 6758 protected $internal_gapi_mappings = array( 6759 ); 6760 public $familyName; 6761 public $fullName; 6762 public $givenName; 6763 6764 6765 public function setFamilyName($familyName) 6766 { 6767 $this->familyName = $familyName; 6768 } 6769 public function getFamilyName() 6770 { 6771 return $this->familyName; 6772 } 6773 public function setFullName($fullName) 6774 { 6775 $this->fullName = $fullName; 6776 } 6777 public function getFullName() 6778 { 6779 return $this->fullName; 6780 } 6781 public function setGivenName($givenName) 6782 { 6783 $this->givenName = $givenName; 6784 } 6785 public function getGivenName() 6786 { 6787 return $this->givenName; 6788 } 6789 } 6790 6791 #[AllowDynamicProperties] 6792 class Google_Service_Directory_UserOrganization extends Google_Model 6793 { 6794 protected $internal_gapi_mappings = array( 6795 ); 6796 public $costCenter; 6797 public $customType; 6798 public $department; 6799 public $description; 6800 public $domain; 6801 public $location; 6802 public $name; 6803 public $primary; 6804 public $symbol; 6805 public $title; 6806 public $type; 6807 6808 6809 public function setCostCenter($costCenter) 6810 { 6811 $this->costCenter = $costCenter; 6812 } 6813 public function getCostCenter() 6814 { 6815 return $this->costCenter; 6816 } 6817 public function setCustomType($customType) 6818 { 6819 $this->customType = $customType; 6820 } 6821 public function getCustomType() 6822 { 6823 return $this->customType; 6824 } 6825 public function setDepartment($department) 6826 { 6827 $this->department = $department; 6828 } 6829 public function getDepartment() 6830 { 6831 return $this->department; 6832 } 6833 public function setDescription($description) 6834 { 6835 $this->description = $description; 6836 } 6837 public function getDescription() 6838 { 6839 return $this->description; 6840 } 6841 public function setDomain($domain) 6842 { 6843 $this->domain = $domain; 6844 } 6845 public function getDomain() 6846 { 6847 return $this->domain; 6848 } 6849 public function setLocation($location) 6850 { 6851 $this->location = $location; 6852 } 6853 public function getLocation() 6854 { 6855 return $this->location; 6856 } 6857 public function setName($name) 6858 { 6859 $this->name = $name; 6860 } 6861 public function getName() 6862 { 6863 return $this->name; 6864 } 6865 public function setPrimary($primary) 6866 { 6867 $this->primary = $primary; 6868 } 6869 public function getPrimary() 6870 { 6871 return $this->primary; 6872 } 6873 public function setSymbol($symbol) 6874 { 6875 $this->symbol = $symbol; 6876 } 6877 public function getSymbol() 6878 { 6879 return $this->symbol; 6880 } 6881 public function setTitle($title) 6882 { 6883 $this->title = $title; 6884 } 6885 public function getTitle() 6886 { 6887 return $this->title; 6888 } 6889 public function setType($type) 6890 { 6891 $this->type = $type; 6892 } 6893 public function getType() 6894 { 6895 return $this->type; 6896 } 6897 } 6898 6899 #[AllowDynamicProperties] 6900 class Google_Service_Directory_UserPhone extends Google_Model 6901 { 6902 protected $internal_gapi_mappings = array( 6903 ); 6904 public $customType; 6905 public $primary; 6906 public $type; 6907 public $value; 6908 6909 6910 public function setCustomType($customType) 6911 { 6912 $this->customType = $customType; 6913 } 6914 public function getCustomType() 6915 { 6916 return $this->customType; 6917 } 6918 public function setPrimary($primary) 6919 { 6920 $this->primary = $primary; 6921 } 6922 public function getPrimary() 6923 { 6924 return $this->primary; 6925 } 6926 public function setType($type) 6927 { 6928 $this->type = $type; 6929 } 6930 public function getType() 6931 { 6932 return $this->type; 6933 } 6934 public function setValue($value) 6935 { 6936 $this->value = $value; 6937 } 6938 public function getValue() 6939 { 6940 return $this->value; 6941 } 6942 } 6943 6944 #[AllowDynamicProperties] 6945 class Google_Service_Directory_UserPhoto extends Google_Model 6946 { 6947 protected $internal_gapi_mappings = array( 6948 ); 6949 public $etag; 6950 public $height; 6951 public $id; 6952 public $kind; 6953 public $mimeType; 6954 public $photoData; 6955 public $primaryEmail; 6956 public $width; 6957 6958 6959 public function setEtag($etag) 6960 { 6961 $this->etag = $etag; 6962 } 6963 public function getEtag() 6964 { 6965 return $this->etag; 6966 } 6967 public function setHeight($height) 6968 { 6969 $this->height = $height; 6970 } 6971 public function getHeight() 6972 { 6973 return $this->height; 6974 } 6975 public function setId($id) 6976 { 6977 $this->id = $id; 6978 } 6979 public function getId() 6980 { 6981 return $this->id; 6982 } 6983 public function setKind($kind) 6984 { 6985 $this->kind = $kind; 6986 } 6987 public function getKind() 6988 { 6989 return $this->kind; 6990 } 6991 public function setMimeType($mimeType) 6992 { 6993 $this->mimeType = $mimeType; 6994 } 6995 public function getMimeType() 6996 { 6997 return $this->mimeType; 6998 } 6999 public function setPhotoData($photoData) 7000 { 7001 $this->photoData = $photoData; 7002 } 7003 public function getPhotoData() 7004 { 7005 return $this->photoData; 7006 } 7007 public function setPrimaryEmail($primaryEmail) 7008 { 7009 $this->primaryEmail = $primaryEmail; 7010 } 7011 public function getPrimaryEmail() 7012 { 7013 return $this->primaryEmail; 7014 } 7015 public function setWidth($width) 7016 { 7017 $this->width = $width; 7018 } 7019 public function getWidth() 7020 { 7021 return $this->width; 7022 } 7023 } 7024 7025 #[AllowDynamicProperties] 7026 class Google_Service_Directory_UserRelation extends Google_Model 7027 { 7028 protected $internal_gapi_mappings = array( 7029 ); 7030 public $customType; 7031 public $type; 7032 public $value; 7033 7034 7035 public function setCustomType($customType) 7036 { 7037 $this->customType = $customType; 7038 } 7039 public function getCustomType() 7040 { 7041 return $this->customType; 7042 } 7043 public function setType($type) 7044 { 7045 $this->type = $type; 7046 } 7047 public function getType() 7048 { 7049 return $this->type; 7050 } 7051 public function setValue($value) 7052 { 7053 $this->value = $value; 7054 } 7055 public function getValue() 7056 { 7057 return $this->value; 7058 } 7059 } 7060 7061 #[AllowDynamicProperties] 7062 class Google_Service_Directory_UserUndelete extends Google_Model 7063 { 7064 protected $internal_gapi_mappings = array( 7065 ); 7066 public $orgUnitPath; 7067 7068 7069 public function setOrgUnitPath($orgUnitPath) 7070 { 7071 $this->orgUnitPath = $orgUnitPath; 7072 } 7073 public function getOrgUnitPath() 7074 { 7075 return $this->orgUnitPath; 7076 } 7077 } 7078 7079 #[AllowDynamicProperties] 7080 class Google_Service_Directory_UserWebsite extends Google_Model 7081 { 7082 protected $internal_gapi_mappings = array( 7083 ); 7084 public $customType; 7085 public $primary; 7086 public $type; 7087 public $value; 7088 7089 7090 public function setCustomType($customType) 7091 { 7092 $this->customType = $customType; 7093 } 7094 public function getCustomType() 7095 { 7096 return $this->customType; 7097 } 7098 public function setPrimary($primary) 7099 { 7100 $this->primary = $primary; 7101 } 7102 public function getPrimary() 7103 { 7104 return $this->primary; 7105 } 7106 public function setType($type) 7107 { 7108 $this->type = $type; 7109 } 7110 public function getType() 7111 { 7112 return $this->type; 7113 } 7114 public function setValue($value) 7115 { 7116 $this->value = $value; 7117 } 7118 public function getValue() 7119 { 7120 return $this->value; 7121 } 7122 } 7123 7124 #[AllowDynamicProperties] 7125 class Google_Service_Directory_Users extends Google_Collection 7126 { 7127 protected $collection_key = 'users'; 7128 protected $internal_gapi_mappings = array( 7129 "triggerEvent" => "trigger_event", 7130 ); 7131 public $etag; 7132 public $kind; 7133 public $nextPageToken; 7134 public $triggerEvent; 7135 protected $usersType = 'Google_Service_Directory_User'; 7136 protected $usersDataType = 'array'; 7137 7138 7139 public function setEtag($etag) 7140 { 7141 $this->etag = $etag; 7142 } 7143 public function getEtag() 7144 { 7145 return $this->etag; 7146 } 7147 public function setKind($kind) 7148 { 7149 $this->kind = $kind; 7150 } 7151 public function getKind() 7152 { 7153 return $this->kind; 7154 } 7155 public function setNextPageToken($nextPageToken) 7156 { 7157 $this->nextPageToken = $nextPageToken; 7158 } 7159 public function getNextPageToken() 7160 { 7161 return $this->nextPageToken; 7162 } 7163 public function setTriggerEvent($triggerEvent) 7164 { 7165 $this->triggerEvent = $triggerEvent; 7166 } 7167 public function getTriggerEvent() 7168 { 7169 return $this->triggerEvent; 7170 } 7171 public function setUsers($users) 7172 { 7173 $this->users = $users; 7174 } 7175 public function getUsers() 7176 { 7177 return $this->users; 7178 } 7179 } 7180 7181 #[AllowDynamicProperties] 7182 class Google_Service_Directory_VerificationCode extends Google_Model 7183 { 7184 protected $internal_gapi_mappings = array( 7185 ); 7186 public $etag; 7187 public $kind; 7188 public $userId; 7189 public $verificationCode; 7190 7191 7192 public function setEtag($etag) 7193 { 7194 $this->etag = $etag; 7195 } 7196 public function getEtag() 7197 { 7198 return $this->etag; 7199 } 7200 public function setKind($kind) 7201 { 7202 $this->kind = $kind; 7203 } 7204 public function getKind() 7205 { 7206 return $this->kind; 7207 } 7208 public function setUserId($userId) 7209 { 7210 $this->userId = $userId; 7211 } 7212 public function getUserId() 7213 { 7214 return $this->userId; 7215 } 7216 public function setVerificationCode($verificationCode) 7217 { 7218 $this->verificationCode = $verificationCode; 7219 } 7220 public function getVerificationCode() 7221 { 7222 return $this->verificationCode; 7223 } 7224 } 7225 7226 #[AllowDynamicProperties] 7227 class Google_Service_Directory_VerificationCodes extends Google_Collection 7228 { 7229 protected $collection_key = 'items'; 7230 protected $internal_gapi_mappings = array( 7231 ); 7232 public $etag; 7233 protected $itemsType = 'Google_Service_Directory_VerificationCode'; 7234 protected $itemsDataType = 'array'; 7235 public $kind; 7236 7237 7238 public function setEtag($etag) 7239 { 7240 $this->etag = $etag; 7241 } 7242 public function getEtag() 7243 { 7244 return $this->etag; 7245 } 7246 public function setItems($items) 7247 { 7248 $this->items = $items; 7249 } 7250 public function getItems() 7251 { 7252 return $this->items; 7253 } 7254 public function setKind($kind) 7255 { 7256 $this->kind = $kind; 7257 } 7258 public function getKind() 7259 { 7260 return $this->kind; 7261 } 7262 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body