| 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 |
namespace wpCloud\StatelessMedia\Google_Client; |
| 18 |
|
| 19 |
class Google_Service_Storage_Bucket extends Google_Collection |
| 20 |
{ |
| 21 |
protected $collection_key = 'zoneAffinity'; |
| 22 |
protected $aclType = 'Google_Service_Storage_BucketAccessControl'; |
| 23 |
protected $aclDataType = 'array'; |
| 24 |
protected $billingType = 'Google_Service_Storage_BucketBilling'; |
| 25 |
protected $billingDataType = ''; |
| 26 |
protected $corsType = 'Google_Service_Storage_BucketCors'; |
| 27 |
protected $corsDataType = 'array'; |
| 28 |
public $defaultEventBasedHold; |
| 29 |
protected $defaultObjectAclType = 'Google_Service_Storage_ObjectAccessControl'; |
| 30 |
protected $defaultObjectAclDataType = 'array'; |
| 31 |
protected $encryptionType = 'Google_Service_Storage_BucketEncryption'; |
| 32 |
protected $encryptionDataType = ''; |
| 33 |
public $etag; |
| 34 |
protected $iamConfigurationType = 'Google_Service_Storage_BucketIamConfiguration'; |
| 35 |
protected $iamConfigurationDataType = ''; |
| 36 |
public $id; |
| 37 |
public $kind; |
| 38 |
public $labels; |
| 39 |
protected $lifecycleType = 'Google_Service_Storage_BucketLifecycle'; |
| 40 |
protected $lifecycleDataType = ''; |
| 41 |
public $location; |
| 42 |
public $locationType; |
| 43 |
protected $loggingType = 'Google_Service_Storage_BucketLogging'; |
| 44 |
protected $loggingDataType = ''; |
| 45 |
public $metageneration; |
| 46 |
public $name; |
| 47 |
protected $ownerType = 'Google_Service_Storage_BucketOwner'; |
| 48 |
protected $ownerDataType = ''; |
| 49 |
public $projectNumber; |
| 50 |
protected $retentionPolicyType = 'Google_Service_Storage_BucketRetentionPolicy'; |
| 51 |
protected $retentionPolicyDataType = ''; |
| 52 |
public $selfLink; |
| 53 |
public $storageClass; |
| 54 |
public $timeCreated; |
| 55 |
public $updated; |
| 56 |
protected $versioningType = 'Google_Service_Storage_BucketVersioning'; |
| 57 |
protected $versioningDataType = ''; |
| 58 |
protected $websiteType = 'Google_Service_Storage_BucketWebsite'; |
| 59 |
protected $websiteDataType = ''; |
| 60 |
public $zoneAffinity; |
| 61 |
public $zoneSeparation; |
| 62 |
|
| 63 |
/** |
| 64 |
* @param Google_Service_Storage_BucketAccessControl |
| 65 |
*/ |
| 66 |
public function setAcl($acl) |
| 67 |
{ |
| 68 |
$this->acl = $acl; |
| 69 |
} |
| 70 |
/** |
| 71 |
* @return Google_Service_Storage_BucketAccessControl |
| 72 |
*/ |
| 73 |
public function getAcl() |
| 74 |
{ |
| 75 |
return $this->acl; |
| 76 |
} |
| 77 |
/** |
| 78 |
* @param Google_Service_Storage_BucketBilling |
| 79 |
*/ |
| 80 |
public function setBilling(Google_Service_Storage_BucketBilling $billing) |
| 81 |
{ |
| 82 |
$this->billing = $billing; |
| 83 |
} |
| 84 |
/** |
| 85 |
* @return Google_Service_Storage_BucketBilling |
| 86 |
*/ |
| 87 |
public function getBilling() |
| 88 |
{ |
| 89 |
return $this->billing; |
| 90 |
} |
| 91 |
/** |
| 92 |
* @param Google_Service_Storage_BucketCors |
| 93 |
*/ |
| 94 |
public function setCors($cors) |
| 95 |
{ |
| 96 |
$this->cors = $cors; |
| 97 |
} |
| 98 |
/** |
| 99 |
* @return Google_Service_Storage_BucketCors |
| 100 |
*/ |
| 101 |
public function getCors() |
| 102 |
{ |
| 103 |
return $this->cors; |
| 104 |
} |
| 105 |
public function setDefaultEventBasedHold($defaultEventBasedHold) |
| 106 |
{ |
| 107 |
$this->defaultEventBasedHold = $defaultEventBasedHold; |
| 108 |
} |
| 109 |
public function getDefaultEventBasedHold() |
| 110 |
{ |
| 111 |
return $this->defaultEventBasedHold; |
| 112 |
} |
| 113 |
/** |
| 114 |
* @param Google_Service_Storage_ObjectAccessControl |
| 115 |
*/ |
| 116 |
public function setDefaultObjectAcl($defaultObjectAcl) |
| 117 |
{ |
| 118 |
$this->defaultObjectAcl = $defaultObjectAcl; |
| 119 |
} |
| 120 |
/** |
| 121 |
* @return Google_Service_Storage_ObjectAccessControl |
| 122 |
*/ |
| 123 |
public function getDefaultObjectAcl() |
| 124 |
{ |
| 125 |
return $this->defaultObjectAcl; |
| 126 |
} |
| 127 |
/** |
| 128 |
* @param Google_Service_Storage_BucketEncryption |
| 129 |
*/ |
| 130 |
public function setEncryption(Google_Service_Storage_BucketEncryption $encryption) |
| 131 |
{ |
| 132 |
$this->encryption = $encryption; |
| 133 |
} |
| 134 |
/** |
| 135 |
* @return Google_Service_Storage_BucketEncryption |
| 136 |
*/ |
| 137 |
public function getEncryption() |
| 138 |
{ |
| 139 |
return $this->encryption; |
| 140 |
} |
| 141 |
public function setEtag($etag) |
| 142 |
{ |
| 143 |
$this->etag = $etag; |
| 144 |
} |
| 145 |
public function getEtag() |
| 146 |
{ |
| 147 |
return $this->etag; |
| 148 |
} |
| 149 |
/** |
| 150 |
* @param Google_Service_Storage_BucketIamConfiguration |
| 151 |
*/ |
| 152 |
public function setIamConfiguration(Google_Service_Storage_BucketIamConfiguration $iamConfiguration) |
| 153 |
{ |
| 154 |
$this->iamConfiguration = $iamConfiguration; |
| 155 |
} |
| 156 |
/** |
| 157 |
* @return Google_Service_Storage_BucketIamConfiguration |
| 158 |
*/ |
| 159 |
public function getIamConfiguration() |
| 160 |
{ |
| 161 |
return $this->iamConfiguration; |
| 162 |
} |
| 163 |
public function setId($id) |
| 164 |
{ |
| 165 |
$this->id = $id; |
| 166 |
} |
| 167 |
public function getId() |
| 168 |
{ |
| 169 |
return $this->id; |
| 170 |
} |
| 171 |
public function setKind($kind) |
| 172 |
{ |
| 173 |
$this->kind = $kind; |
| 174 |
} |
| 175 |
public function getKind() |
| 176 |
{ |
| 177 |
return $this->kind; |
| 178 |
} |
| 179 |
public function setLabels($labels) |
| 180 |
{ |
| 181 |
$this->labels = $labels; |
| 182 |
} |
| 183 |
public function getLabels() |
| 184 |
{ |
| 185 |
return $this->labels; |
| 186 |
} |
| 187 |
/** |
| 188 |
* @param Google_Service_Storage_BucketLifecycle |
| 189 |
*/ |
| 190 |
public function setLifecycle(Google_Service_Storage_BucketLifecycle $lifecycle) |
| 191 |
{ |
| 192 |
$this->lifecycle = $lifecycle; |
| 193 |
} |
| 194 |
/** |
| 195 |
* @return Google_Service_Storage_BucketLifecycle |
| 196 |
*/ |
| 197 |
public function getLifecycle() |
| 198 |
{ |
| 199 |
return $this->lifecycle; |
| 200 |
} |
| 201 |
public function setLocation($location) |
| 202 |
{ |
| 203 |
$this->location = $location; |
| 204 |
} |
| 205 |
public function getLocation() |
| 206 |
{ |
| 207 |
return $this->location; |
| 208 |
} |
| 209 |
public function setLocationType($locationType) |
| 210 |
{ |
| 211 |
$this->locationType = $locationType; |
| 212 |
} |
| 213 |
public function getLocationType() |
| 214 |
{ |
| 215 |
return $this->locationType; |
| 216 |
} |
| 217 |
/** |
| 218 |
* @param Google_Service_Storage_BucketLogging |
| 219 |
*/ |
| 220 |
public function setLogging(Google_Service_Storage_BucketLogging $logging) |
| 221 |
{ |
| 222 |
$this->logging = $logging; |
| 223 |
} |
| 224 |
/** |
| 225 |
* @return Google_Service_Storage_BucketLogging |
| 226 |
*/ |
| 227 |
public function getLogging() |
| 228 |
{ |
| 229 |
return $this->logging; |
| 230 |
} |
| 231 |
public function setMetageneration($metageneration) |
| 232 |
{ |
| 233 |
$this->metageneration = $metageneration; |
| 234 |
} |
| 235 |
public function getMetageneration() |
| 236 |
{ |
| 237 |
return $this->metageneration; |
| 238 |
} |
| 239 |
public function setName($name) |
| 240 |
{ |
| 241 |
$this->name = $name; |
| 242 |
} |
| 243 |
public function getName() |
| 244 |
{ |
| 245 |
return $this->name; |
| 246 |
} |
| 247 |
/** |
| 248 |
* @param Google_Service_Storage_BucketOwner |
| 249 |
*/ |
| 250 |
public function setOwner(Google_Service_Storage_BucketOwner $owner) |
| 251 |
{ |
| 252 |
$this->owner = $owner; |
| 253 |
} |
| 254 |
/** |
| 255 |
* @return Google_Service_Storage_BucketOwner |
| 256 |
*/ |
| 257 |
public function getOwner() |
| 258 |
{ |
| 259 |
return $this->owner; |
| 260 |
} |
| 261 |
public function setProjectNumber($projectNumber) |
| 262 |
{ |
| 263 |
$this->projectNumber = $projectNumber; |
| 264 |
} |
| 265 |
public function getProjectNumber() |
| 266 |
{ |
| 267 |
return $this->projectNumber; |
| 268 |
} |
| 269 |
/** |
| 270 |
* @param Google_Service_Storage_BucketRetentionPolicy |
| 271 |
*/ |
| 272 |
public function setRetentionPolicy(Google_Service_Storage_BucketRetentionPolicy $retentionPolicy) |
| 273 |
{ |
| 274 |
$this->retentionPolicy = $retentionPolicy; |
| 275 |
} |
| 276 |
/** |
| 277 |
* @return Google_Service_Storage_BucketRetentionPolicy |
| 278 |
*/ |
| 279 |
public function getRetentionPolicy() |
| 280 |
{ |
| 281 |
return $this->retentionPolicy; |
| 282 |
} |
| 283 |
public function setSelfLink($selfLink) |
| 284 |
{ |
| 285 |
$this->selfLink = $selfLink; |
| 286 |
} |
| 287 |
public function getSelfLink() |
| 288 |
{ |
| 289 |
return $this->selfLink; |
| 290 |
} |
| 291 |
public function setStorageClass($storageClass) |
| 292 |
{ |
| 293 |
$this->storageClass = $storageClass; |
| 294 |
} |
| 295 |
public function getStorageClass() |
| 296 |
{ |
| 297 |
return $this->storageClass; |
| 298 |
} |
| 299 |
public function setTimeCreated($timeCreated) |
| 300 |
{ |
| 301 |
$this->timeCreated = $timeCreated; |
| 302 |
} |
| 303 |
public function getTimeCreated() |
| 304 |
{ |
| 305 |
return $this->timeCreated; |
| 306 |
} |
| 307 |
public function setUpdated($updated) |
| 308 |
{ |
| 309 |
$this->updated = $updated; |
| 310 |
} |
| 311 |
public function getUpdated() |
| 312 |
{ |
| 313 |
return $this->updated; |
| 314 |
} |
| 315 |
/** |
| 316 |
* @param Google_Service_Storage_BucketVersioning |
| 317 |
*/ |
| 318 |
public function setVersioning(Google_Service_Storage_BucketVersioning $versioning) |
| 319 |
{ |
| 320 |
$this->versioning = $versioning; |
| 321 |
} |
| 322 |
/** |
| 323 |
* @return Google_Service_Storage_BucketVersioning |
| 324 |
*/ |
| 325 |
public function getVersioning() |
| 326 |
{ |
| 327 |
return $this->versioning; |
| 328 |
} |
| 329 |
/** |
| 330 |
* @param Google_Service_Storage_BucketWebsite |
| 331 |
*/ |
| 332 |
public function setWebsite(Google_Service_Storage_BucketWebsite $website) |
| 333 |
{ |
| 334 |
$this->website = $website; |
| 335 |
} |
| 336 |
/** |
| 337 |
* @return Google_Service_Storage_BucketWebsite |
| 338 |
*/ |
| 339 |
public function getWebsite() |
| 340 |
{ |
| 341 |
return $this->website; |
| 342 |
} |
| 343 |
public function setZoneAffinity($zoneAffinity) |
| 344 |
{ |
| 345 |
$this->zoneAffinity = $zoneAffinity; |
| 346 |
} |
| 347 |
public function getZoneAffinity() |
| 348 |
{ |
| 349 |
return $this->zoneAffinity; |
| 350 |
} |
| 351 |
public function setZoneSeparation($zoneSeparation) |
| 352 |
{ |
| 353 |
$this->zoneSeparation = $zoneSeparation; |
| 354 |
} |
| 355 |
public function getZoneSeparation() |
| 356 |
{ |
| 357 |
return $this->zoneSeparation; |
| 358 |
} |
| 359 |
} |
| 360 |
|