Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]
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 DeploymentManager (v2). 20 * 21 * <p> 22 * The Deployment Manager API allows users to declaratively configure, deploy 23 * and run complex solutions on the Google Cloud Platform.</p> 24 * 25 * <p> 26 * For more information about this service, see the API 27 * <a href="https://cloud.google.com/deployment-manager/" target="_blank">Documentation</a> 28 * </p> 29 * 30 * @author Google, Inc. 31 */ 32 #[AllowDynamicProperties] 33 class Google_Service_DeploymentManager extends Google_Service 34 { 35 /** View and manage your data across Google Cloud Platform services. */ 36 const CLOUD_PLATFORM = 37 "https://www.googleapis.com/auth/cloud-platform"; 38 /** View your data across Google Cloud Platform services. */ 39 const CLOUD_PLATFORM_READ_ONLY = 40 "https://www.googleapis.com/auth/cloud-platform.read-only"; 41 /** View and manage your Google Cloud Platform management resources and deployment status information. */ 42 const NDEV_CLOUDMAN = 43 "https://www.googleapis.com/auth/ndev.cloudman"; 44 /** View your Google Cloud Platform management resources and deployment status information. */ 45 const NDEV_CLOUDMAN_READONLY = 46 "https://www.googleapis.com/auth/ndev.cloudman.readonly"; 47 48 public $deployments; 49 public $manifests; 50 public $operations; 51 public $resources; 52 public $types; 53 54 55 /** 56 * Constructs the internal representation of the DeploymentManager service. 57 * 58 * @param Google_Client $client 59 */ 60 public function __construct(Google_Client $client) 61 { 62 parent::__construct($client); 63 $this->rootUrl = 'https://www.googleapis.com/'; 64 $this->servicePath = 'deploymentmanager/v2/projects/'; 65 $this->version = 'v2'; 66 $this->serviceName = 'deploymentmanager'; 67 68 $this->deployments = new Google_Service_DeploymentManager_Deployments_Resource( 69 $this, 70 $this->serviceName, 71 'deployments', 72 array( 73 'methods' => array( 74 'cancelPreview' => array( 75 'path' => '{project}/global/deployments/{deployment}/cancelPreview', 76 'httpMethod' => 'POST', 77 'parameters' => array( 78 'project' => array( 79 'location' => 'path', 80 'type' => 'string', 81 'required' => true, 82 ), 83 'deployment' => array( 84 'location' => 'path', 85 'type' => 'string', 86 'required' => true, 87 ), 88 ), 89 ),'delete' => array( 90 'path' => '{project}/global/deployments/{deployment}', 91 'httpMethod' => 'DELETE', 92 'parameters' => array( 93 'project' => array( 94 'location' => 'path', 95 'type' => 'string', 96 'required' => true, 97 ), 98 'deployment' => array( 99 'location' => 'path', 100 'type' => 'string', 101 'required' => true, 102 ), 103 ), 104 ),'get' => array( 105 'path' => '{project}/global/deployments/{deployment}', 106 'httpMethod' => 'GET', 107 'parameters' => array( 108 'project' => array( 109 'location' => 'path', 110 'type' => 'string', 111 'required' => true, 112 ), 113 'deployment' => array( 114 'location' => 'path', 115 'type' => 'string', 116 'required' => true, 117 ), 118 ), 119 ),'insert' => array( 120 'path' => '{project}/global/deployments', 121 'httpMethod' => 'POST', 122 'parameters' => array( 123 'project' => array( 124 'location' => 'path', 125 'type' => 'string', 126 'required' => true, 127 ), 128 'preview' => array( 129 'location' => 'query', 130 'type' => 'boolean', 131 ), 132 ), 133 ),'list' => array( 134 'path' => '{project}/global/deployments', 135 'httpMethod' => 'GET', 136 'parameters' => array( 137 'project' => array( 138 'location' => 'path', 139 'type' => 'string', 140 'required' => true, 141 ), 142 'filter' => array( 143 'location' => 'query', 144 'type' => 'string', 145 ), 146 'pageToken' => array( 147 'location' => 'query', 148 'type' => 'string', 149 ), 150 'maxResults' => array( 151 'location' => 'query', 152 'type' => 'integer', 153 ), 154 ), 155 ),'patch' => array( 156 'path' => '{project}/global/deployments/{deployment}', 157 'httpMethod' => 'PATCH', 158 'parameters' => array( 159 'project' => array( 160 'location' => 'path', 161 'type' => 'string', 162 'required' => true, 163 ), 164 'deployment' => array( 165 'location' => 'path', 166 'type' => 'string', 167 'required' => true, 168 ), 169 'preview' => array( 170 'location' => 'query', 171 'type' => 'boolean', 172 ), 173 'deletePolicy' => array( 174 'location' => 'query', 175 'type' => 'string', 176 ), 177 'createPolicy' => array( 178 'location' => 'query', 179 'type' => 'string', 180 ), 181 ), 182 ),'stop' => array( 183 'path' => '{project}/global/deployments/{deployment}/stop', 184 'httpMethod' => 'POST', 185 'parameters' => array( 186 'project' => array( 187 'location' => 'path', 188 'type' => 'string', 189 'required' => true, 190 ), 191 'deployment' => array( 192 'location' => 'path', 193 'type' => 'string', 194 'required' => true, 195 ), 196 ), 197 ),'update' => array( 198 'path' => '{project}/global/deployments/{deployment}', 199 'httpMethod' => 'PUT', 200 'parameters' => array( 201 'project' => array( 202 'location' => 'path', 203 'type' => 'string', 204 'required' => true, 205 ), 206 'deployment' => array( 207 'location' => 'path', 208 'type' => 'string', 209 'required' => true, 210 ), 211 'preview' => array( 212 'location' => 'query', 213 'type' => 'boolean', 214 ), 215 'deletePolicy' => array( 216 'location' => 'query', 217 'type' => 'string', 218 ), 219 'createPolicy' => array( 220 'location' => 'query', 221 'type' => 'string', 222 ), 223 ), 224 ), 225 ) 226 ) 227 ); 228 $this->manifests = new Google_Service_DeploymentManager_Manifests_Resource( 229 $this, 230 $this->serviceName, 231 'manifests', 232 array( 233 'methods' => array( 234 'get' => array( 235 'path' => '{project}/global/deployments/{deployment}/manifests/{manifest}', 236 'httpMethod' => 'GET', 237 'parameters' => array( 238 'project' => array( 239 'location' => 'path', 240 'type' => 'string', 241 'required' => true, 242 ), 243 'deployment' => array( 244 'location' => 'path', 245 'type' => 'string', 246 'required' => true, 247 ), 248 'manifest' => array( 249 'location' => 'path', 250 'type' => 'string', 251 'required' => true, 252 ), 253 ), 254 ),'list' => array( 255 'path' => '{project}/global/deployments/{deployment}/manifests', 256 'httpMethod' => 'GET', 257 'parameters' => array( 258 'project' => array( 259 'location' => 'path', 260 'type' => 'string', 261 'required' => true, 262 ), 263 'deployment' => array( 264 'location' => 'path', 265 'type' => 'string', 266 'required' => true, 267 ), 268 'filter' => array( 269 'location' => 'query', 270 'type' => 'string', 271 ), 272 'pageToken' => array( 273 'location' => 'query', 274 'type' => 'string', 275 ), 276 'maxResults' => array( 277 'location' => 'query', 278 'type' => 'integer', 279 ), 280 ), 281 ), 282 ) 283 ) 284 ); 285 $this->operations = new Google_Service_DeploymentManager_Operations_Resource( 286 $this, 287 $this->serviceName, 288 'operations', 289 array( 290 'methods' => array( 291 'get' => array( 292 'path' => '{project}/global/operations/{operation}', 293 'httpMethod' => 'GET', 294 'parameters' => array( 295 'project' => array( 296 'location' => 'path', 297 'type' => 'string', 298 'required' => true, 299 ), 300 'operation' => array( 301 'location' => 'path', 302 'type' => 'string', 303 'required' => true, 304 ), 305 ), 306 ),'list' => array( 307 'path' => '{project}/global/operations', 308 'httpMethod' => 'GET', 309 'parameters' => array( 310 'project' => array( 311 'location' => 'path', 312 'type' => 'string', 313 'required' => true, 314 ), 315 'filter' => array( 316 'location' => 'query', 317 'type' => 'string', 318 ), 319 'pageToken' => array( 320 'location' => 'query', 321 'type' => 'string', 322 ), 323 'maxResults' => array( 324 'location' => 'query', 325 'type' => 'integer', 326 ), 327 ), 328 ), 329 ) 330 ) 331 ); 332 $this->resources = new Google_Service_DeploymentManager_Resources_Resource( 333 $this, 334 $this->serviceName, 335 'resources', 336 array( 337 'methods' => array( 338 'get' => array( 339 'path' => '{project}/global/deployments/{deployment}/resources/{resource}', 340 'httpMethod' => 'GET', 341 'parameters' => array( 342 'project' => array( 343 'location' => 'path', 344 'type' => 'string', 345 'required' => true, 346 ), 347 'deployment' => array( 348 'location' => 'path', 349 'type' => 'string', 350 'required' => true, 351 ), 352 'resource' => array( 353 'location' => 'path', 354 'type' => 'string', 355 'required' => true, 356 ), 357 ), 358 ),'list' => array( 359 'path' => '{project}/global/deployments/{deployment}/resources', 360 'httpMethod' => 'GET', 361 'parameters' => array( 362 'project' => array( 363 'location' => 'path', 364 'type' => 'string', 365 'required' => true, 366 ), 367 'deployment' => array( 368 'location' => 'path', 369 'type' => 'string', 370 'required' => true, 371 ), 372 'filter' => array( 373 'location' => 'query', 374 'type' => 'string', 375 ), 376 'pageToken' => array( 377 'location' => 'query', 378 'type' => 'string', 379 ), 380 'maxResults' => array( 381 'location' => 'query', 382 'type' => 'integer', 383 ), 384 ), 385 ), 386 ) 387 ) 388 ); 389 $this->types = new Google_Service_DeploymentManager_Types_Resource( 390 $this, 391 $this->serviceName, 392 'types', 393 array( 394 'methods' => array( 395 'list' => array( 396 'path' => '{project}/global/types', 397 'httpMethod' => 'GET', 398 'parameters' => array( 399 'project' => array( 400 'location' => 'path', 401 'type' => 'string', 402 'required' => true, 403 ), 404 'filter' => array( 405 'location' => 'query', 406 'type' => 'string', 407 ), 408 'pageToken' => array( 409 'location' => 'query', 410 'type' => 'string', 411 ), 412 'maxResults' => array( 413 'location' => 'query', 414 'type' => 'integer', 415 ), 416 ), 417 ), 418 ) 419 ) 420 ); 421 } 422 } 423 424 425 /** 426 * The "deployments" collection of methods. 427 * Typical usage is: 428 * <code> 429 * $deploymentmanagerService = new Google_Service_DeploymentManager(...); 430 * $deployments = $deploymentmanagerService->deployments; 431 * </code> 432 */ 433 #[AllowDynamicProperties] 434 class Google_Service_DeploymentManager_Deployments_Resource extends Google_Service_Resource 435 { 436 437 /** 438 * Cancels and removes the preview currently associated with the deployment. 439 * (deployments.cancelPreview) 440 * 441 * @param string $project The project ID for this request. 442 * @param string $deployment The name of the deployment for this request. 443 * @param Google_DeploymentsCancelPreviewRequest $postBody 444 * @param array $optParams Optional parameters. 445 * @return Google_Service_DeploymentManager_Operation 446 */ 447 public function cancelPreview($project, $deployment, Google_Service_DeploymentManager_DeploymentsCancelPreviewRequest $postBody, $optParams = array()) 448 { 449 $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody); 450 $params = array_merge($params, $optParams); 451 return $this->call('cancelPreview', array($params), "Google_Service_DeploymentManager_Operation"); 452 } 453 454 /** 455 * Deletes a deployment and all of the resources in the deployment. 456 * (deployments.delete) 457 * 458 * @param string $project The project ID for this request. 459 * @param string $deployment The name of the deployment for this request. 460 * @param array $optParams Optional parameters. 461 * @return Google_Service_DeploymentManager_Operation 462 */ 463 public function delete($project, $deployment, $optParams = array()) 464 { 465 $params = array('project' => $project, 'deployment' => $deployment); 466 $params = array_merge($params, $optParams); 467 return $this->call('delete', array($params), "Google_Service_DeploymentManager_Operation"); 468 } 469 470 /** 471 * Gets information about a specific deployment. (deployments.get) 472 * 473 * @param string $project The project ID for this request. 474 * @param string $deployment The name of the deployment for this request. 475 * @param array $optParams Optional parameters. 476 * @return Google_Service_DeploymentManager_Deployment 477 */ 478 public function get($project, $deployment, $optParams = array()) 479 { 480 $params = array('project' => $project, 'deployment' => $deployment); 481 $params = array_merge($params, $optParams); 482 return $this->call('get', array($params), "Google_Service_DeploymentManager_Deployment"); 483 } 484 485 /** 486 * Creates a deployment and all of the resources described by the deployment 487 * manifest. (deployments.insert) 488 * 489 * @param string $project The project ID for this request. 490 * @param Google_Deployment $postBody 491 * @param array $optParams Optional parameters. 492 * 493 * @opt_param bool preview If set to true, creates a deployment and creates 494 * "shell" resources but does not actually instantiate these resources. This 495 * allows you to preview what your deployment looks like. After previewing a 496 * deployment, you can deploy your resources by making a request with the 497 * update() method or you can use the cancelPreview() method to cancel the 498 * preview altogether. Note that the deployment will still exist after you 499 * cancel the preview and you must separately delete this deployment if you want 500 * to remove it. 501 * @return Google_Service_DeploymentManager_Operation 502 */ 503 public function insert($project, Google_Service_DeploymentManager_Deployment $postBody, $optParams = array()) 504 { 505 $params = array('project' => $project, 'postBody' => $postBody); 506 $params = array_merge($params, $optParams); 507 return $this->call('insert', array($params), "Google_Service_DeploymentManager_Operation"); 508 } 509 510 /** 511 * Lists all deployments for a given project. (deployments.listDeployments) 512 * 513 * @param string $project The project ID for this request. 514 * @param array $optParams Optional parameters. 515 * 516 * @opt_param string filter Sets a filter expression for filtering listed 517 * resources, in the form filter={expression}. Your {expression} must be in the 518 * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. 519 * 520 * The FIELD_NAME is the name of the field you want to compare. Only atomic 521 * field types are supported (string, number, boolean). The COMPARISON_STRING 522 * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the 523 * string value to filter to. The literal value must be valid for the type of 524 * field (string, number, boolean). For string fields, the literal value is 525 * interpreted as a regular expression using RE2 syntax. The literal value must 526 * match the entire field. 527 * 528 * For example, filter=name ne example-instance. 529 * @opt_param string pageToken Specifies a page token to use. Use this parameter 530 * if you want to list the next page of results. Set pageToken to the 531 * nextPageToken returned by a previous list request. 532 * @opt_param string maxResults Maximum count of results to be returned. 533 * @return Google_Service_DeploymentManager_DeploymentsListResponse 534 */ 535 public function listDeployments($project, $optParams = array()) 536 { 537 $params = array('project' => $project); 538 $params = array_merge($params, $optParams); 539 return $this->call('list', array($params), "Google_Service_DeploymentManager_DeploymentsListResponse"); 540 } 541 542 /** 543 * Updates a deployment and all of the resources described by the deployment 544 * manifest. This method supports patch semantics. (deployments.patch) 545 * 546 * @param string $project The project ID for this request. 547 * @param string $deployment The name of the deployment for this request. 548 * @param Google_Deployment $postBody 549 * @param array $optParams Optional parameters. 550 * 551 * @opt_param bool preview If set to true, updates the deployment and creates 552 * and updates the "shell" resources but does not actually alter or instantiate 553 * these resources. This allows you to preview what your deployment looks like. 554 * You can use this intent to preview how an update would affect your 555 * deployment. You must provide a target.config with a configuration if this is 556 * set to true. After previewing a deployment, you can deploy your resources by 557 * making a request with the update() or you can cancelPreview() to remove the 558 * preview altogether. Note that the deployment will still exist after you 559 * cancel the preview and you must separately delete this deployment if you want 560 * to remove it. 561 * @opt_param string deletePolicy Sets the policy to use for deleting resources. 562 * @opt_param string createPolicy Sets the policy to use for creating new 563 * resources. 564 * @return Google_Service_DeploymentManager_Operation 565 */ 566 public function patch($project, $deployment, Google_Service_DeploymentManager_Deployment $postBody, $optParams = array()) 567 { 568 $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody); 569 $params = array_merge($params, $optParams); 570 return $this->call('patch', array($params), "Google_Service_DeploymentManager_Operation"); 571 } 572 573 /** 574 * Stops an ongoing operation. This does not roll back any work that has already 575 * been completed, but prevents any new work from being started. 576 * (deployments.stop) 577 * 578 * @param string $project The project ID for this request. 579 * @param string $deployment The name of the deployment for this request. 580 * @param Google_DeploymentsStopRequest $postBody 581 * @param array $optParams Optional parameters. 582 * @return Google_Service_DeploymentManager_Operation 583 */ 584 public function stop($project, $deployment, Google_Service_DeploymentManager_DeploymentsStopRequest $postBody, $optParams = array()) 585 { 586 $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody); 587 $params = array_merge($params, $optParams); 588 return $this->call('stop', array($params), "Google_Service_DeploymentManager_Operation"); 589 } 590 591 /** 592 * Updates a deployment and all of the resources described by the deployment 593 * manifest. (deployments.update) 594 * 595 * @param string $project The project ID for this request. 596 * @param string $deployment The name of the deployment for this request. 597 * @param Google_Deployment $postBody 598 * @param array $optParams Optional parameters. 599 * 600 * @opt_param bool preview If set to true, updates the deployment and creates 601 * and updates the "shell" resources but does not actually alter or instantiate 602 * these resources. This allows you to preview what your deployment looks like. 603 * You can use this intent to preview how an update would affect your 604 * deployment. You must provide a target.config with a configuration if this is 605 * set to true. After previewing a deployment, you can deploy your resources by 606 * making a request with the update() or you can cancelPreview() to remove the 607 * preview altogether. Note that the deployment will still exist after you 608 * cancel the preview and you must separately delete this deployment if you want 609 * to remove it. 610 * @opt_param string deletePolicy Sets the policy to use for deleting resources. 611 * @opt_param string createPolicy Sets the policy to use for creating new 612 * resources. 613 * @return Google_Service_DeploymentManager_Operation 614 */ 615 public function update($project, $deployment, Google_Service_DeploymentManager_Deployment $postBody, $optParams = array()) 616 { 617 $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody); 618 $params = array_merge($params, $optParams); 619 return $this->call('update', array($params), "Google_Service_DeploymentManager_Operation"); 620 } 621 } 622 623 /** 624 * The "manifests" collection of methods. 625 * Typical usage is: 626 * <code> 627 * $deploymentmanagerService = new Google_Service_DeploymentManager(...); 628 * $manifests = $deploymentmanagerService->manifests; 629 * </code> 630 */ 631 #[AllowDynamicProperties] 632 class Google_Service_DeploymentManager_Manifests_Resource extends Google_Service_Resource 633 { 634 635 /** 636 * Gets information about a specific manifest. (manifests.get) 637 * 638 * @param string $project The project ID for this request. 639 * @param string $deployment The name of the deployment for this request. 640 * @param string $manifest The name of the manifest for this request. 641 * @param array $optParams Optional parameters. 642 * @return Google_Service_DeploymentManager_Manifest 643 */ 644 public function get($project, $deployment, $manifest, $optParams = array()) 645 { 646 $params = array('project' => $project, 'deployment' => $deployment, 'manifest' => $manifest); 647 $params = array_merge($params, $optParams); 648 return $this->call('get', array($params), "Google_Service_DeploymentManager_Manifest"); 649 } 650 651 /** 652 * Lists all manifests for a given deployment. (manifests.listManifests) 653 * 654 * @param string $project The project ID for this request. 655 * @param string $deployment The name of the deployment for this request. 656 * @param array $optParams Optional parameters. 657 * 658 * @opt_param string filter Sets a filter expression for filtering listed 659 * resources, in the form filter={expression}. Your {expression} must be in the 660 * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. 661 * 662 * The FIELD_NAME is the name of the field you want to compare. Only atomic 663 * field types are supported (string, number, boolean). The COMPARISON_STRING 664 * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the 665 * string value to filter to. The literal value must be valid for the type of 666 * field (string, number, boolean). For string fields, the literal value is 667 * interpreted as a regular expression using RE2 syntax. The literal value must 668 * match the entire field. 669 * 670 * For example, filter=name ne example-instance. 671 * @opt_param string pageToken Specifies a page token to use. Use this parameter 672 * if you want to list the next page of results. Set pageToken to the 673 * nextPageToken returned by a previous list request. 674 * @opt_param string maxResults Maximum count of results to be returned. 675 * @return Google_Service_DeploymentManager_ManifestsListResponse 676 */ 677 public function listManifests($project, $deployment, $optParams = array()) 678 { 679 $params = array('project' => $project, 'deployment' => $deployment); 680 $params = array_merge($params, $optParams); 681 return $this->call('list', array($params), "Google_Service_DeploymentManager_ManifestsListResponse"); 682 } 683 } 684 685 /** 686 * The "operations" collection of methods. 687 * Typical usage is: 688 * <code> 689 * $deploymentmanagerService = new Google_Service_DeploymentManager(...); 690 * $operations = $deploymentmanagerService->operations; 691 * </code> 692 */ 693 #[AllowDynamicProperties] 694 class Google_Service_DeploymentManager_Operations_Resource extends Google_Service_Resource 695 { 696 697 /** 698 * Gets information about a specific operation. (operations.get) 699 * 700 * @param string $project The project ID for this request. 701 * @param string $operation The name of the operation for this request. 702 * @param array $optParams Optional parameters. 703 * @return Google_Service_DeploymentManager_Operation 704 */ 705 public function get($project, $operation, $optParams = array()) 706 { 707 $params = array('project' => $project, 'operation' => $operation); 708 $params = array_merge($params, $optParams); 709 return $this->call('get', array($params), "Google_Service_DeploymentManager_Operation"); 710 } 711 712 /** 713 * Lists all operations for a project. (operations.listOperations) 714 * 715 * @param string $project The project ID for this request. 716 * @param array $optParams Optional parameters. 717 * 718 * @opt_param string filter Sets a filter expression for filtering listed 719 * resources, in the form filter={expression}. Your {expression} must be in the 720 * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. 721 * 722 * The FIELD_NAME is the name of the field you want to compare. Only atomic 723 * field types are supported (string, number, boolean). The COMPARISON_STRING 724 * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the 725 * string value to filter to. The literal value must be valid for the type of 726 * field (string, number, boolean). For string fields, the literal value is 727 * interpreted as a regular expression using RE2 syntax. The literal value must 728 * match the entire field. 729 * 730 * For example, filter=name ne example-instance. 731 * @opt_param string pageToken Specifies a page token to use. Use this parameter 732 * if you want to list the next page of results. Set pageToken to the 733 * nextPageToken returned by a previous list request. 734 * @opt_param string maxResults Maximum count of results to be returned. 735 * @return Google_Service_DeploymentManager_OperationsListResponse 736 */ 737 public function listOperations($project, $optParams = array()) 738 { 739 $params = array('project' => $project); 740 $params = array_merge($params, $optParams); 741 return $this->call('list', array($params), "Google_Service_DeploymentManager_OperationsListResponse"); 742 } 743 } 744 745 /** 746 * The "resources" collection of methods. 747 * Typical usage is: 748 * <code> 749 * $deploymentmanagerService = new Google_Service_DeploymentManager(...); 750 * $resources = $deploymentmanagerService->resources; 751 * </code> 752 */ 753 #[AllowDynamicProperties] 754 class Google_Service_DeploymentManager_Resources_Resource extends Google_Service_Resource 755 { 756 757 /** 758 * Gets information about a single resource. (resources.get) 759 * 760 * @param string $project The project ID for this request. 761 * @param string $deployment The name of the deployment for this request. 762 * @param string $resource The name of the resource for this request. 763 * @param array $optParams Optional parameters. 764 * @return Google_Service_DeploymentManager_DeploymentmanagerResource 765 */ 766 public function get($project, $deployment, $resource, $optParams = array()) 767 { 768 $params = array('project' => $project, 'deployment' => $deployment, 'resource' => $resource); 769 $params = array_merge($params, $optParams); 770 return $this->call('get', array($params), "Google_Service_DeploymentManager_DeploymentmanagerResource"); 771 } 772 773 /** 774 * Lists all resources in a given deployment. (resources.listResources) 775 * 776 * @param string $project The project ID for this request. 777 * @param string $deployment The name of the deployment for this request. 778 * @param array $optParams Optional parameters. 779 * 780 * @opt_param string filter Sets a filter expression for filtering listed 781 * resources, in the form filter={expression}. Your {expression} must be in the 782 * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. 783 * 784 * The FIELD_NAME is the name of the field you want to compare. Only atomic 785 * field types are supported (string, number, boolean). The COMPARISON_STRING 786 * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the 787 * string value to filter to. The literal value must be valid for the type of 788 * field (string, number, boolean). For string fields, the literal value is 789 * interpreted as a regular expression using RE2 syntax. The literal value must 790 * match the entire field. 791 * 792 * For example, filter=name ne example-instance. 793 * @opt_param string pageToken Specifies a page token to use. Use this parameter 794 * if you want to list the next page of results. Set pageToken to the 795 * nextPageToken returned by a previous list request. 796 * @opt_param string maxResults Maximum count of results to be returned. 797 * @return Google_Service_DeploymentManager_ResourcesListResponse 798 */ 799 public function listResources($project, $deployment, $optParams = array()) 800 { 801 $params = array('project' => $project, 'deployment' => $deployment); 802 $params = array_merge($params, $optParams); 803 return $this->call('list', array($params), "Google_Service_DeploymentManager_ResourcesListResponse"); 804 } 805 } 806 807 /** 808 * The "types" collection of methods. 809 * Typical usage is: 810 * <code> 811 * $deploymentmanagerService = new Google_Service_DeploymentManager(...); 812 * $types = $deploymentmanagerService->types; 813 * </code> 814 */ 815 #[AllowDynamicProperties] 816 class Google_Service_DeploymentManager_Types_Resource extends Google_Service_Resource 817 { 818 819 /** 820 * Lists all resource types for Deployment Manager. (types.listTypes) 821 * 822 * @param string $project The project ID for this request. 823 * @param array $optParams Optional parameters. 824 * 825 * @opt_param string filter Sets a filter expression for filtering listed 826 * resources, in the form filter={expression}. Your {expression} must be in the 827 * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. 828 * 829 * The FIELD_NAME is the name of the field you want to compare. Only atomic 830 * field types are supported (string, number, boolean). The COMPARISON_STRING 831 * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the 832 * string value to filter to. The literal value must be valid for the type of 833 * field (string, number, boolean). For string fields, the literal value is 834 * interpreted as a regular expression using RE2 syntax. The literal value must 835 * match the entire field. 836 * 837 * For example, filter=name ne example-instance. 838 * @opt_param string pageToken Specifies a page token to use. Use this parameter 839 * if you want to list the next page of results. Set pageToken to the 840 * nextPageToken returned by a previous list request. 841 * @opt_param string maxResults Maximum count of results to be returned. 842 * @return Google_Service_DeploymentManager_TypesListResponse 843 */ 844 public function listTypes($project, $optParams = array()) 845 { 846 $params = array('project' => $project); 847 $params = array_merge($params, $optParams); 848 return $this->call('list', array($params), "Google_Service_DeploymentManager_TypesListResponse"); 849 } 850 } 851 852 853 854 855 #[AllowDynamicProperties] 856 class Google_Service_DeploymentManager_ConfigFile extends Google_Model 857 { 858 protected $internal_gapi_mappings = array( 859 ); 860 public $content; 861 862 863 public function setContent($content) 864 { 865 $this->content = $content; 866 } 867 public function getContent() 868 { 869 return $this->content; 870 } 871 } 872 873 #[AllowDynamicProperties] 874 class Google_Service_DeploymentManager_Deployment extends Google_Model 875 { 876 protected $internal_gapi_mappings = array( 877 ); 878 public $description; 879 public $fingerprint; 880 public $id; 881 public $insertTime; 882 public $manifest; 883 public $name; 884 protected $operationType = 'Google_Service_DeploymentManager_Operation'; 885 protected $operationDataType = ''; 886 protected $targetType = 'Google_Service_DeploymentManager_TargetConfiguration'; 887 protected $targetDataType = ''; 888 protected $updateType = 'Google_Service_DeploymentManager_DeploymentUpdate'; 889 protected $updateDataType = ''; 890 891 892 public function setDescription($description) 893 { 894 $this->description = $description; 895 } 896 public function getDescription() 897 { 898 return $this->description; 899 } 900 public function setFingerprint($fingerprint) 901 { 902 $this->fingerprint = $fingerprint; 903 } 904 public function getFingerprint() 905 { 906 return $this->fingerprint; 907 } 908 public function setId($id) 909 { 910 $this->id = $id; 911 } 912 public function getId() 913 { 914 return $this->id; 915 } 916 public function setInsertTime($insertTime) 917 { 918 $this->insertTime = $insertTime; 919 } 920 public function getInsertTime() 921 { 922 return $this->insertTime; 923 } 924 public function setManifest($manifest) 925 { 926 $this->manifest = $manifest; 927 } 928 public function getManifest() 929 { 930 return $this->manifest; 931 } 932 public function setName($name) 933 { 934 $this->name = $name; 935 } 936 public function getName() 937 { 938 return $this->name; 939 } 940 public function setOperation(Google_Service_DeploymentManager_Operation $operation) 941 { 942 $this->operation = $operation; 943 } 944 public function getOperation() 945 { 946 return $this->operation; 947 } 948 public function setTarget(Google_Service_DeploymentManager_TargetConfiguration $target) 949 { 950 $this->target = $target; 951 } 952 public function getTarget() 953 { 954 return $this->target; 955 } 956 public function setUpdate(Google_Service_DeploymentManager_DeploymentUpdate $update) 957 { 958 $this->update = $update; 959 } 960 public function getUpdate() 961 { 962 return $this->update; 963 } 964 } 965 966 #[AllowDynamicProperties] 967 class Google_Service_DeploymentManager_DeploymentUpdate extends Google_Model 968 { 969 protected $internal_gapi_mappings = array( 970 ); 971 public $manifest; 972 973 974 public function setManifest($manifest) 975 { 976 $this->manifest = $manifest; 977 } 978 public function getManifest() 979 { 980 return $this->manifest; 981 } 982 } 983 984 #[AllowDynamicProperties] 985 class Google_Service_DeploymentManager_DeploymentmanagerResource extends Google_Collection 986 { 987 protected $collection_key = 'warnings'; 988 protected $internal_gapi_mappings = array( 989 ); 990 public $finalProperties; 991 public $id; 992 public $insertTime; 993 public $manifest; 994 public $name; 995 public $properties; 996 public $type; 997 protected $updateType = 'Google_Service_DeploymentManager_ResourceUpdate'; 998 protected $updateDataType = ''; 999 public $updateTime; 1000 public $url; 1001 protected $warningsType = 'Google_Service_DeploymentManager_DeploymentmanagerResourceWarnings'; 1002 protected $warningsDataType = 'array'; 1003 1004 1005 public function setFinalProperties($finalProperties) 1006 { 1007 $this->finalProperties = $finalProperties; 1008 } 1009 public function getFinalProperties() 1010 { 1011 return $this->finalProperties; 1012 } 1013 public function setId($id) 1014 { 1015 $this->id = $id; 1016 } 1017 public function getId() 1018 { 1019 return $this->id; 1020 } 1021 public function setInsertTime($insertTime) 1022 { 1023 $this->insertTime = $insertTime; 1024 } 1025 public function getInsertTime() 1026 { 1027 return $this->insertTime; 1028 } 1029 public function setManifest($manifest) 1030 { 1031 $this->manifest = $manifest; 1032 } 1033 public function getManifest() 1034 { 1035 return $this->manifest; 1036 } 1037 public function setName($name) 1038 { 1039 $this->name = $name; 1040 } 1041 public function getName() 1042 { 1043 return $this->name; 1044 } 1045 public function setProperties($properties) 1046 { 1047 $this->properties = $properties; 1048 } 1049 public function getProperties() 1050 { 1051 return $this->properties; 1052 } 1053 public function setType($type) 1054 { 1055 $this->type = $type; 1056 } 1057 public function getType() 1058 { 1059 return $this->type; 1060 } 1061 public function setUpdate(Google_Service_DeploymentManager_ResourceUpdate $update) 1062 { 1063 $this->update = $update; 1064 } 1065 public function getUpdate() 1066 { 1067 return $this->update; 1068 } 1069 public function setUpdateTime($updateTime) 1070 { 1071 $this->updateTime = $updateTime; 1072 } 1073 public function getUpdateTime() 1074 { 1075 return $this->updateTime; 1076 } 1077 public function setUrl($url) 1078 { 1079 $this->url = $url; 1080 } 1081 public function getUrl() 1082 { 1083 return $this->url; 1084 } 1085 public function setWarnings($warnings) 1086 { 1087 $this->warnings = $warnings; 1088 } 1089 public function getWarnings() 1090 { 1091 return $this->warnings; 1092 } 1093 } 1094 1095 #[AllowDynamicProperties] 1096 class Google_Service_DeploymentManager_DeploymentmanagerResourceWarnings extends Google_Collection 1097 { 1098 protected $collection_key = 'data'; 1099 protected $internal_gapi_mappings = array( 1100 ); 1101 public $code; 1102 protected $dataType = 'Google_Service_DeploymentManager_DeploymentmanagerResourceWarningsData'; 1103 protected $dataDataType = 'array'; 1104 public $message; 1105 1106 1107 public function setCode($code) 1108 { 1109 $this->code = $code; 1110 } 1111 public function getCode() 1112 { 1113 return $this->code; 1114 } 1115 public function setData($data) 1116 { 1117 $this->data = $data; 1118 } 1119 public function getData() 1120 { 1121 return $this->data; 1122 } 1123 public function setMessage($message) 1124 { 1125 $this->message = $message; 1126 } 1127 public function getMessage() 1128 { 1129 return $this->message; 1130 } 1131 } 1132 1133 #[AllowDynamicProperties] 1134 class Google_Service_DeploymentManager_DeploymentmanagerResourceWarningsData extends Google_Model 1135 { 1136 protected $internal_gapi_mappings = array( 1137 ); 1138 public $key; 1139 public $value; 1140 1141 1142 public function setKey($key) 1143 { 1144 $this->key = $key; 1145 } 1146 public function getKey() 1147 { 1148 return $this->key; 1149 } 1150 public function setValue($value) 1151 { 1152 $this->value = $value; 1153 } 1154 public function getValue() 1155 { 1156 return $this->value; 1157 } 1158 } 1159 1160 #[AllowDynamicProperties] 1161 class Google_Service_DeploymentManager_DeploymentsCancelPreviewRequest extends Google_Model 1162 { 1163 protected $internal_gapi_mappings = array( 1164 ); 1165 public $fingerprint; 1166 1167 1168 public function setFingerprint($fingerprint) 1169 { 1170 $this->fingerprint = $fingerprint; 1171 } 1172 public function getFingerprint() 1173 { 1174 return $this->fingerprint; 1175 } 1176 } 1177 1178 #[AllowDynamicProperties] 1179 class Google_Service_DeploymentManager_DeploymentsListResponse extends Google_Collection 1180 { 1181 protected $collection_key = 'deployments'; 1182 protected $internal_gapi_mappings = array( 1183 ); 1184 protected $deploymentsType = 'Google_Service_DeploymentManager_Deployment'; 1185 protected $deploymentsDataType = 'array'; 1186 public $nextPageToken; 1187 1188 1189 public function setDeployments($deployments) 1190 { 1191 $this->deployments = $deployments; 1192 } 1193 public function getDeployments() 1194 { 1195 return $this->deployments; 1196 } 1197 public function setNextPageToken($nextPageToken) 1198 { 1199 $this->nextPageToken = $nextPageToken; 1200 } 1201 public function getNextPageToken() 1202 { 1203 return $this->nextPageToken; 1204 } 1205 } 1206 1207 #[AllowDynamicProperties] 1208 class Google_Service_DeploymentManager_DeploymentsStopRequest extends Google_Model 1209 { 1210 protected $internal_gapi_mappings = array( 1211 ); 1212 public $fingerprint; 1213 1214 1215 public function setFingerprint($fingerprint) 1216 { 1217 $this->fingerprint = $fingerprint; 1218 } 1219 public function getFingerprint() 1220 { 1221 return $this->fingerprint; 1222 } 1223 } 1224 1225 #[AllowDynamicProperties] 1226 class Google_Service_DeploymentManager_ImportFile extends Google_Model 1227 { 1228 protected $internal_gapi_mappings = array( 1229 ); 1230 public $content; 1231 public $name; 1232 1233 1234 public function setContent($content) 1235 { 1236 $this->content = $content; 1237 } 1238 public function getContent() 1239 { 1240 return $this->content; 1241 } 1242 public function setName($name) 1243 { 1244 $this->name = $name; 1245 } 1246 public function getName() 1247 { 1248 return $this->name; 1249 } 1250 } 1251 1252 #[AllowDynamicProperties] 1253 class Google_Service_DeploymentManager_Manifest extends Google_Collection 1254 { 1255 protected $collection_key = 'imports'; 1256 protected $internal_gapi_mappings = array( 1257 ); 1258 protected $configType = 'Google_Service_DeploymentManager_ConfigFile'; 1259 protected $configDataType = ''; 1260 public $expandedConfig; 1261 public $id; 1262 protected $importsType = 'Google_Service_DeploymentManager_ImportFile'; 1263 protected $importsDataType = 'array'; 1264 public $insertTime; 1265 public $layout; 1266 public $name; 1267 public $selfLink; 1268 1269 1270 public function setConfig(Google_Service_DeploymentManager_ConfigFile $config) 1271 { 1272 $this->config = $config; 1273 } 1274 public function getConfig() 1275 { 1276 return $this->config; 1277 } 1278 public function setExpandedConfig($expandedConfig) 1279 { 1280 $this->expandedConfig = $expandedConfig; 1281 } 1282 public function getExpandedConfig() 1283 { 1284 return $this->expandedConfig; 1285 } 1286 public function setId($id) 1287 { 1288 $this->id = $id; 1289 } 1290 public function getId() 1291 { 1292 return $this->id; 1293 } 1294 public function setImports($imports) 1295 { 1296 $this->imports = $imports; 1297 } 1298 public function getImports() 1299 { 1300 return $this->imports; 1301 } 1302 public function setInsertTime($insertTime) 1303 { 1304 $this->insertTime = $insertTime; 1305 } 1306 public function getInsertTime() 1307 { 1308 return $this->insertTime; 1309 } 1310 public function setLayout($layout) 1311 { 1312 $this->layout = $layout; 1313 } 1314 public function getLayout() 1315 { 1316 return $this->layout; 1317 } 1318 public function setName($name) 1319 { 1320 $this->name = $name; 1321 } 1322 public function getName() 1323 { 1324 return $this->name; 1325 } 1326 public function setSelfLink($selfLink) 1327 { 1328 $this->selfLink = $selfLink; 1329 } 1330 public function getSelfLink() 1331 { 1332 return $this->selfLink; 1333 } 1334 } 1335 1336 #[AllowDynamicProperties] 1337 class Google_Service_DeploymentManager_ManifestsListResponse extends Google_Collection 1338 { 1339 protected $collection_key = 'manifests'; 1340 protected $internal_gapi_mappings = array( 1341 ); 1342 protected $manifestsType = 'Google_Service_DeploymentManager_Manifest'; 1343 protected $manifestsDataType = 'array'; 1344 public $nextPageToken; 1345 1346 1347 public function setManifests($manifests) 1348 { 1349 $this->manifests = $manifests; 1350 } 1351 public function getManifests() 1352 { 1353 return $this->manifests; 1354 } 1355 public function setNextPageToken($nextPageToken) 1356 { 1357 $this->nextPageToken = $nextPageToken; 1358 } 1359 public function getNextPageToken() 1360 { 1361 return $this->nextPageToken; 1362 } 1363 } 1364 1365 #[AllowDynamicProperties] 1366 class Google_Service_DeploymentManager_Operation extends Google_Collection 1367 { 1368 protected $collection_key = 'warnings'; 1369 protected $internal_gapi_mappings = array( 1370 ); 1371 public $clientOperationId; 1372 public $creationTimestamp; 1373 public $endTime; 1374 protected $errorType = 'Google_Service_DeploymentManager_OperationError'; 1375 protected $errorDataType = ''; 1376 public $httpErrorMessage; 1377 public $httpErrorStatusCode; 1378 public $id; 1379 public $insertTime; 1380 public $kind; 1381 public $name; 1382 public $operationType; 1383 public $progress; 1384 public $region; 1385 public $selfLink; 1386 public $startTime; 1387 public $status; 1388 public $statusMessage; 1389 public $targetId; 1390 public $targetLink; 1391 public $user; 1392 protected $warningsType = 'Google_Service_DeploymentManager_OperationWarnings'; 1393 protected $warningsDataType = 'array'; 1394 public $zone; 1395 1396 1397 public function setClientOperationId($clientOperationId) 1398 { 1399 $this->clientOperationId = $clientOperationId; 1400 } 1401 public function getClientOperationId() 1402 { 1403 return $this->clientOperationId; 1404 } 1405 public function setCreationTimestamp($creationTimestamp) 1406 { 1407 $this->creationTimestamp = $creationTimestamp; 1408 } 1409 public function getCreationTimestamp() 1410 { 1411 return $this->creationTimestamp; 1412 } 1413 public function setEndTime($endTime) 1414 { 1415 $this->endTime = $endTime; 1416 } 1417 public function getEndTime() 1418 { 1419 return $this->endTime; 1420 } 1421 public function setError(Google_Service_DeploymentManager_OperationError $error) 1422 { 1423 $this->error = $error; 1424 } 1425 public function getError() 1426 { 1427 return $this->error; 1428 } 1429 public function setHttpErrorMessage($httpErrorMessage) 1430 { 1431 $this->httpErrorMessage = $httpErrorMessage; 1432 } 1433 public function getHttpErrorMessage() 1434 { 1435 return $this->httpErrorMessage; 1436 } 1437 public function setHttpErrorStatusCode($httpErrorStatusCode) 1438 { 1439 $this->httpErrorStatusCode = $httpErrorStatusCode; 1440 } 1441 public function getHttpErrorStatusCode() 1442 { 1443 return $this->httpErrorStatusCode; 1444 } 1445 public function setId($id) 1446 { 1447 $this->id = $id; 1448 } 1449 public function getId() 1450 { 1451 return $this->id; 1452 } 1453 public function setInsertTime($insertTime) 1454 { 1455 $this->insertTime = $insertTime; 1456 } 1457 public function getInsertTime() 1458 { 1459 return $this->insertTime; 1460 } 1461 public function setKind($kind) 1462 { 1463 $this->kind = $kind; 1464 } 1465 public function getKind() 1466 { 1467 return $this->kind; 1468 } 1469 public function setName($name) 1470 { 1471 $this->name = $name; 1472 } 1473 public function getName() 1474 { 1475 return $this->name; 1476 } 1477 public function setOperationType($operationType) 1478 { 1479 $this->operationType = $operationType; 1480 } 1481 public function getOperationType() 1482 { 1483 return $this->operationType; 1484 } 1485 public function setProgress($progress) 1486 { 1487 $this->progress = $progress; 1488 } 1489 public function getProgress() 1490 { 1491 return $this->progress; 1492 } 1493 public function setRegion($region) 1494 { 1495 $this->region = $region; 1496 } 1497 public function getRegion() 1498 { 1499 return $this->region; 1500 } 1501 public function setSelfLink($selfLink) 1502 { 1503 $this->selfLink = $selfLink; 1504 } 1505 public function getSelfLink() 1506 { 1507 return $this->selfLink; 1508 } 1509 public function setStartTime($startTime) 1510 { 1511 $this->startTime = $startTime; 1512 } 1513 public function getStartTime() 1514 { 1515 return $this->startTime; 1516 } 1517 public function setStatus($status) 1518 { 1519 $this->status = $status; 1520 } 1521 public function getStatus() 1522 { 1523 return $this->status; 1524 } 1525 public function setStatusMessage($statusMessage) 1526 { 1527 $this->statusMessage = $statusMessage; 1528 } 1529 public function getStatusMessage() 1530 { 1531 return $this->statusMessage; 1532 } 1533 public function setTargetId($targetId) 1534 { 1535 $this->targetId = $targetId; 1536 } 1537 public function getTargetId() 1538 { 1539 return $this->targetId; 1540 } 1541 public function setTargetLink($targetLink) 1542 { 1543 $this->targetLink = $targetLink; 1544 } 1545 public function getTargetLink() 1546 { 1547 return $this->targetLink; 1548 } 1549 public function setUser($user) 1550 { 1551 $this->user = $user; 1552 } 1553 public function getUser() 1554 { 1555 return $this->user; 1556 } 1557 public function setWarnings($warnings) 1558 { 1559 $this->warnings = $warnings; 1560 } 1561 public function getWarnings() 1562 { 1563 return $this->warnings; 1564 } 1565 public function setZone($zone) 1566 { 1567 $this->zone = $zone; 1568 } 1569 public function getZone() 1570 { 1571 return $this->zone; 1572 } 1573 } 1574 1575 #[AllowDynamicProperties] 1576 class Google_Service_DeploymentManager_OperationError extends Google_Collection 1577 { 1578 protected $collection_key = 'errors'; 1579 protected $internal_gapi_mappings = array( 1580 ); 1581 protected $errorsType = 'Google_Service_DeploymentManager_OperationErrorErrors'; 1582 protected $errorsDataType = 'array'; 1583 1584 1585 public function setErrors($errors) 1586 { 1587 $this->errors = $errors; 1588 } 1589 public function getErrors() 1590 { 1591 return $this->errors; 1592 } 1593 } 1594 1595 #[AllowDynamicProperties] 1596 class Google_Service_DeploymentManager_OperationErrorErrors extends Google_Model 1597 { 1598 protected $internal_gapi_mappings = array( 1599 ); 1600 public $code; 1601 public $location; 1602 public $message; 1603 1604 1605 public function setCode($code) 1606 { 1607 $this->code = $code; 1608 } 1609 public function getCode() 1610 { 1611 return $this->code; 1612 } 1613 public function setLocation($location) 1614 { 1615 $this->location = $location; 1616 } 1617 public function getLocation() 1618 { 1619 return $this->location; 1620 } 1621 public function setMessage($message) 1622 { 1623 $this->message = $message; 1624 } 1625 public function getMessage() 1626 { 1627 return $this->message; 1628 } 1629 } 1630 1631 #[AllowDynamicProperties] 1632 class Google_Service_DeploymentManager_OperationWarnings extends Google_Collection 1633 { 1634 protected $collection_key = 'data'; 1635 protected $internal_gapi_mappings = array( 1636 ); 1637 public $code; 1638 protected $dataType = 'Google_Service_DeploymentManager_OperationWarningsData'; 1639 protected $dataDataType = 'array'; 1640 public $message; 1641 1642 1643 public function setCode($code) 1644 { 1645 $this->code = $code; 1646 } 1647 public function getCode() 1648 { 1649 return $this->code; 1650 } 1651 public function setData($data) 1652 { 1653 $this->data = $data; 1654 } 1655 public function getData() 1656 { 1657 return $this->data; 1658 } 1659 public function setMessage($message) 1660 { 1661 $this->message = $message; 1662 } 1663 public function getMessage() 1664 { 1665 return $this->message; 1666 } 1667 } 1668 1669 #[AllowDynamicProperties] 1670 class Google_Service_DeploymentManager_OperationWarningsData extends Google_Model 1671 { 1672 protected $internal_gapi_mappings = array( 1673 ); 1674 public $key; 1675 public $value; 1676 1677 1678 public function setKey($key) 1679 { 1680 $this->key = $key; 1681 } 1682 public function getKey() 1683 { 1684 return $this->key; 1685 } 1686 public function setValue($value) 1687 { 1688 $this->value = $value; 1689 } 1690 public function getValue() 1691 { 1692 return $this->value; 1693 } 1694 } 1695 1696 #[AllowDynamicProperties] 1697 class Google_Service_DeploymentManager_OperationsListResponse extends Google_Collection 1698 { 1699 protected $collection_key = 'operations'; 1700 protected $internal_gapi_mappings = array( 1701 ); 1702 public $nextPageToken; 1703 protected $operationsType = 'Google_Service_DeploymentManager_Operation'; 1704 protected $operationsDataType = 'array'; 1705 1706 1707 public function setNextPageToken($nextPageToken) 1708 { 1709 $this->nextPageToken = $nextPageToken; 1710 } 1711 public function getNextPageToken() 1712 { 1713 return $this->nextPageToken; 1714 } 1715 public function setOperations($operations) 1716 { 1717 $this->operations = $operations; 1718 } 1719 public function getOperations() 1720 { 1721 return $this->operations; 1722 } 1723 } 1724 1725 #[AllowDynamicProperties] 1726 class Google_Service_DeploymentManager_ResourceUpdate extends Google_Collection 1727 { 1728 protected $collection_key = 'warnings'; 1729 protected $internal_gapi_mappings = array( 1730 ); 1731 protected $errorType = 'Google_Service_DeploymentManager_ResourceUpdateError'; 1732 protected $errorDataType = ''; 1733 public $finalProperties; 1734 public $intent; 1735 public $manifest; 1736 public $properties; 1737 public $state; 1738 protected $warningsType = 'Google_Service_DeploymentManager_ResourceUpdateWarnings'; 1739 protected $warningsDataType = 'array'; 1740 1741 1742 public function setError(Google_Service_DeploymentManager_ResourceUpdateError $error) 1743 { 1744 $this->error = $error; 1745 } 1746 public function getError() 1747 { 1748 return $this->error; 1749 } 1750 public function setFinalProperties($finalProperties) 1751 { 1752 $this->finalProperties = $finalProperties; 1753 } 1754 public function getFinalProperties() 1755 { 1756 return $this->finalProperties; 1757 } 1758 public function setIntent($intent) 1759 { 1760 $this->intent = $intent; 1761 } 1762 public function getIntent() 1763 { 1764 return $this->intent; 1765 } 1766 public function setManifest($manifest) 1767 { 1768 $this->manifest = $manifest; 1769 } 1770 public function getManifest() 1771 { 1772 return $this->manifest; 1773 } 1774 public function setProperties($properties) 1775 { 1776 $this->properties = $properties; 1777 } 1778 public function getProperties() 1779 { 1780 return $this->properties; 1781 } 1782 public function setState($state) 1783 { 1784 $this->state = $state; 1785 } 1786 public function getState() 1787 { 1788 return $this->state; 1789 } 1790 public function setWarnings($warnings) 1791 { 1792 $this->warnings = $warnings; 1793 } 1794 public function getWarnings() 1795 { 1796 return $this->warnings; 1797 } 1798 } 1799 1800 #[AllowDynamicProperties] 1801 class Google_Service_DeploymentManager_ResourceUpdateError extends Google_Collection 1802 { 1803 protected $collection_key = 'errors'; 1804 protected $internal_gapi_mappings = array( 1805 ); 1806 protected $errorsType = 'Google_Service_DeploymentManager_ResourceUpdateErrorErrors'; 1807 protected $errorsDataType = 'array'; 1808 1809 1810 public function setErrors($errors) 1811 { 1812 $this->errors = $errors; 1813 } 1814 public function getErrors() 1815 { 1816 return $this->errors; 1817 } 1818 } 1819 1820 #[AllowDynamicProperties] 1821 class Google_Service_DeploymentManager_ResourceUpdateErrorErrors extends Google_Model 1822 { 1823 protected $internal_gapi_mappings = array( 1824 ); 1825 public $code; 1826 public $location; 1827 public $message; 1828 1829 1830 public function setCode($code) 1831 { 1832 $this->code = $code; 1833 } 1834 public function getCode() 1835 { 1836 return $this->code; 1837 } 1838 public function setLocation($location) 1839 { 1840 $this->location = $location; 1841 } 1842 public function getLocation() 1843 { 1844 return $this->location; 1845 } 1846 public function setMessage($message) 1847 { 1848 $this->message = $message; 1849 } 1850 public function getMessage() 1851 { 1852 return $this->message; 1853 } 1854 } 1855 1856 #[AllowDynamicProperties] 1857 class Google_Service_DeploymentManager_ResourceUpdateWarnings extends Google_Collection 1858 { 1859 protected $collection_key = 'data'; 1860 protected $internal_gapi_mappings = array( 1861 ); 1862 public $code; 1863 protected $dataType = 'Google_Service_DeploymentManager_ResourceUpdateWarningsData'; 1864 protected $dataDataType = 'array'; 1865 public $message; 1866 1867 1868 public function setCode($code) 1869 { 1870 $this->code = $code; 1871 } 1872 public function getCode() 1873 { 1874 return $this->code; 1875 } 1876 public function setData($data) 1877 { 1878 $this->data = $data; 1879 } 1880 public function getData() 1881 { 1882 return $this->data; 1883 } 1884 public function setMessage($message) 1885 { 1886 $this->message = $message; 1887 } 1888 public function getMessage() 1889 { 1890 return $this->message; 1891 } 1892 } 1893 1894 #[AllowDynamicProperties] 1895 class Google_Service_DeploymentManager_ResourceUpdateWarningsData extends Google_Model 1896 { 1897 protected $internal_gapi_mappings = array( 1898 ); 1899 public $key; 1900 public $value; 1901 1902 1903 public function setKey($key) 1904 { 1905 $this->key = $key; 1906 } 1907 public function getKey() 1908 { 1909 return $this->key; 1910 } 1911 public function setValue($value) 1912 { 1913 $this->value = $value; 1914 } 1915 public function getValue() 1916 { 1917 return $this->value; 1918 } 1919 } 1920 1921 #[AllowDynamicProperties] 1922 class Google_Service_DeploymentManager_ResourcesListResponse extends Google_Collection 1923 { 1924 protected $collection_key = 'resources'; 1925 protected $internal_gapi_mappings = array( 1926 ); 1927 public $nextPageToken; 1928 protected $resourcesType = 'Google_Service_DeploymentManager_DeploymentmanagerResource'; 1929 protected $resourcesDataType = 'array'; 1930 1931 1932 public function setNextPageToken($nextPageToken) 1933 { 1934 $this->nextPageToken = $nextPageToken; 1935 } 1936 public function getNextPageToken() 1937 { 1938 return $this->nextPageToken; 1939 } 1940 public function setResources($resources) 1941 { 1942 $this->resources = $resources; 1943 } 1944 public function getResources() 1945 { 1946 return $this->resources; 1947 } 1948 } 1949 1950 #[AllowDynamicProperties] 1951 class Google_Service_DeploymentManager_TargetConfiguration extends Google_Collection 1952 { 1953 protected $collection_key = 'imports'; 1954 protected $internal_gapi_mappings = array( 1955 ); 1956 protected $configType = 'Google_Service_DeploymentManager_ConfigFile'; 1957 protected $configDataType = ''; 1958 protected $importsType = 'Google_Service_DeploymentManager_ImportFile'; 1959 protected $importsDataType = 'array'; 1960 1961 1962 public function setConfig(Google_Service_DeploymentManager_ConfigFile $config) 1963 { 1964 $this->config = $config; 1965 } 1966 public function getConfig() 1967 { 1968 return $this->config; 1969 } 1970 public function setImports($imports) 1971 { 1972 $this->imports = $imports; 1973 } 1974 public function getImports() 1975 { 1976 return $this->imports; 1977 } 1978 } 1979 1980 #[AllowDynamicProperties] 1981 class Google_Service_DeploymentManager_Type extends Google_Model 1982 { 1983 protected $internal_gapi_mappings = array( 1984 ); 1985 public $id; 1986 public $insertTime; 1987 public $name; 1988 public $selfLink; 1989 1990 1991 public function setId($id) 1992 { 1993 $this->id = $id; 1994 } 1995 public function getId() 1996 { 1997 return $this->id; 1998 } 1999 public function setInsertTime($insertTime) 2000 { 2001 $this->insertTime = $insertTime; 2002 } 2003 public function getInsertTime() 2004 { 2005 return $this->insertTime; 2006 } 2007 public function setName($name) 2008 { 2009 $this->name = $name; 2010 } 2011 public function getName() 2012 { 2013 return $this->name; 2014 } 2015 public function setSelfLink($selfLink) 2016 { 2017 $this->selfLink = $selfLink; 2018 } 2019 public function getSelfLink() 2020 { 2021 return $this->selfLink; 2022 } 2023 } 2024 2025 #[AllowDynamicProperties] 2026 class Google_Service_DeploymentManager_TypesListResponse extends Google_Collection 2027 { 2028 protected $collection_key = 'types'; 2029 protected $internal_gapi_mappings = array( 2030 ); 2031 public $nextPageToken; 2032 protected $typesType = 'Google_Service_DeploymentManager_Type'; 2033 protected $typesDataType = 'array'; 2034 2035 2036 public function setNextPageToken($nextPageToken) 2037 { 2038 $this->nextPageToken = $nextPageToken; 2039 } 2040 public function getNextPageToken() 2041 { 2042 return $this->nextPageToken; 2043 } 2044 public function setTypes($types) 2045 { 2046 $this->types = $types; 2047 } 2048 public function getTypes() 2049 { 2050 return $this->types; 2051 } 2052 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body