1 | <?php
|
---|
2 | /*
|
---|
3 | * Copyright 2014 Google Inc.
|
---|
4 | *
|
---|
5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
7 | * the License at
|
---|
8 | *
|
---|
9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
10 | *
|
---|
11 | * Unless required by applicable law or agreed to in writing, software
|
---|
12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
14 | * License for the specific language governing permissions and limitations under
|
---|
15 | * the License.
|
---|
16 | */
|
---|
17 |
|
---|
18 | namespace Google\Service\ContainerAnalysis;
|
---|
19 |
|
---|
20 | class Deployment extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'resourceUri';
|
---|
23 | public $address;
|
---|
24 | public $config;
|
---|
25 | public $deployTime;
|
---|
26 | public $platform;
|
---|
27 | public $resourceUri;
|
---|
28 | public $undeployTime;
|
---|
29 | public $userEmail;
|
---|
30 |
|
---|
31 | public function setAddress($address)
|
---|
32 | {
|
---|
33 | $this->address = $address;
|
---|
34 | }
|
---|
35 | public function getAddress()
|
---|
36 | {
|
---|
37 | return $this->address;
|
---|
38 | }
|
---|
39 | public function setConfig($config)
|
---|
40 | {
|
---|
41 | $this->config = $config;
|
---|
42 | }
|
---|
43 | public function getConfig()
|
---|
44 | {
|
---|
45 | return $this->config;
|
---|
46 | }
|
---|
47 | public function setDeployTime($deployTime)
|
---|
48 | {
|
---|
49 | $this->deployTime = $deployTime;
|
---|
50 | }
|
---|
51 | public function getDeployTime()
|
---|
52 | {
|
---|
53 | return $this->deployTime;
|
---|
54 | }
|
---|
55 | public function setPlatform($platform)
|
---|
56 | {
|
---|
57 | $this->platform = $platform;
|
---|
58 | }
|
---|
59 | public function getPlatform()
|
---|
60 | {
|
---|
61 | return $this->platform;
|
---|
62 | }
|
---|
63 | public function setResourceUri($resourceUri)
|
---|
64 | {
|
---|
65 | $this->resourceUri = $resourceUri;
|
---|
66 | }
|
---|
67 | public function getResourceUri()
|
---|
68 | {
|
---|
69 | return $this->resourceUri;
|
---|
70 | }
|
---|
71 | public function setUndeployTime($undeployTime)
|
---|
72 | {
|
---|
73 | $this->undeployTime = $undeployTime;
|
---|
74 | }
|
---|
75 | public function getUndeployTime()
|
---|
76 | {
|
---|
77 | return $this->undeployTime;
|
---|
78 | }
|
---|
79 | public function setUserEmail($userEmail)
|
---|
80 | {
|
---|
81 | $this->userEmail = $userEmail;
|
---|
82 | }
|
---|
83 | public function getUserEmail()
|
---|
84 | {
|
---|
85 | return $this->userEmail;
|
---|
86 | }
|
---|
87 | }
|
---|
88 |
|
---|
89 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
90 | class_alias(Deployment::class, 'Google_Service_ContainerAnalysis_Deployment');
|
---|