# Cloud Talent Solution V4 API - Class Google::Cloud::Talent::V4::CompensationInfo (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::CompensationInfo.

Job compensation details.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #annualized_base_compensation_range

    def annualized_base_compensation_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)) --- Output only. Annualized base compensation range. Computed as base compensation entry's [CompensationEntry.amount](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationEntry#Google__Cloud__Talent__V4__CompensationInfo__CompensationEntry_amount_instance_ "Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#amount (method)") times [CompensationEntry.expected_units_per_year](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationEntry#Google__Cloud__Talent__V4__CompensationInfo__CompensationEntry_expected_units_per_year_instance_ "Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#expected_units_per_year (method)").


  See
  [CompensationEntry](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationEntry "Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry (class)")
  for explanation on compensation annualization.

### #annualized_total_compensation_range

    def annualized_total_compensation_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)) --- Output only. Annualized total compensation range. Computed as all compensation entries' [CompensationEntry.amount](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationEntry#Google__Cloud__Talent__V4__CompensationInfo__CompensationEntry_amount_instance_ "Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#amount (method)") times [CompensationEntry.expected_units_per_year](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationEntry#Google__Cloud__Talent__V4__CompensationInfo__CompensationEntry_expected_units_per_year_instance_ "Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#expected_units_per_year (method)").


  See
  [CompensationEntry](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationEntry "Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry (class)")
  for explanation on compensation annualization.

### #entries

    def entries() -> ::Array<::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry>

**Returns**

- (::Array\<[::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationEntry)\>) --- Job compensation information.


  At most one entry can be of type
  [CompensationInfo.CompensationType.BASE](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationType#Google__Cloud__Talent__V4__CompensationInfo__CompensationType__BASE "Google::Cloud::Talent::V4::CompensationInfo::CompensationType::BASE (constant)"),
  which is referred as **base compensation entry** for the job.

### #entries=

    def entries=(value) -> ::Array<::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationEntry)\>) --- Job compensation information.


  At most one entry can be of type
  [CompensationInfo.CompensationType.BASE](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationType#Google__Cloud__Talent__V4__CompensationInfo__CompensationType__BASE "Google::Cloud::Talent::V4::CompensationInfo::CompensationType::BASE (constant)"),
  which is referred as **base compensation entry** for the job.
**Returns**

- (::Array\<[::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationEntry)\>) --- Job compensation information.


  At most one entry can be of type
  [CompensationInfo.CompensationType.BASE](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompensationInfo-CompensationType#Google__Cloud__Talent__V4__CompensationInfo__CompensationType__BASE "Google::Cloud::Talent::V4::CompensationInfo::CompensationType::BASE (constant)"),
  which is referred as **base compensation entry** for the job.