source: vendor/google/apiclient-services/src/CloudRun/GoogleCloudRunV2Container.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks ago

Upload project files

  • Property mode set to 100644
File size: 4.6 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\CloudRun;
19
20class GoogleCloudRunV2Container extends \Google\Collection
21{
22 protected $collection_key = 'volumeMounts';
23 /**
24 * @var string[]
25 */
26 public $args;
27 /**
28 * @var string[]
29 */
30 public $command;
31 /**
32 * @var string[]
33 */
34 public $dependsOn;
35 protected $envType = GoogleCloudRunV2EnvVar::class;
36 protected $envDataType = 'array';
37 /**
38 * @var string
39 */
40 public $image;
41 protected $livenessProbeType = GoogleCloudRunV2Probe::class;
42 protected $livenessProbeDataType = '';
43 /**
44 * @var string
45 */
46 public $name;
47 protected $portsType = GoogleCloudRunV2ContainerPort::class;
48 protected $portsDataType = 'array';
49 protected $resourcesType = GoogleCloudRunV2ResourceRequirements::class;
50 protected $resourcesDataType = '';
51 protected $startupProbeType = GoogleCloudRunV2Probe::class;
52 protected $startupProbeDataType = '';
53 protected $volumeMountsType = GoogleCloudRunV2VolumeMount::class;
54 protected $volumeMountsDataType = 'array';
55 /**
56 * @var string
57 */
58 public $workingDir;
59
60 /**
61 * @param string[]
62 */
63 public function setArgs($args)
64 {
65 $this->args = $args;
66 }
67 /**
68 * @return string[]
69 */
70 public function getArgs()
71 {
72 return $this->args;
73 }
74 /**
75 * @param string[]
76 */
77 public function setCommand($command)
78 {
79 $this->command = $command;
80 }
81 /**
82 * @return string[]
83 */
84 public function getCommand()
85 {
86 return $this->command;
87 }
88 /**
89 * @param string[]
90 */
91 public function setDependsOn($dependsOn)
92 {
93 $this->dependsOn = $dependsOn;
94 }
95 /**
96 * @return string[]
97 */
98 public function getDependsOn()
99 {
100 return $this->dependsOn;
101 }
102 /**
103 * @param GoogleCloudRunV2EnvVar[]
104 */
105 public function setEnv($env)
106 {
107 $this->env = $env;
108 }
109 /**
110 * @return GoogleCloudRunV2EnvVar[]
111 */
112 public function getEnv()
113 {
114 return $this->env;
115 }
116 /**
117 * @param string
118 */
119 public function setImage($image)
120 {
121 $this->image = $image;
122 }
123 /**
124 * @return string
125 */
126 public function getImage()
127 {
128 return $this->image;
129 }
130 /**
131 * @param GoogleCloudRunV2Probe
132 */
133 public function setLivenessProbe(GoogleCloudRunV2Probe $livenessProbe)
134 {
135 $this->livenessProbe = $livenessProbe;
136 }
137 /**
138 * @return GoogleCloudRunV2Probe
139 */
140 public function getLivenessProbe()
141 {
142 return $this->livenessProbe;
143 }
144 /**
145 * @param string
146 */
147 public function setName($name)
148 {
149 $this->name = $name;
150 }
151 /**
152 * @return string
153 */
154 public function getName()
155 {
156 return $this->name;
157 }
158 /**
159 * @param GoogleCloudRunV2ContainerPort[]
160 */
161 public function setPorts($ports)
162 {
163 $this->ports = $ports;
164 }
165 /**
166 * @return GoogleCloudRunV2ContainerPort[]
167 */
168 public function getPorts()
169 {
170 return $this->ports;
171 }
172 /**
173 * @param GoogleCloudRunV2ResourceRequirements
174 */
175 public function setResources(GoogleCloudRunV2ResourceRequirements $resources)
176 {
177 $this->resources = $resources;
178 }
179 /**
180 * @return GoogleCloudRunV2ResourceRequirements
181 */
182 public function getResources()
183 {
184 return $this->resources;
185 }
186 /**
187 * @param GoogleCloudRunV2Probe
188 */
189 public function setStartupProbe(GoogleCloudRunV2Probe $startupProbe)
190 {
191 $this->startupProbe = $startupProbe;
192 }
193 /**
194 * @return GoogleCloudRunV2Probe
195 */
196 public function getStartupProbe()
197 {
198 return $this->startupProbe;
199 }
200 /**
201 * @param GoogleCloudRunV2VolumeMount[]
202 */
203 public function setVolumeMounts($volumeMounts)
204 {
205 $this->volumeMounts = $volumeMounts;
206 }
207 /**
208 * @return GoogleCloudRunV2VolumeMount[]
209 */
210 public function getVolumeMounts()
211 {
212 return $this->volumeMounts;
213 }
214 /**
215 * @param string
216 */
217 public function setWorkingDir($workingDir)
218 {
219 $this->workingDir = $workingDir;
220 }
221 /**
222 * @return string
223 */
224 public function getWorkingDir()
225 {
226 return $this->workingDir;
227 }
228}
229
230// Adding a class alias for backwards compatibility with the previous class name.
231class_alias(GoogleCloudRunV2Container::class, 'Google_Service_CloudRun_GoogleCloudRunV2Container');
Note: See TracBrowser for help on using the repository browser.