NAME
Google::Cloud::Talent::V4beta1::Common - Compiled Protocol Buffers messages for google/cloud/talent/v4beta1/common.proto
SYNOPSIS
use Google::Cloud::Talent::V4beta1::Common;
my $msg = Google::Cloud::Talent::V4beta1::Common::TimestampRange->new({
start_time => $start_time,
end_time => $end_time,
});
# Read or update a field
my $val = $msg->start_time();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Talent::V4beta1::Common::TimestampRange->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/talent/v4beta1/common.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Talent::V4beta1::Common::TimestampRange
Message representing a period of time between two timestamps.
Inherits from Protobuf::Message.
Accessors
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Begin of the period (inclusive).
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)End of the period (exclusive).
Google::Cloud::Talent::V4beta1::Common::Location
A resource that represents a location with full geographic information.
Inherits from Protobuf::Message.
Accessors
$msg->location_type()/$msg->location_type($value)Type:
Enum(Google::Cloud::Talent::V4beta1::Location::LocationType)The type of a location, which corresponds to the address lines field of [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA" has a type of [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], and "Kansas City, KS, USA" has a type of [LocationType.LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.LOCALITY].
$msg->postal_address()/$msg->postal_address($value)Type:
Message(Google::Type::PostalAddress::PostalAddress)Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.
$msg->lat_lng()/$msg->lat_lng($value)Type:
Message(Google::Type::Latlng::LatLng)An object representing a latitude/longitude pair.
$msg->radius_miles()/$msg->radius_miles($value)Type:
DoubleRadius in miles of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from [google.type.LatLng][google.type.LatLng] covers the area associated with the job location. For example, currently, "Mountain View, CA, USA" has a radius of 6.17 miles.
Enum: Location::LocationType
LOCATION_TYPE_UNSPECIFIED=>0COUNTRY=>1ADMINISTRATIVE_AREA=>2SUB_ADMINISTRATIVE_AREA=>3LOCALITY=>4POSTAL_CODE=>5SUB_LOCALITY=>6SUB_LOCALITY_1=>7SUB_LOCALITY_2=>8NEIGHBORHOOD=>9STREET_ADDRESS=>10
Google::Cloud::Talent::V4beta1::Common::RequestMetadata
Meta information related to the job searcher or entity conducting the job search. This information is used to improve the performance of the service.
Inherits from Protobuf::Message.
Accessors
$msg->domain()/$msg->domain($value)Type:
StringRequired if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
The client-defined scope or source of the service call, which typically is the domain on which the service has been implemented and is currently being run.
For example, if the service is being run by client <em>Foo, Inc.</em>, on job board www.foo.com and career site www.bar.com, then this field is set to "foo.com" for use on the job board, and "bar.com" for use on the career site.
Note that any improvements to the model for a particular tenant site rely on this field being set correctly to a unique domain.
The maximum number of allowed characters is 255.
$msg->session_id()/$msg->session_id($value)Type:
StringRequired if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
A unique session identification string. A session is defined as the duration of an end user's interaction with the service over a certain period. Obfuscate this field for privacy concerns before providing it to the service.
Note that any improvements to the model for a particular tenant site rely on this field being set correctly to a unique session ID.
The maximum number of allowed characters is 255.
$msg->user_id()/$msg->user_id($value)Type:
StringRequired if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
A unique user identification string, as determined by the client. To have the strongest positive impact on search quality make sure the client-level is unique. Obfuscate this field for privacy concerns before providing it to the service.
Note that any improvements to the model for a particular tenant site rely on this field being set correctly to a unique user ID.
The maximum number of allowed characters is 255.
$msg->allow_missing_ids()/$msg->allow_missing_ids($value)Type:
BoolOnly set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't available for some reason. It is highly recommended not to set this field and provide accurate [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] for the best service experience.
$msg->device_info()/$msg->device_info($value)Type:
Message(Google::Cloud::Talent::V4beta1::Common::DeviceInfo)The type of device used by the job seeker at the time of the call to the service.
Google::Cloud::Talent::V4beta1::Common::ResponseMetadata
Additional information returned to client, such as debugging information.
Inherits from Protobuf::Message.
Accessors
$msg->request_id()/$msg->request_id($value)Type:
StringA unique id associated with this call. This id is logged for tracking purposes.
Google::Cloud::Talent::V4beta1::Common::DeviceInfo
Device information collected from the job seeker, candidate, or other entity conducting the job search. Providing this information improves the quality of the search results across devices.
Inherits from Protobuf::Message.
Accessors
$msg->device_type()/$msg->device_type($value)Type:
Enum(Google::Cloud::Talent::V4beta1::DeviceInfo::DeviceType)Type of the device.
$msg->id()/$msg->id($value)Type:
StringA device-specific ID. The ID must be a unique identifier that distinguishes the device from other devices.
Enum: DeviceInfo::DeviceType
DEVICE_TYPE_UNSPECIFIED=>0WEB=>1MOBILE_WEB=>2ANDROID=>3IOS=>4BOT=>5OTHER=>6
Google::Cloud::Talent::V4beta1::Common::CustomAttribute
Custom attribute values that are either filterable or non-filterable.
Inherits from Protobuf::Message.
Accessors
$msg->string_values()/$msg->string_values($value)Type:
StringExactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or `CASE_INSENSITIVE_MATCH`) search. For filterable `string_value`s, a maximum total number of 200 values is allowed, with each `string_value` has a byte size of no more than 500B. For unfilterable `string_values`, the maximum total byte size of unfilterable `string_values` is 50KB.
Empty string isn't allowed.
$msg->long_values()/$msg->long_values($value)Type:
Int64Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
This field is used to perform number range search. (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
Currently at most 1 [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] is supported.
$msg->filterable()/$msg->filterable($value)Type:
BoolIf the `filterable` flag is true, the custom field values may be used for custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter]. If false, these values may not be used for custom attribute filters.
Default is false.
$msg->keyword_searchable()/$msg->keyword_searchable($value)Type:
BoolIf the `keyword_searchable` flag is true, the keywords in custom fields are searchable by keyword match. If false, the values are not searchable by keyword match.
Default is false.
Google::Cloud::Talent::V4beta1::Common::SpellingCorrection
Spell check result.
Inherits from Protobuf::Message.
Accessors
$msg->corrected()/$msg->corrected($value)Type:
BoolIndicates if the query was corrected by the spell checker.
$msg->corrected_text()/$msg->corrected_text($value)Type:
StringCorrection output consisting of the corrected keyword string.
$msg->corrected_html()/$msg->corrected_html($value)Type:
StringCorrected output with html tags to highlight the corrected words. Corrected words are called out with the "<b><i>...</i></b>" html tags.
For example, the user input query is "software enginear", where the second word, "enginear," is incorrect. It should be "engineer". When spelling correction is enabled, this value is "software <b><i>engineer</i></b>".
Google::Cloud::Talent::V4beta1::Common::CompensationInfo
Job compensation details.
Inherits from Protobuf::Message.
Accessors
$msg->entries()/$msg->entries($value)Type:
Message(Google::Cloud::Talent::V4beta1::Common::CompensationInfo::CompensationEntry)Job compensation information.
At most one entry can be of type [CompensationInfo.CompensationType.BASE][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.BASE], which is referred as base compensation entry for the job.
$msg->annualized_base_compensation_range()/$msg->annualized_base_compensation_range($value)Type:
Message(Google::Cloud::Talent::V4beta1::Common::CompensationInfo::CompensationRange)Output only. Annualized base compensation range. Computed as base compensation entry's [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times [CompensationEntry.expected_units_per_year][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.expected_units_per_year].
See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
$msg->annualized_total_compensation_range()/$msg->annualized_total_compensation_range($value)Type:
Message(Google::Cloud::Talent::V4beta1::Common::CompensationInfo::CompensationRange)Output only. Annualized total compensation range. Computed as all compensation entries' [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times [CompensationEntry.expected_units_per_year][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.expected_units_per_year].
See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
Enum: CompensationInfo::CompensationType
COMPENSATION_TYPE_UNSPECIFIED=>0BASE=>1BONUS=>2SIGNING_BONUS=>3EQUITY=>4PROFIT_SHARING=>5COMMISSIONS=>6TIPS=>7OTHER_COMPENSATION_TYPE=>8
Enum: CompensationInfo::CompensationUnit
COMPENSATION_UNIT_UNSPECIFIED=>0HOURLY=>1DAILY=>2WEEKLY=>3MONTHLY=>4YEARLY=>5ONE_TIME=>6OTHER_COMPENSATION_UNIT=>7
Google::Cloud::Talent::V4beta1::Common::BatchOperationMetadata
Metadata used for long running operations returned by CTS batch APIs. It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].
Inherits from Protobuf::Message.
Accessors
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Talent::V4beta1::BatchOperationMetadata::State)The state of a long running operation.
$msg->state_description()/$msg->state_description($value)Type:
StringMore detailed information about operation state.
$msg->success_count()/$msg->success_count($value)Type:
Int32Count of successful item(s) inside an operation.
$msg->failure_count()/$msg->failure_count($value)Type:
Int32Count of failed item(s) inside an operation.
$msg->total_count()/$msg->total_count($value)Type:
Int32Count of total item(s) inside an operation.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time when the batch operation is created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time when the batch operation status is updated. The metadata and the [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is returned.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time when the batch operation is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
Enum: BatchOperationMetadata::State
STATE_UNSPECIFIED=>0INITIALIZING=>1PROCESSING=>2SUCCEEDED=>3FAILED=>4CANCELLING=>5CANCELLED=>6
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Talent::V4beta1::Common::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.