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 18namespace Google\Service; 19 20use Google\Client; 21 22/** 23 * Service definition for SASPortalTesting (v1alpha1). 24 * 25 * <p> 26</p> 27 * 28 * <p> 29 * For more information about this service, see the API 30 * <a href="https://developers.google.com/spectrum-access-system/" target="_blank">Documentation</a> 31 * </p> 32 * 33 * @author Google, Inc. 34 */ 35class SASPortalTesting extends \Google\Service 36{ 37 38 39 public $customers; 40 public $customers_deployments; 41 public $customers_deployments_devices; 42 public $customers_devices; 43 public $customers_nodes; 44 public $customers_nodes_deployments; 45 public $customers_nodes_devices; 46 public $customers_nodes_nodes; 47 public $deployments; 48 public $deployments_devices; 49 public $installer; 50 public $nodes; 51 public $nodes_deployments; 52 public $nodes_deployments_devices; 53 public $nodes_devices; 54 public $nodes_nodes; 55 public $nodes_nodes_deployments; 56 public $nodes_nodes_devices; 57 public $nodes_nodes_nodes; 58 public $policies; 59 60 /** 61 * Constructs the internal representation of the SASPortalTesting service. 62 * 63 * @param Client|array $clientOrConfig The client used to deliver requests, or a 64 * config array to pass to a new Client instance. 65 * @param string $rootUrl The root URL used for requests to the service. 66 */ 67 public function __construct($clientOrConfig = [], $rootUrl = null) 68 { 69 parent::__construct($clientOrConfig); 70 $this->rootUrl = $rootUrl ?: 'https://prod-tt-sasportal.googleapis.com/'; 71 $this->servicePath = ''; 72 $this->batchPath = 'batch'; 73 $this->version = 'v1alpha1'; 74 $this->serviceName = 'prod_tt_sasportal'; 75 76 $this->customers = new SASPortalTesting\Resource\Customers( 77 $this, 78 $this->serviceName, 79 'customers', 80 [ 81 'methods' => [ 82 'get' => [ 83 'path' => 'v1alpha1/{+name}', 84 'httpMethod' => 'GET', 85 'parameters' => [ 86 'name' => [ 87 'location' => 'path', 88 'type' => 'string', 89 'required' => true, 90 ], 91 ], 92 ],'list' => [ 93 'path' => 'v1alpha1/customers', 94 'httpMethod' => 'GET', 95 'parameters' => [ 96 'pageSize' => [ 97 'location' => 'query', 98 'type' => 'integer', 99 ], 100 'pageToken' => [ 101 'location' => 'query', 102 'type' => 'string', 103 ], 104 ], 105 ],'patch' => [ 106 'path' => 'v1alpha1/{+name}', 107 'httpMethod' => 'PATCH', 108 'parameters' => [ 109 'name' => [ 110 'location' => 'path', 111 'type' => 'string', 112 'required' => true, 113 ], 114 'updateMask' => [ 115 'location' => 'query', 116 'type' => 'string', 117 ], 118 ], 119 ], 120 ] 121 ] 122 ); 123 $this->customers_deployments = new SASPortalTesting\Resource\CustomersDeployments( 124 $this, 125 $this->serviceName, 126 'deployments', 127 [ 128 'methods' => [ 129 'create' => [ 130 'path' => 'v1alpha1/{+parent}/deployments', 131 'httpMethod' => 'POST', 132 'parameters' => [ 133 'parent' => [ 134 'location' => 'path', 135 'type' => 'string', 136 'required' => true, 137 ], 138 ], 139 ],'delete' => [ 140 'path' => 'v1alpha1/{+name}', 141 'httpMethod' => 'DELETE', 142 'parameters' => [ 143 'name' => [ 144 'location' => 'path', 145 'type' => 'string', 146 'required' => true, 147 ], 148 ], 149 ],'get' => [ 150 'path' => 'v1alpha1/{+name}', 151 'httpMethod' => 'GET', 152 'parameters' => [ 153 'name' => [ 154 'location' => 'path', 155 'type' => 'string', 156 'required' => true, 157 ], 158 ], 159 ],'list' => [ 160 'path' => 'v1alpha1/{+parent}/deployments', 161 'httpMethod' => 'GET', 162 'parameters' => [ 163 'parent' => [ 164 'location' => 'path', 165 'type' => 'string', 166 'required' => true, 167 ], 168 'filter' => [ 169 'location' => 'query', 170 'type' => 'string', 171 ], 172 'pageSize' => [ 173 'location' => 'query', 174 'type' => 'integer', 175 ], 176 'pageToken' => [ 177 'location' => 'query', 178 'type' => 'string', 179 ], 180 ], 181 ],'move' => [ 182 'path' => 'v1alpha1/{+name}:move', 183 'httpMethod' => 'POST', 184 'parameters' => [ 185 'name' => [ 186 'location' => 'path', 187 'type' => 'string', 188 'required' => true, 189 ], 190 ], 191 ],'patch' => [ 192 'path' => 'v1alpha1/{+name}', 193 'httpMethod' => 'PATCH', 194 'parameters' => [ 195 'name' => [ 196 'location' => 'path', 197 'type' => 'string', 198 'required' => true, 199 ], 200 'updateMask' => [ 201 'location' => 'query', 202 'type' => 'string', 203 ], 204 ], 205 ], 206 ] 207 ] 208 ); 209 $this->customers_deployments_devices = new SASPortalTesting\Resource\CustomersDeploymentsDevices( 210 $this, 211 $this->serviceName, 212 'devices', 213 [ 214 'methods' => [ 215 'create' => [ 216 'path' => 'v1alpha1/{+parent}/devices', 217 'httpMethod' => 'POST', 218 'parameters' => [ 219 'parent' => [ 220 'location' => 'path', 221 'type' => 'string', 222 'required' => true, 223 ], 224 ], 225 ],'createSigned' => [ 226 'path' => 'v1alpha1/{+parent}/devices:createSigned', 227 'httpMethod' => 'POST', 228 'parameters' => [ 229 'parent' => [ 230 'location' => 'path', 231 'type' => 'string', 232 'required' => true, 233 ], 234 ], 235 ],'list' => [ 236 'path' => 'v1alpha1/{+parent}/devices', 237 'httpMethod' => 'GET', 238 'parameters' => [ 239 'parent' => [ 240 'location' => 'path', 241 'type' => 'string', 242 'required' => true, 243 ], 244 'filter' => [ 245 'location' => 'query', 246 'type' => 'string', 247 ], 248 'pageSize' => [ 249 'location' => 'query', 250 'type' => 'integer', 251 ], 252 'pageToken' => [ 253 'location' => 'query', 254 'type' => 'string', 255 ], 256 ], 257 ], 258 ] 259 ] 260 ); 261 $this->customers_devices = new SASPortalTesting\Resource\CustomersDevices( 262 $this, 263 $this->serviceName, 264 'devices', 265 [ 266 'methods' => [ 267 'create' => [ 268 'path' => 'v1alpha1/{+parent}/devices', 269 'httpMethod' => 'POST', 270 'parameters' => [ 271 'parent' => [ 272 'location' => 'path', 273 'type' => 'string', 274 'required' => true, 275 ], 276 ], 277 ],'createSigned' => [ 278 'path' => 'v1alpha1/{+parent}/devices:createSigned', 279 'httpMethod' => 'POST', 280 'parameters' => [ 281 'parent' => [ 282 'location' => 'path', 283 'type' => 'string', 284 'required' => true, 285 ], 286 ], 287 ],'delete' => [ 288 'path' => 'v1alpha1/{+name}', 289 'httpMethod' => 'DELETE', 290 'parameters' => [ 291 'name' => [ 292 'location' => 'path', 293 'type' => 'string', 294 'required' => true, 295 ], 296 ], 297 ],'get' => [ 298 'path' => 'v1alpha1/{+name}', 299 'httpMethod' => 'GET', 300 'parameters' => [ 301 'name' => [ 302 'location' => 'path', 303 'type' => 'string', 304 'required' => true, 305 ], 306 ], 307 ],'list' => [ 308 'path' => 'v1alpha1/{+parent}/devices', 309 'httpMethod' => 'GET', 310 'parameters' => [ 311 'parent' => [ 312 'location' => 'path', 313 'type' => 'string', 314 'required' => true, 315 ], 316 'filter' => [ 317 'location' => 'query', 318 'type' => 'string', 319 ], 320 'pageSize' => [ 321 'location' => 'query', 322 'type' => 'integer', 323 ], 324 'pageToken' => [ 325 'location' => 'query', 326 'type' => 'string', 327 ], 328 ], 329 ],'move' => [ 330 'path' => 'v1alpha1/{+name}:move', 331 'httpMethod' => 'POST', 332 'parameters' => [ 333 'name' => [ 334 'location' => 'path', 335 'type' => 'string', 336 'required' => true, 337 ], 338 ], 339 ],'patch' => [ 340 'path' => 'v1alpha1/{+name}', 341 'httpMethod' => 'PATCH', 342 'parameters' => [ 343 'name' => [ 344 'location' => 'path', 345 'type' => 'string', 346 'required' => true, 347 ], 348 'updateMask' => [ 349 'location' => 'query', 350 'type' => 'string', 351 ], 352 ], 353 ],'signDevice' => [ 354 'path' => 'v1alpha1/{+name}:signDevice', 355 'httpMethod' => 'POST', 356 'parameters' => [ 357 'name' => [ 358 'location' => 'path', 359 'type' => 'string', 360 'required' => true, 361 ], 362 ], 363 ],'updateSigned' => [ 364 'path' => 'v1alpha1/{+name}:updateSigned', 365 'httpMethod' => 'PATCH', 366 'parameters' => [ 367 'name' => [ 368 'location' => 'path', 369 'type' => 'string', 370 'required' => true, 371 ], 372 ], 373 ], 374 ] 375 ] 376 ); 377 $this->customers_nodes = new SASPortalTesting\Resource\CustomersNodes( 378 $this, 379 $this->serviceName, 380 'nodes', 381 [ 382 'methods' => [ 383 'create' => [ 384 'path' => 'v1alpha1/{+parent}/nodes', 385 'httpMethod' => 'POST', 386 'parameters' => [ 387 'parent' => [ 388 'location' => 'path', 389 'type' => 'string', 390 'required' => true, 391 ], 392 ], 393 ],'delete' => [ 394 'path' => 'v1alpha1/{+name}', 395 'httpMethod' => 'DELETE', 396 'parameters' => [ 397 'name' => [ 398 'location' => 'path', 399 'type' => 'string', 400 'required' => true, 401 ], 402 ], 403 ],'get' => [ 404 'path' => 'v1alpha1/{+name}', 405 'httpMethod' => 'GET', 406 'parameters' => [ 407 'name' => [ 408 'location' => 'path', 409 'type' => 'string', 410 'required' => true, 411 ], 412 ], 413 ],'list' => [ 414 'path' => 'v1alpha1/{+parent}/nodes', 415 'httpMethod' => 'GET', 416 'parameters' => [ 417 'parent' => [ 418 'location' => 'path', 419 'type' => 'string', 420 'required' => true, 421 ], 422 'filter' => [ 423 'location' => 'query', 424 'type' => 'string', 425 ], 426 'pageSize' => [ 427 'location' => 'query', 428 'type' => 'integer', 429 ], 430 'pageToken' => [ 431 'location' => 'query', 432 'type' => 'string', 433 ], 434 ], 435 ],'move' => [ 436 'path' => 'v1alpha1/{+name}:move', 437 'httpMethod' => 'POST', 438 'parameters' => [ 439 'name' => [ 440 'location' => 'path', 441 'type' => 'string', 442 'required' => true, 443 ], 444 ], 445 ],'patch' => [ 446 'path' => 'v1alpha1/{+name}', 447 'httpMethod' => 'PATCH', 448 'parameters' => [ 449 'name' => [ 450 'location' => 'path', 451 'type' => 'string', 452 'required' => true, 453 ], 454 'updateMask' => [ 455 'location' => 'query', 456 'type' => 'string', 457 ], 458 ], 459 ], 460 ] 461 ] 462 ); 463 $this->customers_nodes_deployments = new SASPortalTesting\Resource\CustomersNodesDeployments( 464 $this, 465 $this->serviceName, 466 'deployments', 467 [ 468 'methods' => [ 469 'create' => [ 470 'path' => 'v1alpha1/{+parent}/deployments', 471 'httpMethod' => 'POST', 472 'parameters' => [ 473 'parent' => [ 474 'location' => 'path', 475 'type' => 'string', 476 'required' => true, 477 ], 478 ], 479 ],'list' => [ 480 'path' => 'v1alpha1/{+parent}/deployments', 481 'httpMethod' => 'GET', 482 'parameters' => [ 483 'parent' => [ 484 'location' => 'path', 485 'type' => 'string', 486 'required' => true, 487 ], 488 'filter' => [ 489 'location' => 'query', 490 'type' => 'string', 491 ], 492 'pageSize' => [ 493 'location' => 'query', 494 'type' => 'integer', 495 ], 496 'pageToken' => [ 497 'location' => 'query', 498 'type' => 'string', 499 ], 500 ], 501 ], 502 ] 503 ] 504 ); 505 $this->customers_nodes_devices = new SASPortalTesting\Resource\CustomersNodesDevices( 506 $this, 507 $this->serviceName, 508 'devices', 509 [ 510 'methods' => [ 511 'create' => [ 512 'path' => 'v1alpha1/{+parent}/devices', 513 'httpMethod' => 'POST', 514 'parameters' => [ 515 'parent' => [ 516 'location' => 'path', 517 'type' => 'string', 518 'required' => true, 519 ], 520 ], 521 ],'createSigned' => [ 522 'path' => 'v1alpha1/{+parent}/devices:createSigned', 523 'httpMethod' => 'POST', 524 'parameters' => [ 525 'parent' => [ 526 'location' => 'path', 527 'type' => 'string', 528 'required' => true, 529 ], 530 ], 531 ],'list' => [ 532 'path' => 'v1alpha1/{+parent}/devices', 533 'httpMethod' => 'GET', 534 'parameters' => [ 535 'parent' => [ 536 'location' => 'path', 537 'type' => 'string', 538 'required' => true, 539 ], 540 'filter' => [ 541 'location' => 'query', 542 'type' => 'string', 543 ], 544 'pageSize' => [ 545 'location' => 'query', 546 'type' => 'integer', 547 ], 548 'pageToken' => [ 549 'location' => 'query', 550 'type' => 'string', 551 ], 552 ], 553 ], 554 ] 555 ] 556 ); 557 $this->customers_nodes_nodes = new SASPortalTesting\Resource\CustomersNodesNodes( 558 $this, 559 $this->serviceName, 560 'nodes', 561 [ 562 'methods' => [ 563 'create' => [ 564 'path' => 'v1alpha1/{+parent}/nodes', 565 'httpMethod' => 'POST', 566 'parameters' => [ 567 'parent' => [ 568 'location' => 'path', 569 'type' => 'string', 570 'required' => true, 571 ], 572 ], 573 ],'list' => [ 574 'path' => 'v1alpha1/{+parent}/nodes', 575 'httpMethod' => 'GET', 576 'parameters' => [ 577 'parent' => [ 578 'location' => 'path', 579 'type' => 'string', 580 'required' => true, 581 ], 582 'filter' => [ 583 'location' => 'query', 584 'type' => 'string', 585 ], 586 'pageSize' => [ 587 'location' => 'query', 588 'type' => 'integer', 589 ], 590 'pageToken' => [ 591 'location' => 'query', 592 'type' => 'string', 593 ], 594 ], 595 ], 596 ] 597 ] 598 ); 599 $this->deployments = new SASPortalTesting\Resource\Deployments( 600 $this, 601 $this->serviceName, 602 'deployments', 603 [ 604 'methods' => [ 605 'get' => [ 606 'path' => 'v1alpha1/{+name}', 607 'httpMethod' => 'GET', 608 'parameters' => [ 609 'name' => [ 610 'location' => 'path', 611 'type' => 'string', 612 'required' => true, 613 ], 614 ], 615 ], 616 ] 617 ] 618 ); 619 $this->deployments_devices = new SASPortalTesting\Resource\DeploymentsDevices( 620 $this, 621 $this->serviceName, 622 'devices', 623 [ 624 'methods' => [ 625 'delete' => [ 626 'path' => 'v1alpha1/{+name}', 627 'httpMethod' => 'DELETE', 628 'parameters' => [ 629 'name' => [ 630 'location' => 'path', 631 'type' => 'string', 632 'required' => true, 633 ], 634 ], 635 ],'get' => [ 636 'path' => 'v1alpha1/{+name}', 637 'httpMethod' => 'GET', 638 'parameters' => [ 639 'name' => [ 640 'location' => 'path', 641 'type' => 'string', 642 'required' => true, 643 ], 644 ], 645 ],'move' => [ 646 'path' => 'v1alpha1/{+name}:move', 647 'httpMethod' => 'POST', 648 'parameters' => [ 649 'name' => [ 650 'location' => 'path', 651 'type' => 'string', 652 'required' => true, 653 ], 654 ], 655 ],'patch' => [ 656 'path' => 'v1alpha1/{+name}', 657 'httpMethod' => 'PATCH', 658 'parameters' => [ 659 'name' => [ 660 'location' => 'path', 661 'type' => 'string', 662 'required' => true, 663 ], 664 'updateMask' => [ 665 'location' => 'query', 666 'type' => 'string', 667 ], 668 ], 669 ],'signDevice' => [ 670 'path' => 'v1alpha1/{+name}:signDevice', 671 'httpMethod' => 'POST', 672 'parameters' => [ 673 'name' => [ 674 'location' => 'path', 675 'type' => 'string', 676 'required' => true, 677 ], 678 ], 679 ],'updateSigned' => [ 680 'path' => 'v1alpha1/{+name}:updateSigned', 681 'httpMethod' => 'PATCH', 682 'parameters' => [ 683 'name' => [ 684 'location' => 'path', 685 'type' => 'string', 686 'required' => true, 687 ], 688 ], 689 ], 690 ] 691 ] 692 ); 693 $this->installer = new SASPortalTesting\Resource\Installer( 694 $this, 695 $this->serviceName, 696 'installer', 697 [ 698 'methods' => [ 699 'generateSecret' => [ 700 'path' => 'v1alpha1/installer:generateSecret', 701 'httpMethod' => 'POST', 702 'parameters' => [], 703 ],'validate' => [ 704 'path' => 'v1alpha1/installer:validate', 705 'httpMethod' => 'POST', 706 'parameters' => [], 707 ], 708 ] 709 ] 710 ); 711 $this->nodes = new SASPortalTesting\Resource\Nodes( 712 $this, 713 $this->serviceName, 714 'nodes', 715 [ 716 'methods' => [ 717 'get' => [ 718 'path' => 'v1alpha1/{+name}', 719 'httpMethod' => 'GET', 720 'parameters' => [ 721 'name' => [ 722 'location' => 'path', 723 'type' => 'string', 724 'required' => true, 725 ], 726 ], 727 ], 728 ] 729 ] 730 ); 731 $this->nodes_deployments = new SASPortalTesting\Resource\NodesDeployments( 732 $this, 733 $this->serviceName, 734 'deployments', 735 [ 736 'methods' => [ 737 'delete' => [ 738 'path' => 'v1alpha1/{+name}', 739 'httpMethod' => 'DELETE', 740 'parameters' => [ 741 'name' => [ 742 'location' => 'path', 743 'type' => 'string', 744 'required' => true, 745 ], 746 ], 747 ],'get' => [ 748 'path' => 'v1alpha1/{+name}', 749 'httpMethod' => 'GET', 750 'parameters' => [ 751 'name' => [ 752 'location' => 'path', 753 'type' => 'string', 754 'required' => true, 755 ], 756 ], 757 ],'list' => [ 758 'path' => 'v1alpha1/{+parent}/deployments', 759 'httpMethod' => 'GET', 760 'parameters' => [ 761 'parent' => [ 762 'location' => 'path', 763 'type' => 'string', 764 'required' => true, 765 ], 766 'filter' => [ 767 'location' => 'query', 768 'type' => 'string', 769 ], 770 'pageSize' => [ 771 'location' => 'query', 772 'type' => 'integer', 773 ], 774 'pageToken' => [ 775 'location' => 'query', 776 'type' => 'string', 777 ], 778 ], 779 ],'move' => [ 780 'path' => 'v1alpha1/{+name}:move', 781 'httpMethod' => 'POST', 782 'parameters' => [ 783 'name' => [ 784 'location' => 'path', 785 'type' => 'string', 786 'required' => true, 787 ], 788 ], 789 ],'patch' => [ 790 'path' => 'v1alpha1/{+name}', 791 'httpMethod' => 'PATCH', 792 'parameters' => [ 793 'name' => [ 794 'location' => 'path', 795 'type' => 'string', 796 'required' => true, 797 ], 798 'updateMask' => [ 799 'location' => 'query', 800 'type' => 'string', 801 ], 802 ], 803 ], 804 ] 805 ] 806 ); 807 $this->nodes_deployments_devices = new SASPortalTesting\Resource\NodesDeploymentsDevices( 808 $this, 809 $this->serviceName, 810 'devices', 811 [ 812 'methods' => [ 813 'create' => [ 814 'path' => 'v1alpha1/{+parent}/devices', 815 'httpMethod' => 'POST', 816 'parameters' => [ 817 'parent' => [ 818 'location' => 'path', 819 'type' => 'string', 820 'required' => true, 821 ], 822 ], 823 ],'createSigned' => [ 824 'path' => 'v1alpha1/{+parent}/devices:createSigned', 825 'httpMethod' => 'POST', 826 'parameters' => [ 827 'parent' => [ 828 'location' => 'path', 829 'type' => 'string', 830 'required' => true, 831 ], 832 ], 833 ],'list' => [ 834 'path' => 'v1alpha1/{+parent}/devices', 835 'httpMethod' => 'GET', 836 'parameters' => [ 837 'parent' => [ 838 'location' => 'path', 839 'type' => 'string', 840 'required' => true, 841 ], 842 'filter' => [ 843 'location' => 'query', 844 'type' => 'string', 845 ], 846 'pageSize' => [ 847 'location' => 'query', 848 'type' => 'integer', 849 ], 850 'pageToken' => [ 851 'location' => 'query', 852 'type' => 'string', 853 ], 854 ], 855 ], 856 ] 857 ] 858 ); 859 $this->nodes_devices = new SASPortalTesting\Resource\NodesDevices( 860 $this, 861 $this->serviceName, 862 'devices', 863 [ 864 'methods' => [ 865 'create' => [ 866 'path' => 'v1alpha1/{+parent}/devices', 867 'httpMethod' => 'POST', 868 'parameters' => [ 869 'parent' => [ 870 'location' => 'path', 871 'type' => 'string', 872 'required' => true, 873 ], 874 ], 875 ],'createSigned' => [ 876 'path' => 'v1alpha1/{+parent}/devices:createSigned', 877 'httpMethod' => 'POST', 878 'parameters' => [ 879 'parent' => [ 880 'location' => 'path', 881 'type' => 'string', 882 'required' => true, 883 ], 884 ], 885 ],'delete' => [ 886 'path' => 'v1alpha1/{+name}', 887 'httpMethod' => 'DELETE', 888 'parameters' => [ 889 'name' => [ 890 'location' => 'path', 891 'type' => 'string', 892 'required' => true, 893 ], 894 ], 895 ],'get' => [ 896 'path' => 'v1alpha1/{+name}', 897 'httpMethod' => 'GET', 898 'parameters' => [ 899 'name' => [ 900 'location' => 'path', 901 'type' => 'string', 902 'required' => true, 903 ], 904 ], 905 ],'list' => [ 906 'path' => 'v1alpha1/{+parent}/devices', 907 'httpMethod' => 'GET', 908 'parameters' => [ 909 'parent' => [ 910 'location' => 'path', 911 'type' => 'string', 912 'required' => true, 913 ], 914 'filter' => [ 915 'location' => 'query', 916 'type' => 'string', 917 ], 918 'pageSize' => [ 919 'location' => 'query', 920 'type' => 'integer', 921 ], 922 'pageToken' => [ 923 'location' => 'query', 924 'type' => 'string', 925 ], 926 ], 927 ],'move' => [ 928 'path' => 'v1alpha1/{+name}:move', 929 'httpMethod' => 'POST', 930 'parameters' => [ 931 'name' => [ 932 'location' => 'path', 933 'type' => 'string', 934 'required' => true, 935 ], 936 ], 937 ],'patch' => [ 938 'path' => 'v1alpha1/{+name}', 939 'httpMethod' => 'PATCH', 940 'parameters' => [ 941 'name' => [ 942 'location' => 'path', 943 'type' => 'string', 944 'required' => true, 945 ], 946 'updateMask' => [ 947 'location' => 'query', 948 'type' => 'string', 949 ], 950 ], 951 ],'signDevice' => [ 952 'path' => 'v1alpha1/{+name}:signDevice', 953 'httpMethod' => 'POST', 954 'parameters' => [ 955 'name' => [ 956 'location' => 'path', 957 'type' => 'string', 958 'required' => true, 959 ], 960 ], 961 ],'updateSigned' => [ 962 'path' => 'v1alpha1/{+name}:updateSigned', 963 'httpMethod' => 'PATCH', 964 'parameters' => [ 965 'name' => [ 966 'location' => 'path', 967 'type' => 'string', 968 'required' => true, 969 ], 970 ], 971 ], 972 ] 973 ] 974 ); 975 $this->nodes_nodes = new SASPortalTesting\Resource\NodesNodes( 976 $this, 977 $this->serviceName, 978 'nodes', 979 [ 980 'methods' => [ 981 'create' => [ 982 'path' => 'v1alpha1/{+parent}/nodes', 983 'httpMethod' => 'POST', 984 'parameters' => [ 985 'parent' => [ 986 'location' => 'path', 987 'type' => 'string', 988 'required' => true, 989 ], 990 ], 991 ],'delete' => [ 992 'path' => 'v1alpha1/{+name}', 993 'httpMethod' => 'DELETE', 994 'parameters' => [ 995 'name' => [ 996 'location' => 'path', 997 'type' => 'string', 998 'required' => true, 999 ], 1000 ], 1001 ],'get' => [ 1002 'path' => 'v1alpha1/{+name}', 1003 'httpMethod' => 'GET', 1004 'parameters' => [ 1005 'name' => [ 1006 'location' => 'path', 1007 'type' => 'string', 1008 'required' => true, 1009 ], 1010 ], 1011 ],'list' => [ 1012 'path' => 'v1alpha1/{+parent}/nodes', 1013 'httpMethod' => 'GET', 1014 'parameters' => [ 1015 'parent' => [ 1016 'location' => 'path', 1017 'type' => 'string', 1018 'required' => true, 1019 ], 1020 'filter' => [ 1021 'location' => 'query', 1022 'type' => 'string', 1023 ], 1024 'pageSize' => [ 1025 'location' => 'query', 1026 'type' => 'integer', 1027 ], 1028 'pageToken' => [ 1029 'location' => 'query', 1030 'type' => 'string', 1031 ], 1032 ], 1033 ],'move' => [ 1034 'path' => 'v1alpha1/{+name}:move', 1035 'httpMethod' => 'POST', 1036 'parameters' => [ 1037 'name' => [ 1038 'location' => 'path', 1039 'type' => 'string', 1040 'required' => true, 1041 ], 1042 ], 1043 ],'patch' => [ 1044 'path' => 'v1alpha1/{+name}', 1045 'httpMethod' => 'PATCH', 1046 'parameters' => [ 1047 'name' => [ 1048 'location' => 'path', 1049 'type' => 'string', 1050 'required' => true, 1051 ], 1052 'updateMask' => [ 1053 'location' => 'query', 1054 'type' => 'string', 1055 ], 1056 ], 1057 ], 1058 ] 1059 ] 1060 ); 1061 $this->nodes_nodes_deployments = new SASPortalTesting\Resource\NodesNodesDeployments( 1062 $this, 1063 $this->serviceName, 1064 'deployments', 1065 [ 1066 'methods' => [ 1067 'create' => [ 1068 'path' => 'v1alpha1/{+parent}/deployments', 1069 'httpMethod' => 'POST', 1070 'parameters' => [ 1071 'parent' => [ 1072 'location' => 'path', 1073 'type' => 'string', 1074 'required' => true, 1075 ], 1076 ], 1077 ],'list' => [ 1078 'path' => 'v1alpha1/{+parent}/deployments', 1079 'httpMethod' => 'GET', 1080 'parameters' => [ 1081 'parent' => [ 1082 'location' => 'path', 1083 'type' => 'string', 1084 'required' => true, 1085 ], 1086 'filter' => [ 1087 'location' => 'query', 1088 'type' => 'string', 1089 ], 1090 'pageSize' => [ 1091 'location' => 'query', 1092 'type' => 'integer', 1093 ], 1094 'pageToken' => [ 1095 'location' => 'query', 1096 'type' => 'string', 1097 ], 1098 ], 1099 ], 1100 ] 1101 ] 1102 ); 1103 $this->nodes_nodes_devices = new SASPortalTesting\Resource\NodesNodesDevices( 1104 $this, 1105 $this->serviceName, 1106 'devices', 1107 [ 1108 'methods' => [ 1109 'create' => [ 1110 'path' => 'v1alpha1/{+parent}/devices', 1111 'httpMethod' => 'POST', 1112 'parameters' => [ 1113 'parent' => [ 1114 'location' => 'path', 1115 'type' => 'string', 1116 'required' => true, 1117 ], 1118 ], 1119 ],'createSigned' => [ 1120 'path' => 'v1alpha1/{+parent}/devices:createSigned', 1121 'httpMethod' => 'POST', 1122 'parameters' => [ 1123 'parent' => [ 1124 'location' => 'path', 1125 'type' => 'string', 1126 'required' => true, 1127 ], 1128 ], 1129 ],'list' => [ 1130 'path' => 'v1alpha1/{+parent}/devices', 1131 'httpMethod' => 'GET', 1132 'parameters' => [ 1133 'parent' => [ 1134 'location' => 'path', 1135 'type' => 'string', 1136 'required' => true, 1137 ], 1138 'filter' => [ 1139 'location' => 'query', 1140 'type' => 'string', 1141 ], 1142 'pageSize' => [ 1143 'location' => 'query', 1144 'type' => 'integer', 1145 ], 1146 'pageToken' => [ 1147 'location' => 'query', 1148 'type' => 'string', 1149 ], 1150 ], 1151 ], 1152 ] 1153 ] 1154 ); 1155 $this->nodes_nodes_nodes = new SASPortalTesting\Resource\NodesNodesNodes( 1156 $this, 1157 $this->serviceName, 1158 'nodes', 1159 [ 1160 'methods' => [ 1161 'create' => [ 1162 'path' => 'v1alpha1/{+parent}/nodes', 1163 'httpMethod' => 'POST', 1164 'parameters' => [ 1165 'parent' => [ 1166 'location' => 'path', 1167 'type' => 'string', 1168 'required' => true, 1169 ], 1170 ], 1171 ],'list' => [ 1172 'path' => 'v1alpha1/{+parent}/nodes', 1173 'httpMethod' => 'GET', 1174 'parameters' => [ 1175 'parent' => [ 1176 'location' => 'path', 1177 'type' => 'string', 1178 'required' => true, 1179 ], 1180 'filter' => [ 1181 'location' => 'query', 1182 'type' => 'string', 1183 ], 1184 'pageSize' => [ 1185 'location' => 'query', 1186 'type' => 'integer', 1187 ], 1188 'pageToken' => [ 1189 'location' => 'query', 1190 'type' => 'string', 1191 ], 1192 ], 1193 ], 1194 ] 1195 ] 1196 ); 1197 $this->policies = new SASPortalTesting\Resource\Policies( 1198 $this, 1199 $this->serviceName, 1200 'policies', 1201 [ 1202 'methods' => [ 1203 'get' => [ 1204 'path' => 'v1alpha1/policies:get', 1205 'httpMethod' => 'POST', 1206 'parameters' => [], 1207 ],'set' => [ 1208 'path' => 'v1alpha1/policies:set', 1209 'httpMethod' => 'POST', 1210 'parameters' => [], 1211 ],'test' => [ 1212 'path' => 'v1alpha1/policies:test', 1213 'httpMethod' => 'POST', 1214 'parameters' => [], 1215 ], 1216 ] 1217 ] 1218 ); 1219 } 1220} 1221 1222// Adding a class alias for backwards compatibility with the previous class name. 1223class_alias(SASPortalTesting::class, 'Google_Service_SASPortalTesting'); 1224