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