Reference documentation and code samples for the Cloud Talent Solution V4 API class Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#amount
def amount() -> ::Google::Type::Money
- (::Google::Type::Money) — Compensation amount.
#amount=
def amount=(value) -> ::Google::Type::Money
- value (::Google::Type::Money) — Compensation amount.
- (::Google::Type::Money) — Compensation amount.
#description
def description() -> ::String
- (::String) — Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.
#description=
def description=(value) -> ::String
- value (::String) — Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.
- (::String) — Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.
#expected_units_per_year
def expected_units_per_year() -> ::Google::Protobuf::DoubleValue
-
(::Google::Protobuf::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
#expected_units_per_year=
def expected_units_per_year=(value) -> ::Google::Protobuf::DoubleValue
-
value (::Google::Protobuf::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
-
(::Google::Protobuf::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
#range
def range() -> ::Google::Cloud::Talent::V4::CompensationInfo::CompensationRange
- (::Google::Cloud::Talent::V4::CompensationInfo::CompensationRange) — Compensation range.
#range=
def range=(value) -> ::Google::Cloud::Talent::V4::CompensationInfo::CompensationRange
- value (::Google::Cloud::Talent::V4::CompensationInfo::CompensationRange) — Compensation range.
- (::Google::Cloud::Talent::V4::CompensationInfo::CompensationRange) — Compensation range.
#type
def type() -> ::Google::Cloud::Talent::V4::CompensationInfo::CompensationType
-
(::Google::Cloud::Talent::V4::CompensationInfo::CompensationType) — Compensation type.
Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED.
#type=
def type=(value) -> ::Google::Cloud::Talent::V4::CompensationInfo::CompensationType
-
value (::Google::Cloud::Talent::V4::CompensationInfo::CompensationType) — Compensation type.
Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED.
-
(::Google::Cloud::Talent::V4::CompensationInfo::CompensationType) — Compensation type.
Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED.
#unit
def unit() -> ::Google::Cloud::Talent::V4::CompensationInfo::CompensationUnit
-
(::Google::Cloud::Talent::V4::CompensationInfo::CompensationUnit) — Frequency of the specified amount.
Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
#unit=
def unit=(value) -> ::Google::Cloud::Talent::V4::CompensationInfo::CompensationUnit
-
value (::Google::Cloud::Talent::V4::CompensationInfo::CompensationUnit) — Frequency of the specified amount.
Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
-
(::Google::Cloud::Talent::V4::CompensationInfo::CompensationUnit) — Frequency of the specified amount.
Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.