1.62.2 (latest) 1.62.1 1.61.0 1.60.0 1.59.0 1.58.0 1.57.1 1.56.0 1.55.0 1.54.0 1.53.0 1.52.0 1.51.0 1.50.0 1.49.0 1.48.1 1.47.0 1.46.0 1.45.0 1.44.0 1.43.0 1.42.0 1.41.0 1.40.0 1.39.0 1.38.0 1.37.0 1.36.2 1.35.0 Reference documentation and code samples for the Cloud Storage API class Google::Cloud::Storage::Bucket::Updater.

Yielded to a block to accumulate changes for a patch request.

## Inherits

- [Google::Cloud::Storage::Bucket](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage/latest/Google-Cloud-Storage-Bucket.md.txt)

## Methods

### #check_for_encryption_enforcement_config!

```ruby
def check_for_encryption_enforcement_config!()
```

### #cors

```ruby
def cors()
```
**Yields**

- (@cors_builder)

### #initialize

```ruby
def initialize(gapi) -> Updater
```
Create an Updater object.
**Returns**

- ([Updater](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage/latest/Google-Cloud-Storage-Bucket-Updater.md.txt)) --- a new instance of Updater

### #labels

```ruby
def labels() -> Hash(String => String)
```
A hash of user-provided labels. Changes are allowed.
**Returns**

- (Hash(String =\> String))

### #labels=

```ruby
def labels=(labels)
```
Updates the hash of user-provided labels.
**Parameter**

- **labels** (Hash(String =\> String)) --- The user-provided labels.

### #lifecycle

```ruby
def lifecycle()
```
**Yields**

- (@lifecycle_builder)

### #updates

```ruby
def updates()
```
Returns the value of attribute updates.