# Class CompensationEntry (2.21.0)

2.21.0 (latest) 2.20.0 2.19.0 2.18.0 2.17.2 2.16.0 2.15.0 2.14.1 2.13.5 2.12.0 2.11.1 2.10.1 2.9.1 2.8.0 2.7.3 2.6.0 2.5.2 2.4.0 2.3.0 2.2.1 2.1.0 2.0.0 1.0.2 0.6.3 0.5.0 0.4.0 0.3.0

    CompensationEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A compensation entry that represents one component of compensation,
such as base pay, bonus, or other compensation type.

Annualization: One compensation entry can be annualized if

- it contains valid amount or range.
- and its expected_units_per_year is set or can be derived. Its annualized range is determined as (amount or range) times expected_units_per_year.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `type_` | `https://docs.cloud.google.com/python/docs/reference/talent/latest/google.cloud.talent_v4.types.CompensationInfo.CompensationType` Compensation type. Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED. |
| `unit` | `https://docs.cloud.google.com/python/docs/reference/talent/latest/google.cloud.talent_v4.types.CompensationInfo.CompensationUnit` Frequency of the specified amount. Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED. |
| `amount` | `google.type.money_pb2.Money` Compensation amount. This field is a member of `oneof`_ `compensation_amount`. |
| `range_` | `https://docs.cloud.google.com/python/docs/reference/talent/latest/google.cloud.talent_v4.types.CompensationInfo.CompensationRange` Compensation range. This field is a member of `oneof`_ `compensation_amount`. |
| `description` | `str` Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus. |
| `expected_units_per_year` | `google.protobuf.wrappers_pb2.DoubleValue` Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit. Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 - ANNUAL: 1 |