# Storage Insights V1 API - Class Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets (v1.7.0)

1.7.0 (latest) 1.6.1 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.7.0 0.6.0 0.5.1 0.4.2 0.3.0 0.2.2 0.1.0 Reference documentation and code samples for the Storage Insights V1 API class Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets.

Collection of Cloud Storage buckets.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cloud_storage_buckets

    def cloud_storage_buckets() -> ::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>

**Returns**

- (::Array\<[::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-DatasetConfig-CloudStorageBuckets-CloudStorageBucket)\>)

### #cloud_storage_buckets=

    def cloud_storage_buckets=(value) -> ::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>

**Parameter**

- **value** (::Array\<[::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-DatasetConfig-CloudStorageBuckets-CloudStorageBucket)\>)
**Returns**

- (::Array\<[::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-DatasetConfig-CloudStorageBuckets-CloudStorageBucket)\>)