NAME

Google::Cloud::Talent::V4::Common - Compiled Protocol Buffers messages for google/cloud/talent/v4/common.proto

SYNOPSIS

use Google::Cloud::Talent::V4::Common;

my $msg = Google::Cloud::Talent::V4::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::V4::Common::TimestampRange->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/talent/v4/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::V4::Common::TimestampRange

Message representing a period of time between two timestamps.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Talent::V4::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::V4::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.v4.Location.LocationType.NEIGHBORHOOD], and "Kansas City, KS, USA" has a type of [LocationType.LOCALITY][google.cloud.talent.v4.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: Double

    Radius 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 => 0

  • COUNTRY => 1

  • ADMINISTRATIVE_AREA => 2

  • SUB_ADMINISTRATIVE_AREA => 3

  • LOCALITY => 4

  • POSTAL_CODE => 5

  • SUB_LOCALITY => 6

  • SUB_LOCALITY_1 => 7

  • SUB_LOCALITY_2 => 8

  • NEIGHBORHOOD => 9

  • STREET_ADDRESS => 10

Google::Cloud::Talent::V4::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: String

    Required if [allow_missing_ids][google.cloud.talent.v4.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: String

    Required if [allow_missing_ids][google.cloud.talent.v4.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: String

    Required if [allow_missing_ids][google.cloud.talent.v4.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: Bool

    Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.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.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] for the best service experience.

  • $msg->device_info() / $msg->device_info($value)

    Type: Message (Google::Cloud::Talent::V4::Common::DeviceInfo)

    The type of device used by the job seeker at the time of the call to the service.

Google::Cloud::Talent::V4::Common::ResponseMetadata

Additional information returned to client, such as debugging information.

Inherits from Protobuf::Message.

Accessors

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    A unique id associated with this call. This id is logged for tracking purposes.

Google::Cloud::Talent::V4::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::V4::DeviceInfo::DeviceType)

    Type of the device.

  • $msg->id() / $msg->id($value)

    Type: String

    A device-specific ID. The ID must be a unique identifier that distinguishes the device from other devices.

Enum: DeviceInfo::DeviceType

  • DEVICE_TYPE_UNSPECIFIED => 0

  • WEB => 1

  • MOBILE_WEB => 2

  • ANDROID => 3

  • IOS => 4

  • BOT => 5

  • OTHER => 6

Google::Cloud::Talent::V4::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: String

    Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.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: Int64

    Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.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.v4.CustomAttribute.long_values] is supported.

  • $msg->filterable() / $msg->filterable($value)

    Type: Bool

    If the `filterable` flag is true, the custom field values may be used for custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.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: Bool

    If 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::V4::Common::SpellingCorrection

Spell check result.

Inherits from Protobuf::Message.

Accessors

  • $msg->corrected() / $msg->corrected($value)

    Type: Bool

    Indicates if the query was corrected by the spell checker.

  • $msg->corrected_text() / $msg->corrected_text($value)

    Type: String

    Correction output consisting of the corrected keyword string.

  • $msg->corrected_html() / $msg->corrected_html($value)

    Type: String

    Corrected 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::V4::Common::CompensationInfo

Job compensation details.

Inherits from Protobuf::Message.

Accessors

  • $msg->entries() / $msg->entries($value)

    Type: Message (Google::Cloud::Talent::V4::Common::CompensationInfo::CompensationEntry)

    Job compensation information.

    At most one entry can be of type [CompensationInfo.CompensationType.BASE][google.cloud.talent.v4.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::V4::Common::CompensationInfo::CompensationRange)

    Output only. Annualized base compensation range. Computed as base compensation entry's [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times [CompensationEntry.expected_units_per_year][google.cloud.talent.v4.CompensationInfo.CompensationEntry.expected_units_per_year].

    See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.

  • $msg->annualized_total_compensation_range() / $msg->annualized_total_compensation_range($value)

    Type: Message (Google::Cloud::Talent::V4::Common::CompensationInfo::CompensationRange)

    Output only. Annualized total compensation range. Computed as all compensation entries' [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times [CompensationEntry.expected_units_per_year][google.cloud.talent.v4.CompensationInfo.CompensationEntry.expected_units_per_year].

    See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.

Enum: CompensationInfo::CompensationType

  • COMPENSATION_TYPE_UNSPECIFIED => 0

  • BASE => 1

  • BONUS => 2

  • SIGNING_BONUS => 3

  • EQUITY => 4

  • PROFIT_SHARING => 5

  • COMMISSIONS => 6

  • TIPS => 7

  • OTHER_COMPENSATION_TYPE => 8

Enum: CompensationInfo::CompensationUnit

  • COMPENSATION_UNIT_UNSPECIFIED => 0

  • HOURLY => 1

  • DAILY => 2

  • WEEKLY => 3

  • MONTHLY => 4

  • YEARLY => 5

  • ONE_TIME => 6

  • OTHER_COMPENSATION_UNIT => 7

Google::Cloud::Talent::V4::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::V4::BatchOperationMetadata::State)

    The state of a long running operation.

  • $msg->state_description() / $msg->state_description($value)

    Type: String

    More detailed information about operation state.

  • $msg->success_count() / $msg->success_count($value)

    Type: Int32

    Count of successful item(s) inside an operation.

  • $msg->failure_count() / $msg->failure_count($value)

    Type: Int32

    Count of failed item(s) inside an operation.

  • $msg->total_count() / $msg->total_count($value)

    Type: Int32

    Count 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.v4.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 => 0

  • INITIALIZING => 1

  • PROCESSING => 2

  • SUCCEEDED => 3

  • FAILED => 4

  • CANCELLING => 5

  • CANCELLED => 6

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Talent::V4::Common::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.