# Storage Batch Operations V1 API - Class Google::Cloud::StorageBatchOperations::V1::BucketList (v0.10.0)

0.10.0 (latest) 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Storage Batch Operations V1 API class Google::Cloud::StorageBatchOperations::V1::BucketList.

Describes list of buckets and their objects to be transformed.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #buckets

    def buckets() -> ::Array<::Google::Cloud::StorageBatchOperations::V1::BucketList::Bucket>

**Returns**

- (::Array\<[::Google::Cloud::StorageBatchOperations::V1::BucketList::Bucket](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_batch_operations-v1/latest/Google-Cloud-StorageBatchOperations-V1-BucketList-Bucket)\>) --- Required. List of buckets and their objects to be transformed. Currently, only one bucket configuration is supported. If multiple buckets are specified, an error will be returned.

### #buckets=

    def buckets=(value) -> ::Array<::Google::Cloud::StorageBatchOperations::V1::BucketList::Bucket>

**Parameter**

- **value** (::Array\<[::Google::Cloud::StorageBatchOperations::V1::BucketList::Bucket](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_batch_operations-v1/latest/Google-Cloud-StorageBatchOperations-V1-BucketList-Bucket)\>) --- Required. List of buckets and their objects to be transformed. Currently, only one bucket configuration is supported. If multiple buckets are specified, an error will be returned.
**Returns**

- (::Array\<[::Google::Cloud::StorageBatchOperations::V1::BucketList::Bucket](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_batch_operations-v1/latest/Google-Cloud-StorageBatchOperations-V1-BucketList-Bucket)\>) --- Required. List of buckets and their objects to be transformed. Currently, only one bucket configuration is supported. If multiple buckets are specified, an error will be returned.