# Cloud Talent Solution V4 API - Class Google::Cloud::Talent::V4::CompensationFilter (v1.9.0)

1.9.0 (latest) 1.8.1 1.7.0 1.6.1 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.13.0 0.12.2 0.11.0 0.10.1 0.9.1 0.8.1 0.7.0 0.6.4 Reference documentation and code samples for the Cloud Talent Solution V4 API class Google::Cloud::Talent::V4::CompensationFilter.

Filter on job compensation type and amount.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #include_jobs_with_unspecified_compensation_range

    def include_jobs_with_unspecified_compensation_range() -> ::Boolean

**Returns**

- (::Boolean) --- If set to true, jobs with unspecified compensation range fields are included.

### #include_jobs_with_unspecified_compensation_range=

    def include_jobs_with_unspecified_compensation_range=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- If set to true, jobs with unspecified compensation range fields are included.
**Returns**

- (::Boolean) --- If set to true, jobs with unspecified compensation range fields are included.

### #range

    def range() -> ::Google::Cloud::Talent::V4::CompensationInfo::CompensationRange

**Returns**

- ([::Google::Cloud::Talent::V4::CompensationInfo::CompensationRange](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationRange)) --- Compensation range.

### #range=

    def range=(value) -> ::Google::Cloud::Talent::V4::CompensationInfo::CompensationRange

**Parameter**

- **value** ([::Google::Cloud::Talent::V4::CompensationInfo::CompensationRange](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationRange)) --- Compensation range.
**Returns**

- ([::Google::Cloud::Talent::V4::CompensationInfo::CompensationRange](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationRange)) --- Compensation range.

### #type

    def type() -> ::Google::Cloud::Talent::V4::CompensationFilter::FilterType

**Returns**

- ([::Google::Cloud::Talent::V4::CompensationFilter::FilterType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationFilter-FilterType)) --- Required. Type of filter.

### #type=

    def type=(value) -> ::Google::Cloud::Talent::V4::CompensationFilter::FilterType

**Parameter**

- **value** ([::Google::Cloud::Talent::V4::CompensationFilter::FilterType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationFilter-FilterType)) --- Required. Type of filter.
**Returns**

- ([::Google::Cloud::Talent::V4::CompensationFilter::FilterType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationFilter-FilterType)) --- Required. Type of filter.

### #units

    def units() -> ::Array<::Google::Cloud::Talent::V4::CompensationInfo::CompensationUnit>

**Returns**

- (::Array\<[::Google::Cloud::Talent::V4::CompensationInfo::CompensationUnit](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationUnit)\>) --- Required. Specify desired `base compensation entry's` [CompensationInfo.CompensationUnit](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationUnit "Google::Cloud::Talent::V4::CompensationInfo::CompensationUnit (module)").

### #units=

    def units=(value) -> ::Array<::Google::Cloud::Talent::V4::CompensationInfo::CompensationUnit>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Talent::V4::CompensationInfo::CompensationUnit](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationUnit)\>) --- Required. Specify desired `base compensation entry's` [CompensationInfo.CompensationUnit](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationUnit "Google::Cloud::Talent::V4::CompensationInfo::CompensationUnit (module)").
**Returns**

- (::Array\<[::Google::Cloud::Talent::V4::CompensationInfo::CompensationUnit](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationUnit)\>) --- Required. Specify desired `base compensation entry's` [CompensationInfo.CompensationUnit](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationUnit "Google::Cloud::Talent::V4::CompensationInfo::CompensationUnit (module)").