# Create Bucket

> `UiPath.GoogleCloud.Activites.GCPCreateBucket`

`UiPath.GoogleCloud.Activites.GCPCreateBucket`

## Description

Creates a new bucket.

## Project compatibility

Windows - Legacy | Windows | Cross-platform

## Properties

### Common

* **DisplayName** - The display name of the activity.

### Encryption

* **CustomerManagedKey** - Specifies a customer-managed key, if **EncryptionType** is set to **CustomerManagedKey**.
* **EncryptionType** - The encryption type for the bucket. Select one of two options: **GoogleManagedKey**, **CustomerManagedKey**. The default value is **GoogleManagedKey**.

### Input

* **Name** - The name of the bucket. For more information, see [Bucket name requirements](https://cloud.google.com/storage/docs/naming-buckets#requirements).
* **ProjectId** - The project to which the bucket belongs.

### Location

* **DualRegion** - Select a dual-region when you want similar performance advantages as regions, but also want higher availability.
* **MultiRegion** - Select a multi-region when you want to serve content to data consumers that are outside of the Google network and distributed across large geographic areas, or you want higher availability.
* **Region** - Select a region to help optimize latency and network bandwidth for data consumers.
  :::note
  Only one of these three parameters must have a value. For more information, see [Bucket Locations](https://cloud.google.com/storage/docs/locations).
  :::

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Output

* **Bucket** - The details of the newly created bucket. This field supports only `GCPBucket` variables.

### Properties

* **AccessControlType** - Indicates how to control access to objects in the bucket. Select one of two options:
  + **FineGrained** - Access to objects can be granted through object access control lists (ACLs).
  + **Uniform** - All object access is controlled by bucket permissions and objects cannot have their own access control lists (ACLs). To allow per-object access, you can switch to fine-grained access within 90 days. The default value, while at the same time the recommended access control type, is **Uniform**. For more information, see [Overview of access control](https://cloud.google.com/storage/docs/access-control).
* **Labels** - The labels to associate with the bucket. This field supports only `DataTable` variables. It shall contain two columns of type `String`, the first one representing the key and the second its value. For more information, see [Bucket labels](https://cloud.google.com/storage/docs/key-terms?&_ga=2.175266722.-1471173442.1599128688#bucket-labels).
  :::note
  For example, a `DataTable` object can be easily created with the [Build Data Table](https://docs.uipath.com/activities/other/latest/user-guide/build-data-table) activity.
  :::
* **StorageClass** - The default storage class. Select one of four options: **Standard**, **Nearline**, **Coldline**, **Archive**. The default value is **Standard**.
