acl = $acl; } /** * @return BucketAccessControl[] */ public function getAcl() { return $this->acl; } /** * @param BucketAutoclass */ public function setAutoclass(BucketAutoclass $autoclass) { $this->autoclass = $autoclass; } /** * @return BucketAutoclass */ public function getAutoclass() { return $this->autoclass; } /** * @param BucketBilling */ public function setBilling(BucketBilling $billing) { $this->billing = $billing; } /** * @return BucketBilling */ public function getBilling() { return $this->billing; } /** * @param BucketCors[] */ public function setCors($cors) { $this->cors = $cors; } /** * @return BucketCors[] */ public function getCors() { return $this->cors; } /** * @param bool */ public function setDefaultEventBasedHold($defaultEventBasedHold) { $this->defaultEventBasedHold = $defaultEventBasedHold; } /** * @return bool */ public function getDefaultEventBasedHold() { return $this->defaultEventBasedHold; } /** * @param ObjectAccessControl[] */ public function setDefaultObjectAcl($defaultObjectAcl) { $this->defaultObjectAcl = $defaultObjectAcl; } /** * @return ObjectAccessControl[] */ public function getDefaultObjectAcl() { return $this->defaultObjectAcl; } /** * @param BucketEncryption */ public function setEncryption(BucketEncryption $encryption) { $this->encryption = $encryption; } /** * @return BucketEncryption */ public function getEncryption() { return $this->encryption; } /** * @param string */ public function setEtag($etag) { $this->etag = $etag; } /** * @return string */ public function getEtag() { return $this->etag; } /** * @param BucketIamConfiguration */ public function setIamConfiguration(BucketIamConfiguration $iamConfiguration) { $this->iamConfiguration = $iamConfiguration; } /** * @return BucketIamConfiguration */ public function getIamConfiguration() { return $this->iamConfiguration; } /** * @param string */ public function setId($id) { $this->id = $id; } /** * @return string */ public function getId() { return $this->id; } /** * @param string */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } /** * @param string[] */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * @param BucketLifecycle */ public function setLifecycle(BucketLifecycle $lifecycle) { $this->lifecycle = $lifecycle; } /** * @return BucketLifecycle */ public function getLifecycle() { return $this->lifecycle; } /** * @param string */ public function setLocation($location) { $this->location = $location; } /** * @return string */ public function getLocation() { return $this->location; } /** * @param string */ public function setLocationType($locationType) { $this->locationType = $locationType; } /** * @return string */ public function getLocationType() { return $this->locationType; } /** * @param BucketLogging */ public function setLogging(BucketLogging $logging) { $this->logging = $logging; } /** * @return BucketLogging */ public function getLogging() { return $this->logging; } /** * @param string */ public function setMetageneration($metageneration) { $this->metageneration = $metageneration; } /** * @return string */ public function getMetageneration() { return $this->metageneration; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param BucketOwner */ public function setOwner(BucketOwner $owner) { $this->owner = $owner; } /** * @return BucketOwner */ public function getOwner() { return $this->owner; } /** * @param string */ public function setProjectNumber($projectNumber) { $this->projectNumber = $projectNumber; } /** * @return string */ public function getProjectNumber() { return $this->projectNumber; } /** * @param BucketRetentionPolicy */ public function setRetentionPolicy(BucketRetentionPolicy $retentionPolicy) { $this->retentionPolicy = $retentionPolicy; } /** * @return BucketRetentionPolicy */ public function getRetentionPolicy() { return $this->retentionPolicy; } /** * @param string */ public function setRpo($rpo) { $this->rpo = $rpo; } /** * @return string */ public function getRpo() { return $this->rpo; } /** * @param bool */ public function setSatisfiesPZS($satisfiesPZS) { $this->satisfiesPZS = $satisfiesPZS; } /** * @return bool */ public function getSatisfiesPZS() { return $this->satisfiesPZS; } /** * @param string */ public function setSelfLink($selfLink) { $this->selfLink = $selfLink; } /** * @return string */ public function getSelfLink() { return $this->selfLink; } /** * @param string */ public function setStorageClass($storageClass) { $this->storageClass = $storageClass; } /** * @return string */ public function getStorageClass() { return $this->storageClass; } /** * @param string */ public function setTimeCreated($timeCreated) { $this->timeCreated = $timeCreated; } /** * @return string */ public function getTimeCreated() { return $this->timeCreated; } /** * @param string */ public function setUpdated($updated) { $this->updated = $updated; } /** * @return string */ public function getUpdated() { return $this->updated; } /** * @param BucketVersioning */ public function setVersioning(BucketVersioning $versioning) { $this->versioning = $versioning; } /** * @return BucketVersioning */ public function getVersioning() { return $this->versioning; } /** * @param BucketWebsite */ public function setWebsite(BucketWebsite $website) { $this->website = $website; } /** * @return BucketWebsite */ public function getWebsite() { return $this->website; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Bucket::class, 'Google_Service_Storage_Bucket');