# Storage Control V2 API - Class Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter (v1.12.0)

1.12.0 (latest) 1.11.0 1.10.1 1.9.0 1.8.1 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.1.1 Reference documentation and code samples for the Storage Control V2 API class Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter.

Filter over location and bucket using include or exclude semantics.
Resources that match the include or exclude filter are exclusively included
or excluded from the Storage Intelligence plan.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #excluded_cloud_storage_buckets

    def excluded_cloud_storage_buckets() -> ::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets

**Returns**

- ([::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-IntelligenceConfig-Filter-CloudStorageBuckets)) --- Buckets to exclude.


  Note: The following fields are mutually exclusive: `excluded_cloud_storage_buckets`, `included_cloud_storage_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #excluded_cloud_storage_buckets=

    def excluded_cloud_storage_buckets=(value) -> ::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets

**Parameter**

- **value** ([::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-IntelligenceConfig-Filter-CloudStorageBuckets)) --- Buckets to exclude.


  Note: The following fields are mutually exclusive: `excluded_cloud_storage_buckets`, `included_cloud_storage_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-IntelligenceConfig-Filter-CloudStorageBuckets)) --- Buckets to exclude.


  Note: The following fields are mutually exclusive: `excluded_cloud_storage_buckets`, `included_cloud_storage_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #excluded_cloud_storage_locations

    def excluded_cloud_storage_locations() -> ::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations

**Returns**

- ([::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-IntelligenceConfig-Filter-CloudStorageLocations)) --- Bucket locations to exclude.


  Note: The following fields are mutually exclusive: `excluded_cloud_storage_locations`, `included_cloud_storage_locations`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #excluded_cloud_storage_locations=

    def excluded_cloud_storage_locations=(value) -> ::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations

**Parameter**

- **value** ([::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-IntelligenceConfig-Filter-CloudStorageLocations)) --- Bucket locations to exclude.


  Note: The following fields are mutually exclusive: `excluded_cloud_storage_locations`, `included_cloud_storage_locations`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-IntelligenceConfig-Filter-CloudStorageLocations)) --- Bucket locations to exclude.


  Note: The following fields are mutually exclusive: `excluded_cloud_storage_locations`, `included_cloud_storage_locations`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #included_cloud_storage_buckets

    def included_cloud_storage_buckets() -> ::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets

**Returns**

- ([::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-IntelligenceConfig-Filter-CloudStorageBuckets)) --- Buckets to include.


  Note: The following fields are mutually exclusive: `included_cloud_storage_buckets`, `excluded_cloud_storage_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #included_cloud_storage_buckets=

    def included_cloud_storage_buckets=(value) -> ::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets

**Parameter**

- **value** ([::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-IntelligenceConfig-Filter-CloudStorageBuckets)) --- Buckets to include.


  Note: The following fields are mutually exclusive: `included_cloud_storage_buckets`, `excluded_cloud_storage_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-IntelligenceConfig-Filter-CloudStorageBuckets)) --- Buckets to include.


  Note: The following fields are mutually exclusive: `included_cloud_storage_buckets`, `excluded_cloud_storage_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #included_cloud_storage_locations

    def included_cloud_storage_locations() -> ::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations

**Returns**

- ([::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-IntelligenceConfig-Filter-CloudStorageLocations)) --- Bucket locations to include.


  Note: The following fields are mutually exclusive: `included_cloud_storage_locations`, `excluded_cloud_storage_locations`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #included_cloud_storage_locations=

    def included_cloud_storage_locations=(value) -> ::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations

**Parameter**

- **value** ([::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-IntelligenceConfig-Filter-CloudStorageLocations)) --- Bucket locations to include.


  Note: The following fields are mutually exclusive: `included_cloud_storage_locations`, `excluded_cloud_storage_locations`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-IntelligenceConfig-Filter-CloudStorageLocations)) --- Bucket locations to include.


  Note: The following fields are mutually exclusive: `included_cloud_storage_locations`, `excluded_cloud_storage_locations`. If a field in that set is populated, all other fields in the set will automatically be cleared.