# ui.Map.CloudStorageLayer.setBucket

<br />

Sets the bucket for this layer.

<br />

Returns this map layer.

| Usage | Returns |
|---|---|
| `CloudStorageLayer.setBucket(bucket)` | ui.Map.CloudStorageLayer |

| Argument | Type | Details |
|---|---|---|
| this: `ui.map.cloudstoragelayer` | ui.Map.CloudStorageLayer | The ui.Map.CloudStorageLayer instance. |
| `bucket` | String | The name of the Cloud Storage bucket with this layer's tiles. |