1<?php 2/* 3 * Copyright 2014 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 * Manages enterprise resources such as users and groups, administrative 23 * notifications, security features, and more.</p> 24 * 25 * <p> 26 * For more information about this service, see the API 27 * <a href="https://developers.google.com/admin-sdk/directory/" target="_blank">Documentation</a> 28 * </p> 29 * 30 * @author Google, Inc. 31 */ 32class Google_Service_Directory extends Google_Service 33{ 34 /** View and manage customer related information. */ 35 const ADMIN_DIRECTORY_CUSTOMER = 36 "https://www.googleapis.com/auth/admin.directory.customer"; 37 /** View customer related information. */ 38 const ADMIN_DIRECTORY_CUSTOMER_READONLY = 39 "https://www.googleapis.com/auth/admin.directory.customer.readonly"; 40 /** View and manage your Chrome OS devices' metadata. */ 41 const ADMIN_DIRECTORY_DEVICE_CHROMEOS = 42 "https://www.googleapis.com/auth/admin.directory.device.chromeos"; 43 /** View your Chrome OS devices' metadata. */ 44 const ADMIN_DIRECTORY_DEVICE_CHROMEOS_READONLY = 45 "https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly"; 46 /** View and manage your mobile devices' metadata. */ 47 const ADMIN_DIRECTORY_DEVICE_MOBILE = 48 "https://www.googleapis.com/auth/admin.directory.device.mobile"; 49 /** Manage your mobile devices by performing administrative tasks. */ 50 const ADMIN_DIRECTORY_DEVICE_MOBILE_ACTION = 51 "https://www.googleapis.com/auth/admin.directory.device.mobile.action"; 52 /** View your mobile devices' metadata. */ 53 const ADMIN_DIRECTORY_DEVICE_MOBILE_READONLY = 54 "https://www.googleapis.com/auth/admin.directory.device.mobile.readonly"; 55 /** View and manage the provisioning of domains for your customers. */ 56 const ADMIN_DIRECTORY_DOMAIN = 57 "https://www.googleapis.com/auth/admin.directory.domain"; 58 /** View domains related to your customers. */ 59 const ADMIN_DIRECTORY_DOMAIN_READONLY = 60 "https://www.googleapis.com/auth/admin.directory.domain.readonly"; 61 /** View and manage the provisioning of groups on your domain. */ 62 const ADMIN_DIRECTORY_GROUP = 63 "https://www.googleapis.com/auth/admin.directory.group"; 64 /** View and manage group subscriptions on your domain. */ 65 const ADMIN_DIRECTORY_GROUP_MEMBER = 66 "https://www.googleapis.com/auth/admin.directory.group.member"; 67 /** View group subscriptions on your domain. */ 68 const ADMIN_DIRECTORY_GROUP_MEMBER_READONLY = 69 "https://www.googleapis.com/auth/admin.directory.group.member.readonly"; 70 /** View groups on your domain. */ 71 const ADMIN_DIRECTORY_GROUP_READONLY = 72 "https://www.googleapis.com/auth/admin.directory.group.readonly"; 73 /** View and manage notifications received on your domain. */ 74 const ADMIN_DIRECTORY_NOTIFICATIONS = 75 "https://www.googleapis.com/auth/admin.directory.notifications"; 76 /** View and manage organization units on your domain. */ 77 const ADMIN_DIRECTORY_ORGUNIT = 78 "https://www.googleapis.com/auth/admin.directory.orgunit"; 79 /** View organization units on your domain. */ 80 const ADMIN_DIRECTORY_ORGUNIT_READONLY = 81 "https://www.googleapis.com/auth/admin.directory.orgunit.readonly"; 82 /** View and manage the provisioning of calendar resources on your domain. */ 83 const ADMIN_DIRECTORY_RESOURCE_CALENDAR = 84 "https://www.googleapis.com/auth/admin.directory.resource.calendar"; 85 /** View calendar resources on your domain. */ 86 const ADMIN_DIRECTORY_RESOURCE_CALENDAR_READONLY = 87 "https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly"; 88 /** Manage delegated admin roles for your domain. */ 89 const ADMIN_DIRECTORY_ROLEMANAGEMENT = 90 "https://www.googleapis.com/auth/admin.directory.rolemanagement"; 91 /** View delegated admin roles for your domain. */ 92 const ADMIN_DIRECTORY_ROLEMANAGEMENT_READONLY = 93 "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly"; 94 /** View and manage the provisioning of users on your domain. */ 95 const ADMIN_DIRECTORY_USER = 96 "https://www.googleapis.com/auth/admin.directory.user"; 97 /** View and manage user aliases on your domain. */ 98 const ADMIN_DIRECTORY_USER_ALIAS = 99 "https://www.googleapis.com/auth/admin.directory.user.alias"; 100 /** View user aliases on your domain. */ 101 const ADMIN_DIRECTORY_USER_ALIAS_READONLY = 102 "https://www.googleapis.com/auth/admin.directory.user.alias.readonly"; 103 /** View users on your domain. */ 104 const ADMIN_DIRECTORY_USER_READONLY = 105 "https://www.googleapis.com/auth/admin.directory.user.readonly"; 106 /** Manage data access permissions for users on your domain. */ 107 const ADMIN_DIRECTORY_USER_SECURITY = 108 "https://www.googleapis.com/auth/admin.directory.user.security"; 109 /** View and manage the provisioning of user schemas on your domain. */ 110 const ADMIN_DIRECTORY_USERSCHEMA = 111 "https://www.googleapis.com/auth/admin.directory.userschema"; 112 /** View user schemas on your domain. */ 113 const ADMIN_DIRECTORY_USERSCHEMA_READONLY = 114 "https://www.googleapis.com/auth/admin.directory.userschema.readonly"; 115 116 public $asps; 117 public $channels; 118 public $chromeosdevices; 119 public $customers; 120 public $domainAliases; 121 public $domains; 122 public $groups; 123 public $groups_aliases; 124 public $members; 125 public $mobiledevices; 126 public $notifications; 127 public $orgunits; 128 public $privileges; 129 public $resolvedAppAccessSettings; 130 public $resources_buildings; 131 public $resources_calendars; 132 public $resources_features; 133 public $roleAssignments; 134 public $roles; 135 public $schemas; 136 public $tokens; 137 public $users; 138 public $users_aliases; 139 public $users_photos; 140 public $verificationCodes; 141 142 /** 143 * Constructs the internal representation of the Directory service. 144 * 145 * @param Google_Client $client 146 */ 147 public function __construct(Google_Client $client) 148 { 149 parent::__construct($client); 150 $this->rootUrl = 'https://www.googleapis.com/'; 151 $this->servicePath = 'admin/directory/v1/'; 152 $this->batchPath = 'batch/admin/directory_v1'; 153 $this->version = 'directory_v1'; 154 $this->serviceName = 'admin'; 155 156 $this->asps = new Google_Service_Directory_Resource_Asps( 157 $this, 158 $this->serviceName, 159 'asps', 160 array( 161 'methods' => array( 162 'delete' => array( 163 'path' => 'users/{userKey}/asps/{codeId}', 164 'httpMethod' => 'DELETE', 165 'parameters' => array( 166 'userKey' => array( 167 'location' => 'path', 168 'type' => 'string', 169 'required' => true, 170 ), 171 'codeId' => array( 172 'location' => 'path', 173 'type' => 'integer', 174 'required' => true, 175 ), 176 ), 177 ),'get' => array( 178 'path' => 'users/{userKey}/asps/{codeId}', 179 'httpMethod' => 'GET', 180 'parameters' => array( 181 'userKey' => array( 182 'location' => 'path', 183 'type' => 'string', 184 'required' => true, 185 ), 186 'codeId' => array( 187 'location' => 'path', 188 'type' => 'integer', 189 'required' => true, 190 ), 191 ), 192 ),'list' => array( 193 'path' => 'users/{userKey}/asps', 194 'httpMethod' => 'GET', 195 'parameters' => array( 196 'userKey' => array( 197 'location' => 'path', 198 'type' => 'string', 199 'required' => true, 200 ), 201 ), 202 ), 203 ) 204 ) 205 ); 206 $this->channels = new Google_Service_Directory_Resource_Channels( 207 $this, 208 $this->serviceName, 209 'channels', 210 array( 211 'methods' => array( 212 'stop' => array( 213 'path' => '/admin/directory_v1/channels/stop', 214 'httpMethod' => 'POST', 215 'parameters' => array(), 216 ), 217 ) 218 ) 219 ); 220 $this->chromeosdevices = new Google_Service_Directory_Resource_Chromeosdevices( 221 $this, 222 $this->serviceName, 223 'chromeosdevices', 224 array( 225 'methods' => array( 226 'action' => array( 227 'path' => 'customer/{customerId}/devices/chromeos/{resourceId}/action', 228 'httpMethod' => 'POST', 229 'parameters' => array( 230 'customerId' => array( 231 'location' => 'path', 232 'type' => 'string', 233 'required' => true, 234 ), 235 'resourceId' => array( 236 'location' => 'path', 237 'type' => 'string', 238 'required' => true, 239 ), 240 ), 241 ),'get' => array( 242 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}', 243 'httpMethod' => 'GET', 244 'parameters' => array( 245 'customerId' => array( 246 'location' => 'path', 247 'type' => 'string', 248 'required' => true, 249 ), 250 'deviceId' => array( 251 'location' => 'path', 252 'type' => 'string', 253 'required' => true, 254 ), 255 'projection' => array( 256 'location' => 'query', 257 'type' => 'string', 258 ), 259 ), 260 ),'list' => array( 261 'path' => 'customer/{customerId}/devices/chromeos', 262 'httpMethod' => 'GET', 263 'parameters' => array( 264 'customerId' => array( 265 'location' => 'path', 266 'type' => 'string', 267 'required' => true, 268 ), 269 'maxResults' => array( 270 'location' => 'query', 271 'type' => 'integer', 272 ), 273 'orderBy' => array( 274 'location' => 'query', 275 'type' => 'string', 276 ), 277 'orgUnitPath' => array( 278 'location' => 'query', 279 'type' => 'string', 280 ), 281 'pageToken' => array( 282 'location' => 'query', 283 'type' => 'string', 284 ), 285 'projection' => array( 286 'location' => 'query', 287 'type' => 'string', 288 ), 289 'query' => array( 290 'location' => 'query', 291 'type' => 'string', 292 ), 293 'sortOrder' => array( 294 'location' => 'query', 295 'type' => 'string', 296 ), 297 ), 298 ),'moveDevicesToOu' => array( 299 'path' => 'customer/{customerId}/devices/chromeos/moveDevicesToOu', 300 'httpMethod' => 'POST', 301 'parameters' => array( 302 'customerId' => array( 303 'location' => 'path', 304 'type' => 'string', 305 'required' => true, 306 ), 307 'orgUnitPath' => array( 308 'location' => 'query', 309 'type' => 'string', 310 'required' => true, 311 ), 312 ), 313 ),'patch' => array( 314 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}', 315 'httpMethod' => 'PATCH', 316 'parameters' => array( 317 'customerId' => array( 318 'location' => 'path', 319 'type' => 'string', 320 'required' => true, 321 ), 322 'deviceId' => array( 323 'location' => 'path', 324 'type' => 'string', 325 'required' => true, 326 ), 327 'projection' => array( 328 'location' => 'query', 329 'type' => 'string', 330 ), 331 ), 332 ),'update' => array( 333 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}', 334 'httpMethod' => 'PUT', 335 'parameters' => array( 336 'customerId' => array( 337 'location' => 'path', 338 'type' => 'string', 339 'required' => true, 340 ), 341 'deviceId' => array( 342 'location' => 'path', 343 'type' => 'string', 344 'required' => true, 345 ), 346 'projection' => array( 347 'location' => 'query', 348 'type' => 'string', 349 ), 350 ), 351 ), 352 ) 353 ) 354 ); 355 $this->customers = new Google_Service_Directory_Resource_Customers( 356 $this, 357 $this->serviceName, 358 'customers', 359 array( 360 'methods' => array( 361 'get' => array( 362 'path' => 'customers/{customerKey}', 363 'httpMethod' => 'GET', 364 'parameters' => array( 365 'customerKey' => array( 366 'location' => 'path', 367 'type' => 'string', 368 'required' => true, 369 ), 370 ), 371 ),'patch' => array( 372 'path' => 'customers/{customerKey}', 373 'httpMethod' => 'PATCH', 374 'parameters' => array( 375 'customerKey' => array( 376 'location' => 'path', 377 'type' => 'string', 378 'required' => true, 379 ), 380 ), 381 ),'update' => array( 382 'path' => 'customers/{customerKey}', 383 'httpMethod' => 'PUT', 384 'parameters' => array( 385 'customerKey' => array( 386 'location' => 'path', 387 'type' => 'string', 388 'required' => true, 389 ), 390 ), 391 ), 392 ) 393 ) 394 ); 395 $this->domainAliases = new Google_Service_Directory_Resource_DomainAliases( 396 $this, 397 $this->serviceName, 398 'domainAliases', 399 array( 400 'methods' => array( 401 'delete' => array( 402 'path' => 'customer/{customer}/domainaliases/{domainAliasName}', 403 'httpMethod' => 'DELETE', 404 'parameters' => array( 405 'customer' => array( 406 'location' => 'path', 407 'type' => 'string', 408 'required' => true, 409 ), 410 'domainAliasName' => array( 411 'location' => 'path', 412 'type' => 'string', 413 'required' => true, 414 ), 415 ), 416 ),'get' => array( 417 'path' => 'customer/{customer}/domainaliases/{domainAliasName}', 418 'httpMethod' => 'GET', 419 'parameters' => array( 420 'customer' => array( 421 'location' => 'path', 422 'type' => 'string', 423 'required' => true, 424 ), 425 'domainAliasName' => array( 426 'location' => 'path', 427 'type' => 'string', 428 'required' => true, 429 ), 430 ), 431 ),'insert' => array( 432 'path' => 'customer/{customer}/domainaliases', 433 'httpMethod' => 'POST', 434 'parameters' => array( 435 'customer' => array( 436 'location' => 'path', 437 'type' => 'string', 438 'required' => true, 439 ), 440 ), 441 ),'list' => array( 442 'path' => 'customer/{customer}/domainaliases', 443 'httpMethod' => 'GET', 444 'parameters' => array( 445 'customer' => array( 446 'location' => 'path', 447 'type' => 'string', 448 'required' => true, 449 ), 450 'parentDomainName' => array( 451 'location' => 'query', 452 'type' => 'string', 453 ), 454 ), 455 ), 456 ) 457 ) 458 ); 459 $this->domains = new Google_Service_Directory_Resource_Domains( 460 $this, 461 $this->serviceName, 462 'domains', 463 array( 464 'methods' => array( 465 'delete' => array( 466 'path' => 'customer/{customer}/domains/{domainName}', 467 'httpMethod' => 'DELETE', 468 'parameters' => array( 469 'customer' => array( 470 'location' => 'path', 471 'type' => 'string', 472 'required' => true, 473 ), 474 'domainName' => array( 475 'location' => 'path', 476 'type' => 'string', 477 'required' => true, 478 ), 479 ), 480 ),'get' => array( 481 'path' => 'customer/{customer}/domains/{domainName}', 482 'httpMethod' => 'GET', 483 'parameters' => array( 484 'customer' => array( 485 'location' => 'path', 486 'type' => 'string', 487 'required' => true, 488 ), 489 'domainName' => array( 490 'location' => 'path', 491 'type' => 'string', 492 'required' => true, 493 ), 494 ), 495 ),'insert' => array( 496 'path' => 'customer/{customer}/domains', 497 'httpMethod' => 'POST', 498 'parameters' => array( 499 'customer' => array( 500 'location' => 'path', 501 'type' => 'string', 502 'required' => true, 503 ), 504 ), 505 ),'list' => array( 506 'path' => 'customer/{customer}/domains', 507 'httpMethod' => 'GET', 508 'parameters' => array( 509 'customer' => array( 510 'location' => 'path', 511 'type' => 'string', 512 'required' => true, 513 ), 514 ), 515 ), 516 ) 517 ) 518 ); 519 $this->groups = new Google_Service_Directory_Resource_Groups( 520 $this, 521 $this->serviceName, 522 'groups', 523 array( 524 'methods' => array( 525 'delete' => array( 526 'path' => 'groups/{groupKey}', 527 'httpMethod' => 'DELETE', 528 'parameters' => array( 529 'groupKey' => array( 530 'location' => 'path', 531 'type' => 'string', 532 'required' => true, 533 ), 534 ), 535 ),'get' => array( 536 'path' => 'groups/{groupKey}', 537 'httpMethod' => 'GET', 538 'parameters' => array( 539 'groupKey' => array( 540 'location' => 'path', 541 'type' => 'string', 542 'required' => true, 543 ), 544 ), 545 ),'insert' => array( 546 'path' => 'groups', 547 'httpMethod' => 'POST', 548 'parameters' => array(), 549 ),'list' => array( 550 'path' => 'groups', 551 'httpMethod' => 'GET', 552 'parameters' => array( 553 'customer' => array( 554 'location' => 'query', 555 'type' => 'string', 556 ), 557 'domain' => array( 558 'location' => 'query', 559 'type' => 'string', 560 ), 561 'maxResults' => array( 562 'location' => 'query', 563 'type' => 'integer', 564 ), 565 'orderBy' => array( 566 'location' => 'query', 567 'type' => 'string', 568 ), 569 'pageToken' => array( 570 'location' => 'query', 571 'type' => 'string', 572 ), 573 'query' => array( 574 'location' => 'query', 575 'type' => 'string', 576 ), 577 'sortOrder' => array( 578 'location' => 'query', 579 'type' => 'string', 580 ), 581 'userKey' => array( 582 'location' => 'query', 583 'type' => 'string', 584 ), 585 ), 586 ),'patch' => array( 587 'path' => 'groups/{groupKey}', 588 'httpMethod' => 'PATCH', 589 'parameters' => array( 590 'groupKey' => array( 591 'location' => 'path', 592 'type' => 'string', 593 'required' => true, 594 ), 595 ), 596 ),'update' => array( 597 'path' => 'groups/{groupKey}', 598 'httpMethod' => 'PUT', 599 'parameters' => array( 600 'groupKey' => array( 601 'location' => 'path', 602 'type' => 'string', 603 'required' => true, 604 ), 605 ), 606 ), 607 ) 608 ) 609 ); 610 $this->groups_aliases = new Google_Service_Directory_Resource_GroupsAliases( 611 $this, 612 $this->serviceName, 613 'aliases', 614 array( 615 'methods' => array( 616 'delete' => array( 617 'path' => 'groups/{groupKey}/aliases/{alias}', 618 'httpMethod' => 'DELETE', 619 'parameters' => array( 620 'groupKey' => array( 621 'location' => 'path', 622 'type' => 'string', 623 'required' => true, 624 ), 625 'alias' => array( 626 'location' => 'path', 627 'type' => 'string', 628 'required' => true, 629 ), 630 ), 631 ),'insert' => array( 632 'path' => 'groups/{groupKey}/aliases', 633 'httpMethod' => 'POST', 634 'parameters' => array( 635 'groupKey' => array( 636 'location' => 'path', 637 'type' => 'string', 638 'required' => true, 639 ), 640 ), 641 ),'list' => array( 642 'path' => 'groups/{groupKey}/aliases', 643 'httpMethod' => 'GET', 644 'parameters' => array( 645 'groupKey' => array( 646 'location' => 'path', 647 'type' => 'string', 648 'required' => true, 649 ), 650 ), 651 ), 652 ) 653 ) 654 ); 655 $this->members = new Google_Service_Directory_Resource_Members( 656 $this, 657 $this->serviceName, 658 'members', 659 array( 660 'methods' => array( 661 'delete' => array( 662 'path' => 'groups/{groupKey}/members/{memberKey}', 663 'httpMethod' => 'DELETE', 664 'parameters' => array( 665 'groupKey' => array( 666 'location' => 'path', 667 'type' => 'string', 668 'required' => true, 669 ), 670 'memberKey' => array( 671 'location' => 'path', 672 'type' => 'string', 673 'required' => true, 674 ), 675 ), 676 ),'get' => array( 677 'path' => 'groups/{groupKey}/members/{memberKey}', 678 'httpMethod' => 'GET', 679 'parameters' => array( 680 'groupKey' => array( 681 'location' => 'path', 682 'type' => 'string', 683 'required' => true, 684 ), 685 'memberKey' => array( 686 'location' => 'path', 687 'type' => 'string', 688 'required' => true, 689 ), 690 ), 691 ),'hasMember' => array( 692 'path' => 'groups/{groupKey}/hasMember/{memberKey}', 693 'httpMethod' => 'GET', 694 'parameters' => array( 695 'groupKey' => array( 696 'location' => 'path', 697 'type' => 'string', 698 'required' => true, 699 ), 700 'memberKey' => array( 701 'location' => 'path', 702 'type' => 'string', 703 'required' => true, 704 ), 705 ), 706 ),'insert' => array( 707 'path' => 'groups/{groupKey}/members', 708 'httpMethod' => 'POST', 709 'parameters' => array( 710 'groupKey' => array( 711 'location' => 'path', 712 'type' => 'string', 713 'required' => true, 714 ), 715 ), 716 ),'list' => array( 717 'path' => 'groups/{groupKey}/members', 718 'httpMethod' => 'GET', 719 'parameters' => array( 720 'groupKey' => array( 721 'location' => 'path', 722 'type' => 'string', 723 'required' => true, 724 ), 725 'includeDerivedMembership' => array( 726 'location' => 'query', 727 'type' => 'boolean', 728 ), 729 'maxResults' => array( 730 'location' => 'query', 731 'type' => 'integer', 732 ), 733 'pageToken' => array( 734 'location' => 'query', 735 'type' => 'string', 736 ), 737 'roles' => array( 738 'location' => 'query', 739 'type' => 'string', 740 ), 741 ), 742 ),'patch' => array( 743 'path' => 'groups/{groupKey}/members/{memberKey}', 744 'httpMethod' => 'PATCH', 745 'parameters' => array( 746 'groupKey' => array( 747 'location' => 'path', 748 'type' => 'string', 749 'required' => true, 750 ), 751 'memberKey' => array( 752 'location' => 'path', 753 'type' => 'string', 754 'required' => true, 755 ), 756 ), 757 ),'update' => array( 758 'path' => 'groups/{groupKey}/members/{memberKey}', 759 'httpMethod' => 'PUT', 760 'parameters' => array( 761 'groupKey' => array( 762 'location' => 'path', 763 'type' => 'string', 764 'required' => true, 765 ), 766 'memberKey' => array( 767 'location' => 'path', 768 'type' => 'string', 769 'required' => true, 770 ), 771 ), 772 ), 773 ) 774 ) 775 ); 776 $this->mobiledevices = new Google_Service_Directory_Resource_Mobiledevices( 777 $this, 778 $this->serviceName, 779 'mobiledevices', 780 array( 781 'methods' => array( 782 'action' => array( 783 'path' => 'customer/{customerId}/devices/mobile/{resourceId}/action', 784 'httpMethod' => 'POST', 785 'parameters' => array( 786 'customerId' => array( 787 'location' => 'path', 788 'type' => 'string', 789 'required' => true, 790 ), 791 'resourceId' => array( 792 'location' => 'path', 793 'type' => 'string', 794 'required' => true, 795 ), 796 ), 797 ),'delete' => array( 798 'path' => 'customer/{customerId}/devices/mobile/{resourceId}', 799 'httpMethod' => 'DELETE', 800 'parameters' => array( 801 'customerId' => array( 802 'location' => 'path', 803 'type' => 'string', 804 'required' => true, 805 ), 806 'resourceId' => array( 807 'location' => 'path', 808 'type' => 'string', 809 'required' => true, 810 ), 811 ), 812 ),'get' => array( 813 'path' => 'customer/{customerId}/devices/mobile/{resourceId}', 814 'httpMethod' => 'GET', 815 'parameters' => array( 816 'customerId' => array( 817 'location' => 'path', 818 'type' => 'string', 819 'required' => true, 820 ), 821 'resourceId' => array( 822 'location' => 'path', 823 'type' => 'string', 824 'required' => true, 825 ), 826 'projection' => array( 827 'location' => 'query', 828 'type' => 'string', 829 ), 830 ), 831 ),'list' => array( 832 'path' => 'customer/{customerId}/devices/mobile', 833 'httpMethod' => 'GET', 834 'parameters' => array( 835 'customerId' => array( 836 'location' => 'path', 837 'type' => 'string', 838 'required' => true, 839 ), 840 'maxResults' => array( 841 'location' => 'query', 842 'type' => 'integer', 843 ), 844 'orderBy' => array( 845 'location' => 'query', 846 'type' => 'string', 847 ), 848 'pageToken' => array( 849 'location' => 'query', 850 'type' => 'string', 851 ), 852 'projection' => array( 853 'location' => 'query', 854 'type' => 'string', 855 ), 856 'query' => array( 857 'location' => 'query', 858 'type' => 'string', 859 ), 860 'sortOrder' => array( 861 'location' => 'query', 862 'type' => 'string', 863 ), 864 ), 865 ), 866 ) 867 ) 868 ); 869 $this->notifications = new Google_Service_Directory_Resource_Notifications( 870 $this, 871 $this->serviceName, 872 'notifications', 873 array( 874 'methods' => array( 875 'delete' => array( 876 'path' => 'customer/{customer}/notifications/{notificationId}', 877 'httpMethod' => 'DELETE', 878 'parameters' => array( 879 'customer' => array( 880 'location' => 'path', 881 'type' => 'string', 882 'required' => true, 883 ), 884 'notificationId' => array( 885 'location' => 'path', 886 'type' => 'string', 887 'required' => true, 888 ), 889 ), 890 ),'get' => array( 891 'path' => 'customer/{customer}/notifications/{notificationId}', 892 'httpMethod' => 'GET', 893 'parameters' => array( 894 'customer' => array( 895 'location' => 'path', 896 'type' => 'string', 897 'required' => true, 898 ), 899 'notificationId' => array( 900 'location' => 'path', 901 'type' => 'string', 902 'required' => true, 903 ), 904 ), 905 ),'list' => array( 906 'path' => 'customer/{customer}/notifications', 907 'httpMethod' => 'GET', 908 'parameters' => array( 909 'customer' => array( 910 'location' => 'path', 911 'type' => 'string', 912 'required' => true, 913 ), 914 'language' => array( 915 'location' => 'query', 916 'type' => 'string', 917 ), 918 'maxResults' => array( 919 'location' => 'query', 920 'type' => 'integer', 921 ), 922 'pageToken' => array( 923 'location' => 'query', 924 'type' => 'string', 925 ), 926 ), 927 ),'patch' => array( 928 'path' => 'customer/{customer}/notifications/{notificationId}', 929 'httpMethod' => 'PATCH', 930 'parameters' => array( 931 'customer' => array( 932 'location' => 'path', 933 'type' => 'string', 934 'required' => true, 935 ), 936 'notificationId' => array( 937 'location' => 'path', 938 'type' => 'string', 939 'required' => true, 940 ), 941 ), 942 ),'update' => array( 943 'path' => 'customer/{customer}/notifications/{notificationId}', 944 'httpMethod' => 'PUT', 945 'parameters' => array( 946 'customer' => array( 947 'location' => 'path', 948 'type' => 'string', 949 'required' => true, 950 ), 951 'notificationId' => array( 952 'location' => 'path', 953 'type' => 'string', 954 'required' => true, 955 ), 956 ), 957 ), 958 ) 959 ) 960 ); 961 $this->orgunits = new Google_Service_Directory_Resource_Orgunits( 962 $this, 963 $this->serviceName, 964 'orgunits', 965 array( 966 'methods' => array( 967 'delete' => array( 968 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', 969 'httpMethod' => 'DELETE', 970 'parameters' => array( 971 'customerId' => array( 972 'location' => 'path', 973 'type' => 'string', 974 'required' => true, 975 ), 976 'orgUnitPath' => array( 977 'location' => 'path', 978 'type' => 'string', 979 'repeated' => true, 980 'required' => true, 981 ), 982 ), 983 ),'get' => array( 984 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', 985 'httpMethod' => 'GET', 986 'parameters' => array( 987 'customerId' => array( 988 'location' => 'path', 989 'type' => 'string', 990 'required' => true, 991 ), 992 'orgUnitPath' => array( 993 'location' => 'path', 994 'type' => 'string', 995 'repeated' => true, 996 'required' => true, 997 ), 998 ), 999 ),'insert' => array( 1000 'path' => 'customer/{customerId}/orgunits', 1001 'httpMethod' => 'POST', 1002 'parameters' => array( 1003 'customerId' => array( 1004 'location' => 'path', 1005 'type' => 'string', 1006 'required' => true, 1007 ), 1008 ), 1009 ),'list' => array( 1010 'path' => 'customer/{customerId}/orgunits', 1011 'httpMethod' => 'GET', 1012 'parameters' => array( 1013 'customerId' => array( 1014 'location' => 'path', 1015 'type' => 'string', 1016 'required' => true, 1017 ), 1018 'orgUnitPath' => array( 1019 'location' => 'query', 1020 'type' => 'string', 1021 ), 1022 'type' => array( 1023 'location' => 'query', 1024 'type' => 'string', 1025 ), 1026 ), 1027 ),'patch' => array( 1028 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', 1029 'httpMethod' => 'PATCH', 1030 'parameters' => array( 1031 'customerId' => array( 1032 'location' => 'path', 1033 'type' => 'string', 1034 'required' => true, 1035 ), 1036 'orgUnitPath' => array( 1037 'location' => 'path', 1038 'type' => 'string', 1039 'repeated' => true, 1040 'required' => true, 1041 ), 1042 ), 1043 ),'update' => array( 1044 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', 1045 'httpMethod' => 'PUT', 1046 'parameters' => array( 1047 'customerId' => array( 1048 'location' => 'path', 1049 'type' => 'string', 1050 'required' => true, 1051 ), 1052 'orgUnitPath' => array( 1053 'location' => 'path', 1054 'type' => 'string', 1055 'repeated' => true, 1056 'required' => true, 1057 ), 1058 ), 1059 ), 1060 ) 1061 ) 1062 ); 1063 $this->privileges = new Google_Service_Directory_Resource_Privileges( 1064 $this, 1065 $this->serviceName, 1066 'privileges', 1067 array( 1068 'methods' => array( 1069 'list' => array( 1070 'path' => 'customer/{customer}/roles/ALL/privileges', 1071 'httpMethod' => 'GET', 1072 'parameters' => array( 1073 'customer' => array( 1074 'location' => 'path', 1075 'type' => 'string', 1076 'required' => true, 1077 ), 1078 ), 1079 ), 1080 ) 1081 ) 1082 ); 1083 $this->resolvedAppAccessSettings = new Google_Service_Directory_Resource_ResolvedAppAccessSettings( 1084 $this, 1085 $this->serviceName, 1086 'resolvedAppAccessSettings', 1087 array( 1088 'methods' => array( 1089 'GetSettings' => array( 1090 'path' => 'resolvedappaccesssettings', 1091 'httpMethod' => 'GET', 1092 'parameters' => array(), 1093 ),'ListTrustedApps' => array( 1094 'path' => 'trustedapps', 1095 'httpMethod' => 'GET', 1096 'parameters' => array(), 1097 ), 1098 ) 1099 ) 1100 ); 1101 $this->resources_buildings = new Google_Service_Directory_Resource_ResourcesBuildings( 1102 $this, 1103 $this->serviceName, 1104 'buildings', 1105 array( 1106 'methods' => array( 1107 'delete' => array( 1108 'path' => 'customer/{customer}/resources/buildings/{buildingId}', 1109 'httpMethod' => 'DELETE', 1110 'parameters' => array( 1111 'customer' => array( 1112 'location' => 'path', 1113 'type' => 'string', 1114 'required' => true, 1115 ), 1116 'buildingId' => array( 1117 'location' => 'path', 1118 'type' => 'string', 1119 'required' => true, 1120 ), 1121 ), 1122 ),'get' => array( 1123 'path' => 'customer/{customer}/resources/buildings/{buildingId}', 1124 'httpMethod' => 'GET', 1125 'parameters' => array( 1126 'customer' => array( 1127 'location' => 'path', 1128 'type' => 'string', 1129 'required' => true, 1130 ), 1131 'buildingId' => array( 1132 'location' => 'path', 1133 'type' => 'string', 1134 'required' => true, 1135 ), 1136 ), 1137 ),'insert' => array( 1138 'path' => 'customer/{customer}/resources/buildings', 1139 'httpMethod' => 'POST', 1140 'parameters' => array( 1141 'customer' => array( 1142 'location' => 'path', 1143 'type' => 'string', 1144 'required' => true, 1145 ), 1146 'coordinatesSource' => array( 1147 'location' => 'query', 1148 'type' => 'string', 1149 ), 1150 ), 1151 ),'list' => array( 1152 'path' => 'customer/{customer}/resources/buildings', 1153 'httpMethod' => 'GET', 1154 'parameters' => array( 1155 'customer' => array( 1156 'location' => 'path', 1157 'type' => 'string', 1158 'required' => true, 1159 ), 1160 'maxResults' => array( 1161 'location' => 'query', 1162 'type' => 'integer', 1163 ), 1164 'pageToken' => array( 1165 'location' => 'query', 1166 'type' => 'string', 1167 ), 1168 ), 1169 ),'patch' => array( 1170 'path' => 'customer/{customer}/resources/buildings/{buildingId}', 1171 'httpMethod' => 'PATCH', 1172 'parameters' => array( 1173 'customer' => array( 1174 'location' => 'path', 1175 'type' => 'string', 1176 'required' => true, 1177 ), 1178 'buildingId' => array( 1179 'location' => 'path', 1180 'type' => 'string', 1181 'required' => true, 1182 ), 1183 'coordinatesSource' => array( 1184 'location' => 'query', 1185 'type' => 'string', 1186 ), 1187 ), 1188 ),'update' => array( 1189 'path' => 'customer/{customer}/resources/buildings/{buildingId}', 1190 'httpMethod' => 'PUT', 1191 'parameters' => array( 1192 'customer' => array( 1193 'location' => 'path', 1194 'type' => 'string', 1195 'required' => true, 1196 ), 1197 'buildingId' => array( 1198 'location' => 'path', 1199 'type' => 'string', 1200 'required' => true, 1201 ), 1202 'coordinatesSource' => array( 1203 'location' => 'query', 1204 'type' => 'string', 1205 ), 1206 ), 1207 ), 1208 ) 1209 ) 1210 ); 1211 $this->resources_calendars = new Google_Service_Directory_Resource_ResourcesCalendars( 1212 $this, 1213 $this->serviceName, 1214 'calendars', 1215 array( 1216 'methods' => array( 1217 'delete' => array( 1218 'path' => 'customer/{customer}/resources/calendars/{calendarResourceId}', 1219 'httpMethod' => 'DELETE', 1220 'parameters' => array( 1221 'customer' => array( 1222 'location' => 'path', 1223 'type' => 'string', 1224 'required' => true, 1225 ), 1226 'calendarResourceId' => array( 1227 'location' => 'path', 1228 'type' => 'string', 1229 'required' => true, 1230 ), 1231 ), 1232 ),'get' => array( 1233 'path' => 'customer/{customer}/resources/calendars/{calendarResourceId}', 1234 'httpMethod' => 'GET', 1235 'parameters' => array( 1236 'customer' => array( 1237 'location' => 'path', 1238 'type' => 'string', 1239 'required' => true, 1240 ), 1241 'calendarResourceId' => array( 1242 'location' => 'path', 1243 'type' => 'string', 1244 'required' => true, 1245 ), 1246 ), 1247 ),'insert' => array( 1248 'path' => 'customer/{customer}/resources/calendars', 1249 'httpMethod' => 'POST', 1250 'parameters' => array( 1251 'customer' => array( 1252 'location' => 'path', 1253 'type' => 'string', 1254 'required' => true, 1255 ), 1256 ), 1257 ),'list' => array( 1258 'path' => 'customer/{customer}/resources/calendars', 1259 'httpMethod' => 'GET', 1260 'parameters' => array( 1261 'customer' => array( 1262 'location' => 'path', 1263 'type' => 'string', 1264 'required' => true, 1265 ), 1266 'maxResults' => array( 1267 'location' => 'query', 1268 'type' => 'integer', 1269 ), 1270 'orderBy' => array( 1271 'location' => 'query', 1272 'type' => 'string', 1273 ), 1274 'pageToken' => array( 1275 'location' => 'query', 1276 'type' => 'string', 1277 ), 1278 'query' => array( 1279 'location' => 'query', 1280 'type' => 'string', 1281 ), 1282 ), 1283 ),'patch' => array( 1284 'path' => 'customer/{customer}/resources/calendars/{calendarResourceId}', 1285 'httpMethod' => 'PATCH', 1286 'parameters' => array( 1287 'customer' => array( 1288 'location' => 'path', 1289 'type' => 'string', 1290 'required' => true, 1291 ), 1292 'calendarResourceId' => array( 1293 'location' => 'path', 1294 'type' => 'string', 1295 'required' => true, 1296 ), 1297 ), 1298 ),'update' => array( 1299 'path' => 'customer/{customer}/resources/calendars/{calendarResourceId}', 1300 'httpMethod' => 'PUT', 1301 'parameters' => array( 1302 'customer' => array( 1303 'location' => 'path', 1304 'type' => 'string', 1305 'required' => true, 1306 ), 1307 'calendarResourceId' => array( 1308 'location' => 'path', 1309 'type' => 'string', 1310 'required' => true, 1311 ), 1312 ), 1313 ), 1314 ) 1315 ) 1316 ); 1317 $this->resources_features = new Google_Service_Directory_Resource_ResourcesFeatures( 1318 $this, 1319 $this->serviceName, 1320 'features', 1321 array( 1322 'methods' => array( 1323 'delete' => array( 1324 'path' => 'customer/{customer}/resources/features/{featureKey}', 1325 'httpMethod' => 'DELETE', 1326 'parameters' => array( 1327 'customer' => array( 1328 'location' => 'path', 1329 'type' => 'string', 1330 'required' => true, 1331 ), 1332 'featureKey' => array( 1333 'location' => 'path', 1334 'type' => 'string', 1335 'required' => true, 1336 ), 1337 ), 1338 ),'get' => array( 1339 'path' => 'customer/{customer}/resources/features/{featureKey}', 1340 'httpMethod' => 'GET', 1341 'parameters' => array( 1342 'customer' => array( 1343 'location' => 'path', 1344 'type' => 'string', 1345 'required' => true, 1346 ), 1347 'featureKey' => array( 1348 'location' => 'path', 1349 'type' => 'string', 1350 'required' => true, 1351 ), 1352 ), 1353 ),'insert' => array( 1354 'path' => 'customer/{customer}/resources/features', 1355 'httpMethod' => 'POST', 1356 'parameters' => array( 1357 'customer' => array( 1358 'location' => 'path', 1359 'type' => 'string', 1360 'required' => true, 1361 ), 1362 ), 1363 ),'list' => array( 1364 'path' => 'customer/{customer}/resources/features', 1365 'httpMethod' => 'GET', 1366 'parameters' => array( 1367 'customer' => array( 1368 'location' => 'path', 1369 'type' => 'string', 1370 'required' => true, 1371 ), 1372 'maxResults' => array( 1373 'location' => 'query', 1374 'type' => 'integer', 1375 ), 1376 'pageToken' => array( 1377 'location' => 'query', 1378 'type' => 'string', 1379 ), 1380 ), 1381 ),'patch' => array( 1382 'path' => 'customer/{customer}/resources/features/{featureKey}', 1383 'httpMethod' => 'PATCH', 1384 'parameters' => array( 1385 'customer' => array( 1386 'location' => 'path', 1387 'type' => 'string', 1388 'required' => true, 1389 ), 1390 'featureKey' => array( 1391 'location' => 'path', 1392 'type' => 'string', 1393 'required' => true, 1394 ), 1395 ), 1396 ),'rename' => array( 1397 'path' => 'customer/{customer}/resources/features/{oldName}/rename', 1398 'httpMethod' => 'POST', 1399 'parameters' => array( 1400 'customer' => array( 1401 'location' => 'path', 1402 'type' => 'string', 1403 'required' => true, 1404 ), 1405 'oldName' => array( 1406 'location' => 'path', 1407 'type' => 'string', 1408 'required' => true, 1409 ), 1410 ), 1411 ),'update' => array( 1412 'path' => 'customer/{customer}/resources/features/{featureKey}', 1413 'httpMethod' => 'PUT', 1414 'parameters' => array( 1415 'customer' => array( 1416 'location' => 'path', 1417 'type' => 'string', 1418 'required' => true, 1419 ), 1420 'featureKey' => array( 1421 'location' => 'path', 1422 'type' => 'string', 1423 'required' => true, 1424 ), 1425 ), 1426 ), 1427 ) 1428 ) 1429 ); 1430 $this->roleAssignments = new Google_Service_Directory_Resource_RoleAssignments( 1431 $this, 1432 $this->serviceName, 1433 'roleAssignments', 1434 array( 1435 'methods' => array( 1436 'delete' => array( 1437 'path' => 'customer/{customer}/roleassignments/{roleAssignmentId}', 1438 'httpMethod' => 'DELETE', 1439 'parameters' => array( 1440 'customer' => array( 1441 'location' => 'path', 1442 'type' => 'string', 1443 'required' => true, 1444 ), 1445 'roleAssignmentId' => array( 1446 'location' => 'path', 1447 'type' => 'string', 1448 'required' => true, 1449 ), 1450 ), 1451 ),'get' => array( 1452 'path' => 'customer/{customer}/roleassignments/{roleAssignmentId}', 1453 'httpMethod' => 'GET', 1454 'parameters' => array( 1455 'customer' => array( 1456 'location' => 'path', 1457 'type' => 'string', 1458 'required' => true, 1459 ), 1460 'roleAssignmentId' => array( 1461 'location' => 'path', 1462 'type' => 'string', 1463 'required' => true, 1464 ), 1465 ), 1466 ),'insert' => array( 1467 'path' => 'customer/{customer}/roleassignments', 1468 'httpMethod' => 'POST', 1469 'parameters' => array( 1470 'customer' => array( 1471 'location' => 'path', 1472 'type' => 'string', 1473 'required' => true, 1474 ), 1475 ), 1476 ),'list' => array( 1477 'path' => 'customer/{customer}/roleassignments', 1478 'httpMethod' => 'GET', 1479 'parameters' => array( 1480 'customer' => array( 1481 'location' => 'path', 1482 'type' => 'string', 1483 'required' => true, 1484 ), 1485 'maxResults' => array( 1486 'location' => 'query', 1487 'type' => 'integer', 1488 ), 1489 'pageToken' => array( 1490 'location' => 'query', 1491 'type' => 'string', 1492 ), 1493 'roleId' => array( 1494 'location' => 'query', 1495 'type' => 'string', 1496 ), 1497 'userKey' => array( 1498 'location' => 'query', 1499 'type' => 'string', 1500 ), 1501 ), 1502 ), 1503 ) 1504 ) 1505 ); 1506 $this->roles = new Google_Service_Directory_Resource_Roles( 1507 $this, 1508 $this->serviceName, 1509 'roles', 1510 array( 1511 'methods' => array( 1512 'delete' => array( 1513 'path' => 'customer/{customer}/roles/{roleId}', 1514 'httpMethod' => 'DELETE', 1515 'parameters' => array( 1516 'customer' => array( 1517 'location' => 'path', 1518 'type' => 'string', 1519 'required' => true, 1520 ), 1521 'roleId' => array( 1522 'location' => 'path', 1523 'type' => 'string', 1524 'required' => true, 1525 ), 1526 ), 1527 ),'get' => array( 1528 'path' => 'customer/{customer}/roles/{roleId}', 1529 'httpMethod' => 'GET', 1530 'parameters' => array( 1531 'customer' => array( 1532 'location' => 'path', 1533 'type' => 'string', 1534 'required' => true, 1535 ), 1536 'roleId' => array( 1537 'location' => 'path', 1538 'type' => 'string', 1539 'required' => true, 1540 ), 1541 ), 1542 ),'insert' => array( 1543 'path' => 'customer/{customer}/roles', 1544 'httpMethod' => 'POST', 1545 'parameters' => array( 1546 'customer' => array( 1547 'location' => 'path', 1548 'type' => 'string', 1549 'required' => true, 1550 ), 1551 ), 1552 ),'list' => array( 1553 'path' => 'customer/{customer}/roles', 1554 'httpMethod' => 'GET', 1555 'parameters' => array( 1556 'customer' => array( 1557 'location' => 'path', 1558 'type' => 'string', 1559 'required' => true, 1560 ), 1561 'maxResults' => array( 1562 'location' => 'query', 1563 'type' => 'integer', 1564 ), 1565 'pageToken' => array( 1566 'location' => 'query', 1567 'type' => 'string', 1568 ), 1569 ), 1570 ),'patch' => array( 1571 'path' => 'customer/{customer}/roles/{roleId}', 1572 'httpMethod' => 'PATCH', 1573 'parameters' => array( 1574 'customer' => array( 1575 'location' => 'path', 1576 'type' => 'string', 1577 'required' => true, 1578 ), 1579 'roleId' => array( 1580 'location' => 'path', 1581 'type' => 'string', 1582 'required' => true, 1583 ), 1584 ), 1585 ),'update' => array( 1586 'path' => 'customer/{customer}/roles/{roleId}', 1587 'httpMethod' => 'PUT', 1588 'parameters' => array( 1589 'customer' => array( 1590 'location' => 'path', 1591 'type' => 'string', 1592 'required' => true, 1593 ), 1594 'roleId' => array( 1595 'location' => 'path', 1596 'type' => 'string', 1597 'required' => true, 1598 ), 1599 ), 1600 ), 1601 ) 1602 ) 1603 ); 1604 $this->schemas = new Google_Service_Directory_Resource_Schemas( 1605 $this, 1606 $this->serviceName, 1607 'schemas', 1608 array( 1609 'methods' => array( 1610 'delete' => array( 1611 'path' => 'customer/{customerId}/schemas/{schemaKey}', 1612 'httpMethod' => 'DELETE', 1613 'parameters' => array( 1614 'customerId' => array( 1615 'location' => 'path', 1616 'type' => 'string', 1617 'required' => true, 1618 ), 1619 'schemaKey' => array( 1620 'location' => 'path', 1621 'type' => 'string', 1622 'required' => true, 1623 ), 1624 ), 1625 ),'get' => array( 1626 'path' => 'customer/{customerId}/schemas/{schemaKey}', 1627 'httpMethod' => 'GET', 1628 'parameters' => array( 1629 'customerId' => array( 1630 'location' => 'path', 1631 'type' => 'string', 1632 'required' => true, 1633 ), 1634 'schemaKey' => array( 1635 'location' => 'path', 1636 'type' => 'string', 1637 'required' => true, 1638 ), 1639 ), 1640 ),'insert' => array( 1641 'path' => 'customer/{customerId}/schemas', 1642 'httpMethod' => 'POST', 1643 'parameters' => array( 1644 'customerId' => array( 1645 'location' => 'path', 1646 'type' => 'string', 1647 'required' => true, 1648 ), 1649 ), 1650 ),'list' => array( 1651 'path' => 'customer/{customerId}/schemas', 1652 'httpMethod' => 'GET', 1653 'parameters' => array( 1654 'customerId' => array( 1655 'location' => 'path', 1656 'type' => 'string', 1657 'required' => true, 1658 ), 1659 ), 1660 ),'patch' => array( 1661 'path' => 'customer/{customerId}/schemas/{schemaKey}', 1662 'httpMethod' => 'PATCH', 1663 'parameters' => array( 1664 'customerId' => array( 1665 'location' => 'path', 1666 'type' => 'string', 1667 'required' => true, 1668 ), 1669 'schemaKey' => array( 1670 'location' => 'path', 1671 'type' => 'string', 1672 'required' => true, 1673 ), 1674 ), 1675 ),'update' => array( 1676 'path' => 'customer/{customerId}/schemas/{schemaKey}', 1677 'httpMethod' => 'PUT', 1678 'parameters' => array( 1679 'customerId' => array( 1680 'location' => 'path', 1681 'type' => 'string', 1682 'required' => true, 1683 ), 1684 'schemaKey' => array( 1685 'location' => 'path', 1686 'type' => 'string', 1687 'required' => true, 1688 ), 1689 ), 1690 ), 1691 ) 1692 ) 1693 ); 1694 $this->tokens = new Google_Service_Directory_Resource_Tokens( 1695 $this, 1696 $this->serviceName, 1697 'tokens', 1698 array( 1699 'methods' => array( 1700 'delete' => array( 1701 'path' => 'users/{userKey}/tokens/{clientId}', 1702 'httpMethod' => 'DELETE', 1703 'parameters' => array( 1704 'userKey' => array( 1705 'location' => 'path', 1706 'type' => 'string', 1707 'required' => true, 1708 ), 1709 'clientId' => array( 1710 'location' => 'path', 1711 'type' => 'string', 1712 'required' => true, 1713 ), 1714 ), 1715 ),'get' => array( 1716 'path' => 'users/{userKey}/tokens/{clientId}', 1717 'httpMethod' => 'GET', 1718 'parameters' => array( 1719 'userKey' => array( 1720 'location' => 'path', 1721 'type' => 'string', 1722 'required' => true, 1723 ), 1724 'clientId' => array( 1725 'location' => 'path', 1726 'type' => 'string', 1727 'required' => true, 1728 ), 1729 ), 1730 ),'list' => array( 1731 'path' => 'users/{userKey}/tokens', 1732 'httpMethod' => 'GET', 1733 'parameters' => array( 1734 'userKey' => array( 1735 'location' => 'path', 1736 'type' => 'string', 1737 'required' => true, 1738 ), 1739 ), 1740 ), 1741 ) 1742 ) 1743 ); 1744 $this->users = new Google_Service_Directory_Resource_Users( 1745 $this, 1746 $this->serviceName, 1747 'users', 1748 array( 1749 'methods' => array( 1750 'delete' => array( 1751 'path' => 'users/{userKey}', 1752 'httpMethod' => 'DELETE', 1753 'parameters' => array( 1754 'userKey' => array( 1755 'location' => 'path', 1756 'type' => 'string', 1757 'required' => true, 1758 ), 1759 ), 1760 ),'get' => array( 1761 'path' => 'users/{userKey}', 1762 'httpMethod' => 'GET', 1763 'parameters' => array( 1764 'userKey' => array( 1765 'location' => 'path', 1766 'type' => 'string', 1767 'required' => true, 1768 ), 1769 'customFieldMask' => array( 1770 'location' => 'query', 1771 'type' => 'string', 1772 ), 1773 'projection' => array( 1774 'location' => 'query', 1775 'type' => 'string', 1776 ), 1777 'viewType' => array( 1778 'location' => 'query', 1779 'type' => 'string', 1780 ), 1781 ), 1782 ),'insert' => array( 1783 'path' => 'users', 1784 'httpMethod' => 'POST', 1785 'parameters' => array(), 1786 ),'list' => array( 1787 'path' => 'users', 1788 'httpMethod' => 'GET', 1789 'parameters' => array( 1790 'customFieldMask' => array( 1791 'location' => 'query', 1792 'type' => 'string', 1793 ), 1794 'customer' => array( 1795 'location' => 'query', 1796 'type' => 'string', 1797 ), 1798 'domain' => array( 1799 'location' => 'query', 1800 'type' => 'string', 1801 ), 1802 'event' => array( 1803 'location' => 'query', 1804 'type' => 'string', 1805 ), 1806 'maxResults' => array( 1807 'location' => 'query', 1808 'type' => 'integer', 1809 ), 1810 'orderBy' => array( 1811 'location' => 'query', 1812 'type' => 'string', 1813 ), 1814 'pageToken' => array( 1815 'location' => 'query', 1816 'type' => 'string', 1817 ), 1818 'projection' => array( 1819 'location' => 'query', 1820 'type' => 'string', 1821 ), 1822 'query' => array( 1823 'location' => 'query', 1824 'type' => 'string', 1825 ), 1826 'showDeleted' => array( 1827 'location' => 'query', 1828 'type' => 'string', 1829 ), 1830 'sortOrder' => array( 1831 'location' => 'query', 1832 'type' => 'string', 1833 ), 1834 'viewType' => array( 1835 'location' => 'query', 1836 'type' => 'string', 1837 ), 1838 ), 1839 ),'makeAdmin' => array( 1840 'path' => 'users/{userKey}/makeAdmin', 1841 'httpMethod' => 'POST', 1842 'parameters' => array( 1843 'userKey' => array( 1844 'location' => 'path', 1845 'type' => 'string', 1846 'required' => true, 1847 ), 1848 ), 1849 ),'patch' => array( 1850 'path' => 'users/{userKey}', 1851 'httpMethod' => 'PATCH', 1852 'parameters' => array( 1853 'userKey' => array( 1854 'location' => 'path', 1855 'type' => 'string', 1856 'required' => true, 1857 ), 1858 ), 1859 ),'undelete' => array( 1860 'path' => 'users/{userKey}/undelete', 1861 'httpMethod' => 'POST', 1862 'parameters' => array( 1863 'userKey' => array( 1864 'location' => 'path', 1865 'type' => 'string', 1866 'required' => true, 1867 ), 1868 ), 1869 ),'update' => array( 1870 'path' => 'users/{userKey}', 1871 'httpMethod' => 'PUT', 1872 'parameters' => array( 1873 'userKey' => array( 1874 'location' => 'path', 1875 'type' => 'string', 1876 'required' => true, 1877 ), 1878 ), 1879 ),'watch' => array( 1880 'path' => 'users/watch', 1881 'httpMethod' => 'POST', 1882 'parameters' => array( 1883 'customFieldMask' => array( 1884 'location' => 'query', 1885 'type' => 'string', 1886 ), 1887 'customer' => array( 1888 'location' => 'query', 1889 'type' => 'string', 1890 ), 1891 'domain' => array( 1892 'location' => 'query', 1893 'type' => 'string', 1894 ), 1895 'event' => array( 1896 'location' => 'query', 1897 'type' => 'string', 1898 ), 1899 'maxResults' => array( 1900 'location' => 'query', 1901 'type' => 'integer', 1902 ), 1903 'orderBy' => array( 1904 'location' => 'query', 1905 'type' => 'string', 1906 ), 1907 'pageToken' => array( 1908 'location' => 'query', 1909 'type' => 'string', 1910 ), 1911 'projection' => array( 1912 'location' => 'query', 1913 'type' => 'string', 1914 ), 1915 'query' => array( 1916 'location' => 'query', 1917 'type' => 'string', 1918 ), 1919 'showDeleted' => array( 1920 'location' => 'query', 1921 'type' => 'string', 1922 ), 1923 'sortOrder' => array( 1924 'location' => 'query', 1925 'type' => 'string', 1926 ), 1927 'viewType' => array( 1928 'location' => 'query', 1929 'type' => 'string', 1930 ), 1931 ), 1932 ), 1933 ) 1934 ) 1935 ); 1936 $this->users_aliases = new Google_Service_Directory_Resource_UsersAliases( 1937 $this, 1938 $this->serviceName, 1939 'aliases', 1940 array( 1941 'methods' => array( 1942 'delete' => array( 1943 'path' => 'users/{userKey}/aliases/{alias}', 1944 'httpMethod' => 'DELETE', 1945 'parameters' => array( 1946 'userKey' => array( 1947 'location' => 'path', 1948 'type' => 'string', 1949 'required' => true, 1950 ), 1951 'alias' => array( 1952 'location' => 'path', 1953 'type' => 'string', 1954 'required' => true, 1955 ), 1956 ), 1957 ),'insert' => array( 1958 'path' => 'users/{userKey}/aliases', 1959 'httpMethod' => 'POST', 1960 'parameters' => array( 1961 'userKey' => array( 1962 'location' => 'path', 1963 'type' => 'string', 1964 'required' => true, 1965 ), 1966 ), 1967 ),'list' => array( 1968 'path' => 'users/{userKey}/aliases', 1969 'httpMethod' => 'GET', 1970 'parameters' => array( 1971 'userKey' => array( 1972 'location' => 'path', 1973 'type' => 'string', 1974 'required' => true, 1975 ), 1976 'event' => array( 1977 'location' => 'query', 1978 'type' => 'string', 1979 ), 1980 ), 1981 ),'watch' => array( 1982 'path' => 'users/{userKey}/aliases/watch', 1983 'httpMethod' => 'POST', 1984 'parameters' => array( 1985 'userKey' => array( 1986 'location' => 'path', 1987 'type' => 'string', 1988 'required' => true, 1989 ), 1990 'event' => array( 1991 'location' => 'query', 1992 'type' => 'string', 1993 ), 1994 ), 1995 ), 1996 ) 1997 ) 1998 ); 1999 $this->users_photos = new Google_Service_Directory_Resource_UsersPhotos( 2000 $this, 2001 $this->serviceName, 2002 'photos', 2003 array( 2004 'methods' => array( 2005 'delete' => array( 2006 'path' => 'users/{userKey}/photos/thumbnail', 2007 'httpMethod' => 'DELETE', 2008 'parameters' => array( 2009 'userKey' => array( 2010 'location' => 'path', 2011 'type' => 'string', 2012 'required' => true, 2013 ), 2014 ), 2015 ),'get' => array( 2016 'path' => 'users/{userKey}/photos/thumbnail', 2017 'httpMethod' => 'GET', 2018 'parameters' => array( 2019 'userKey' => array( 2020 'location' => 'path', 2021 'type' => 'string', 2022 'required' => true, 2023 ), 2024 ), 2025 ),'patch' => array( 2026 'path' => 'users/{userKey}/photos/thumbnail', 2027 'httpMethod' => 'PATCH', 2028 'parameters' => array( 2029 'userKey' => array( 2030 'location' => 'path', 2031 'type' => 'string', 2032 'required' => true, 2033 ), 2034 ), 2035 ),'update' => array( 2036 'path' => 'users/{userKey}/photos/thumbnail', 2037 'httpMethod' => 'PUT', 2038 'parameters' => array( 2039 'userKey' => array( 2040 'location' => 'path', 2041 'type' => 'string', 2042 'required' => true, 2043 ), 2044 ), 2045 ), 2046 ) 2047 ) 2048 ); 2049 $this->verificationCodes = new Google_Service_Directory_Resource_VerificationCodes( 2050 $this, 2051 $this->serviceName, 2052 'verificationCodes', 2053 array( 2054 'methods' => array( 2055 'generate' => array( 2056 'path' => 'users/{userKey}/verificationCodes/generate', 2057 'httpMethod' => 'POST', 2058 'parameters' => array( 2059 'userKey' => array( 2060 'location' => 'path', 2061 'type' => 'string', 2062 'required' => true, 2063 ), 2064 ), 2065 ),'invalidate' => array( 2066 'path' => 'users/{userKey}/verificationCodes/invalidate', 2067 'httpMethod' => 'POST', 2068 'parameters' => array( 2069 'userKey' => array( 2070 'location' => 'path', 2071 'type' => 'string', 2072 'required' => true, 2073 ), 2074 ), 2075 ),'list' => array( 2076 'path' => 'users/{userKey}/verificationCodes', 2077 'httpMethod' => 'GET', 2078 'parameters' => array( 2079 'userKey' => array( 2080 'location' => 'path', 2081 'type' => 'string', 2082 'required' => true, 2083 ), 2084 ), 2085 ), 2086 ) 2087 ) 2088 ); 2089 } 2090} 2091