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