source: vendor/google/apiclient-services/src/Storage/BucketLifecycleRuleCondition.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 9 days ago

Upload new project files

  • Property mode set to 100644
File size: 4.5 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\Storage;
19
20class BucketLifecycleRuleCondition extends \Google\Collection
21{
22 protected $collection_key = 'matchesSuffix';
23 /**
24 * @var int
25 */
26 public $age;
27 /**
28 * @var string
29 */
30 public $createdBefore;
31 /**
32 * @var string
33 */
34 public $customTimeBefore;
35 /**
36 * @var int
37 */
38 public $daysSinceCustomTime;
39 /**
40 * @var int
41 */
42 public $daysSinceNoncurrentTime;
43 /**
44 * @var bool
45 */
46 public $isLive;
47 /**
48 * @var string
49 */
50 public $matchesPattern;
51 /**
52 * @var string[]
53 */
54 public $matchesPrefix;
55 /**
56 * @var string[]
57 */
58 public $matchesStorageClass;
59 /**
60 * @var string[]
61 */
62 public $matchesSuffix;
63 /**
64 * @var string
65 */
66 public $noncurrentTimeBefore;
67 /**
68 * @var int
69 */
70 public $numNewerVersions;
71
72 /**
73 * @param int
74 */
75 public function setAge($age)
76 {
77 $this->age = $age;
78 }
79 /**
80 * @return int
81 */
82 public function getAge()
83 {
84 return $this->age;
85 }
86 /**
87 * @param string
88 */
89 public function setCreatedBefore($createdBefore)
90 {
91 $this->createdBefore = $createdBefore;
92 }
93 /**
94 * @return string
95 */
96 public function getCreatedBefore()
97 {
98 return $this->createdBefore;
99 }
100 /**
101 * @param string
102 */
103 public function setCustomTimeBefore($customTimeBefore)
104 {
105 $this->customTimeBefore = $customTimeBefore;
106 }
107 /**
108 * @return string
109 */
110 public function getCustomTimeBefore()
111 {
112 return $this->customTimeBefore;
113 }
114 /**
115 * @param int
116 */
117 public function setDaysSinceCustomTime($daysSinceCustomTime)
118 {
119 $this->daysSinceCustomTime = $daysSinceCustomTime;
120 }
121 /**
122 * @return int
123 */
124 public function getDaysSinceCustomTime()
125 {
126 return $this->daysSinceCustomTime;
127 }
128 /**
129 * @param int
130 */
131 public function setDaysSinceNoncurrentTime($daysSinceNoncurrentTime)
132 {
133 $this->daysSinceNoncurrentTime = $daysSinceNoncurrentTime;
134 }
135 /**
136 * @return int
137 */
138 public function getDaysSinceNoncurrentTime()
139 {
140 return $this->daysSinceNoncurrentTime;
141 }
142 /**
143 * @param bool
144 */
145 public function setIsLive($isLive)
146 {
147 $this->isLive = $isLive;
148 }
149 /**
150 * @return bool
151 */
152 public function getIsLive()
153 {
154 return $this->isLive;
155 }
156 /**
157 * @param string
158 */
159 public function setMatchesPattern($matchesPattern)
160 {
161 $this->matchesPattern = $matchesPattern;
162 }
163 /**
164 * @return string
165 */
166 public function getMatchesPattern()
167 {
168 return $this->matchesPattern;
169 }
170 /**
171 * @param string[]
172 */
173 public function setMatchesPrefix($matchesPrefix)
174 {
175 $this->matchesPrefix = $matchesPrefix;
176 }
177 /**
178 * @return string[]
179 */
180 public function getMatchesPrefix()
181 {
182 return $this->matchesPrefix;
183 }
184 /**
185 * @param string[]
186 */
187 public function setMatchesStorageClass($matchesStorageClass)
188 {
189 $this->matchesStorageClass = $matchesStorageClass;
190 }
191 /**
192 * @return string[]
193 */
194 public function getMatchesStorageClass()
195 {
196 return $this->matchesStorageClass;
197 }
198 /**
199 * @param string[]
200 */
201 public function setMatchesSuffix($matchesSuffix)
202 {
203 $this->matchesSuffix = $matchesSuffix;
204 }
205 /**
206 * @return string[]
207 */
208 public function getMatchesSuffix()
209 {
210 return $this->matchesSuffix;
211 }
212 /**
213 * @param string
214 */
215 public function setNoncurrentTimeBefore($noncurrentTimeBefore)
216 {
217 $this->noncurrentTimeBefore = $noncurrentTimeBefore;
218 }
219 /**
220 * @return string
221 */
222 public function getNoncurrentTimeBefore()
223 {
224 return $this->noncurrentTimeBefore;
225 }
226 /**
227 * @param int
228 */
229 public function setNumNewerVersions($numNewerVersions)
230 {
231 $this->numNewerVersions = $numNewerVersions;
232 }
233 /**
234 * @return int
235 */
236 public function getNumNewerVersions()
237 {
238 return $this->numNewerVersions;
239 }
240}
241
242// Adding a class alias for backwards compatibility with the previous class name.
243class_alias(BucketLifecycleRuleCondition::class, 'Google_Service_Storage_BucketLifecycleRuleCondition');
Note: See TracBrowser for help on using the repository browser.