# Class NewBucketConfig (0.4.1)

0.4.1 (latest) 0.4.0 0.2.0 0.1.0

    NewBucketConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

When set in a
StorageResourceConfig,
indicates that a new `Google Cloud
Storage <https://cloud.google.com/storage>`__ bucket should be
created.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `autoclass` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-hypercomputecluster/latest/google.cloud.hypercomputecluster_v1beta.types.GcsAutoclassConfig` Optional. Immutable. If set, indicates that the bucket should use `Autoclass `__. This field is a member of `oneof`_ `option`. |
| `storage_class` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-hypercomputecluster/latest/google.cloud.hypercomputecluster_v1beta.types.NewBucketConfig.StorageClass` Optional. Immutable. If set, uses the provided storage class as the bucket's default storage class. This field is a member of `oneof`_ `option`. |
| `bucket` | `str` Required. Immutable. Name of the Cloud Storage bucket to create. |
| `hierarchical_namespace` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-hypercomputecluster/latest/google.cloud.hypercomputecluster_v1beta.types.GcsHierarchicalNamespaceConfig` Optional. Immutable. If set, indicates that the bucket should use \`hierarchical namespaces |

## Classes

### StorageClass

    StorageClass(value)

`Storage
class <https://cloud.google.com/storage/docs/storage-classes>`__ for
a Cloud Storage bucket.