public sealed class RequestMetadata : IMessage<RequestMetadata>, IEquatable<RequestMetadata>, IDeepCloneable<RequestMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Talent Solution v4 API class 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.
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.
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.
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.
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.
[[["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\u003eThe latest version of the \u003ccode\u003eRequestMetadata\u003c/code\u003e class for the Google Cloud Talent Solution v4 API is 2.7.0, and previous versions are available, ranging down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRequestMetadata\u003c/code\u003e is a class used to enhance the service's performance by providing meta-information related to job searchers, and it implements several interfaces like \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"],["\u003cp\u003eThe \u003ccode\u003eRequestMetadata\u003c/code\u003e class includes properties like \u003ccode\u003eAllowMissingIds\u003c/code\u003e, \u003ccode\u003eDeviceInfo\u003c/code\u003e, \u003ccode\u003eDomain\u003c/code\u003e, \u003ccode\u003eSessionId\u003c/code\u003e, and \u003ccode\u003eUserId\u003c/code\u003e to provide detailed context about the job search session and the user.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDomain\u003c/code\u003e, \u003ccode\u003eSessionId\u003c/code\u003e, and \u003ccode\u003eUserId\u003c/code\u003e properties are required unless \u003ccode\u003eAllowMissingIds\u003c/code\u003e is set to true, and they are crucial for model improvements and should be unique, and obfuscated for privacy concerns.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eRequestMetadata\u003c/code\u003e can be constructed using no arguments, or a copy of another \u003ccode\u003eRequestMetadata\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Talent Solution v4 API - Class RequestMetadata (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.RequestMetadata)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.6.0/Google.Cloud.Talent.V4.RequestMetadata)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.5.0/Google.Cloud.Talent.V4.RequestMetadata)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.4.0/Google.Cloud.Talent.V4.RequestMetadata)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.3.0/Google.Cloud.Talent.V4.RequestMetadata)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.2.0/Google.Cloud.Talent.V4.RequestMetadata)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.1.0/Google.Cloud.Talent.V4.RequestMetadata)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/2.0.0/Google.Cloud.Talent.V4.RequestMetadata)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/1.4.0/Google.Cloud.Talent.V4.RequestMetadata)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/1.3.0/Google.Cloud.Talent.V4.RequestMetadata)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/1.2.0/Google.Cloud.Talent.V4.RequestMetadata)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/1.1.0/Google.Cloud.Talent.V4.RequestMetadata)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Talent.V4/1.0.0/Google.Cloud.Talent.V4.RequestMetadata) \n\n public sealed class RequestMetadata : IMessage\u003cRequestMetadata\u003e, IEquatable\u003cRequestMetadata\u003e, IDeepCloneable\u003cRequestMetadata\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Talent Solution v4 API class RequestMetadata.\n\nMeta information related to the job searcher or entity\nconducting the job search. This information is used to improve the\nperformance of the service. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RequestMetadata \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RequestMetadata](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.RequestMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RequestMetadata](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.RequestMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RequestMetadata](/dotnet/docs/reference/Google.Cloud.Talent.V4/latest/Google.Cloud.Talent.V4.RequestMetadata), [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### RequestMetadata()\n\n public RequestMetadata()\n\n### RequestMetadata(RequestMetadata)\n\n public RequestMetadata(RequestMetadata other)\n\nProperties\n----------\n\n### AllowMissingIds\n\n public bool AllowMissingIds { get; set; }\n\nOnly set when any of\n\\[domain\\]\\[google.cloud.talent.v4.RequestMetadata.domain\\],\n\\[session_id\\]\\[google.cloud.talent.v4.RequestMetadata.session_id\\] and\n\\[user_id\\]\\[google.cloud.talent.v4.RequestMetadata.user_id\\] isn't available\nfor some reason. It is highly recommended not to set this field and provide\naccurate \\[domain\\]\\[google.cloud.talent.v4.RequestMetadata.domain\\],\n\\[session_id\\]\\[google.cloud.talent.v4.RequestMetadata.session_id\\] and\n\\[user_id\\]\\[google.cloud.talent.v4.RequestMetadata.user_id\\] for the best\nservice experience.\n\n### DeviceInfo\n\n public DeviceInfo DeviceInfo { get; set; }\n\nThe type of device used by the job seeker at the time of the call to the\nservice.\n\n### Domain\n\n public string Domain { get; set; }\n\nRequired if\n\\[allow_missing_ids\\]\\[google.cloud.talent.v4.RequestMetadata.allow_missing_ids\\]\nis unset or `false`.\n\nThe client-defined scope or source of the service call, which typically\nis the domain on\nwhich the service has been implemented and is currently being run.\n\nFor example, if the service is being run by client \\\u003cem\\\u003eFoo, Inc.\\\u003c/em\\\u003e, on\njob board www.foo.com and career site www.bar.com, then this field is\nset to \"foo.com\" for use on the job board, and \"bar.com\" for use on the\ncareer site.\n\nNote that any improvements to the model for a particular tenant site rely\non this field being set correctly to a unique domain.\n\nThe maximum number of allowed characters is 255.\n\n### SessionId\n\n public string SessionId { get; set; }\n\nRequired if\n\\[allow_missing_ids\\]\\[google.cloud.talent.v4.RequestMetadata.allow_missing_ids\\]\nis unset or `false`.\n\nA unique session identification string. A session is defined as the\nduration of an end user's interaction with the service over a certain\nperiod.\nObfuscate this field for privacy concerns before\nproviding it to the service.\n\nNote that any improvements to the model for a particular tenant site rely\non this field being set correctly to a unique session ID.\n\nThe maximum number of allowed characters is 255.\n\n### UserId\n\n public string UserId { get; set; }\n\nRequired if\n\\[allow_missing_ids\\]\\[google.cloud.talent.v4.RequestMetadata.allow_missing_ids\\]\nis unset or `false`.\n\nA unique user identification string, as determined by the client.\nTo have the strongest positive impact on search quality\nmake sure the client-level is unique.\nObfuscate this field for privacy concerns before\nproviding it to the service.\n\nNote that any improvements to the model for a particular tenant site rely\non this field being set correctly to a unique user ID.\n\nThe maximum number of allowed characters is 255."]]