public sealed class CustomAttribute : IMessage<CustomAttribute>, IEquatable<CustomAttribute>, IDeepCloneable<CustomAttribute>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Talent Solution v4 API class CustomAttribute.
Custom attribute values that are either filterable or non-filterable.
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.
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.
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.
public RepeatedField<string> StringValues { get; }
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_values, 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eCustomAttribute\u003c/code\u003e class within the Google Cloud Talent Solution v4 API for .NET, detailing its usage and properties.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCustomAttribute\u003c/code\u003e class is used to represent custom field values that can be either filterable or non-filterable in job searches, with string or long value data types available.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eCustomAttribute\u003c/code\u003e class is 2.7.0, and the documentation provides access to previous versions from 2.6.0 back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCustomAttribute\u003c/code\u003e objects can have properties such as \u003ccode\u003eFilterable\u003c/code\u003e and \u003ccode\u003eKeywordSearchable\u003c/code\u003e to specify if they are filterable or can be used in keyword matches when searching.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCustomAttribute\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Talent Solution v4 API - Class CustomAttribute (2.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CustomAttribute)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.6.0/Google.Cloud.Talent.V4.CustomAttribute)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.5.0/Google.Cloud.Talent.V4.CustomAttribute)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.4.0/Google.Cloud.Talent.V4.CustomAttribute)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.3.0/Google.Cloud.Talent.V4.CustomAttribute)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.2.0/Google.Cloud.Talent.V4.CustomAttribute)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.1.0/Google.Cloud.Talent.V4.CustomAttribute)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.0.0/Google.Cloud.Talent.V4.CustomAttribute)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/1.4.0/Google.Cloud.Talent.V4.CustomAttribute)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/1.3.0/Google.Cloud.Talent.V4.CustomAttribute)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/1.2.0/Google.Cloud.Talent.V4.CustomAttribute)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/1.1.0/Google.Cloud.Talent.V4.CustomAttribute)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/1.0.0/Google.Cloud.Talent.V4.CustomAttribute) \n\n public sealed class CustomAttribute : IMessage\u003cCustomAttribute\u003e, IEquatable\u003cCustomAttribute\u003e, IDeepCloneable\u003cCustomAttribute\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Talent Solution v4 API class CustomAttribute.\n\nCustom attribute values that are either filterable or non-filterable. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CustomAttribute \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CustomAttribute](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CustomAttribute), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CustomAttribute](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CustomAttribute), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CustomAttribute](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.CustomAttribute), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Talent.V4](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4)\n\nAssembly\n--------\n\nGoogle.Cloud.Talent.V4.dll\n\nConstructors\n------------\n\n### CustomAttribute()\n\n public CustomAttribute()\n\n### CustomAttribute(CustomAttribute)\n\n public CustomAttribute(CustomAttribute other)\n\nProperties\n----------\n\n### Filterable\n\n public bool Filterable { get; set; }\n\nIf the `filterable` flag is true, the custom field values may be used for\ncustom attribute filters\n\\[JobQuery.custom_attribute_filter\\]\\[google.cloud.talent.v4.JobQuery.custom_attribute_filter\\].\nIf false, these values may not be used for custom attribute filters.\n\nDefault is false.\n\n### KeywordSearchable\n\n public bool KeywordSearchable { get; set; }\n\nIf the `keyword_searchable` flag is true, the keywords in custom fields are\nsearchable by keyword match.\nIf false, the values are not searchable by keyword match.\n\nDefault is false.\n\n### LongValues\n\n public RepeatedField\u003clong\u003e LongValues { get; }\n\nExactly one of\n\\[string_values\\]\\[google.cloud.talent.v4.CustomAttribute.string_values\\] or\n\\[long_values\\]\\[google.cloud.talent.v4.CustomAttribute.long_values\\] must be\nspecified.\n\nThis field is used to perform number range search.\n(`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.\n\nCurrently at most 1\n\\[long_values\\]\\[google.cloud.talent.v4.CustomAttribute.long_values\\] is\nsupported.\n\n### StringValues\n\n public RepeatedField\u003cstring\u003e StringValues { get; }\n\nExactly one of\n\\[string_values\\]\\[google.cloud.talent.v4.CustomAttribute.string_values\\] or\n\\[long_values\\]\\[google.cloud.talent.v4.CustomAttribute.long_values\\] must be\nspecified.\n\nThis field is used to perform a string match (`CASE_SENSITIVE_MATCH` or\n`CASE_INSENSITIVE_MATCH`) search.\nFor filterable `string_value`s, a maximum total number of 200 values\nis allowed, with each `string_value` has a byte size of no more than\n500B. For unfilterable `string_values`, the maximum total byte size of\nunfilterable `string_values` is 50KB.\n\nEmpty string isn't allowed."]]