bucket = $bucket; } /** * @return LogBucket */ public function getBucket() { return $this->bucket; } /** * Required. A client-assigned identifier such as "my-bucket". Identifiers are * limited to 100 characters and can include only letters, digits, * underscores, hyphens, and periods. Bucket identifiers must start with an * alphanumeric character. * * @param string $bucketId */ public function setBucketId($bucketId) { $this->bucketId = $bucketId; } /** * @return string */ public function getBucketId() { return $this->bucketId; } /** * Required. The resource in which to create the log bucket: * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my- * project/locations/global" * * @param string $parent */ public function setParent($parent) { $this->parent = $parent; } /** * @return string */ public function getParent() { return $this->parent; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(CreateBucketRequest::class, 'Google_Service_Logging_CreateBucketRequest');