public sealed class RequestMetadata : IMessage<RequestMetadata>, IEquatable<RequestMetadata>, IDeepCloneable<RequestMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Talent Solution v4beta1 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.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.
Required 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.
Required 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.
Required 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.
[[["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 \u003ccode\u003eRequestMetadata\u003c/code\u003e class in the Google Cloud Talent Solution v4beta1 API provides meta information about job searchers to enhance service performance.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enabling its use in various contexts.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRequestMetadata\u003c/code\u003e class includes properties like \u003ccode\u003eDomain\u003c/code\u003e, \u003ccode\u003eSessionId\u003c/code\u003e, and \u003ccode\u003eUserId\u003c/code\u003e, which are required for identifying the context and users of the service if \u003ccode\u003eallow_missing_ids\u003c/code\u003e is false or unset, helping the model improve for specific tenant sites.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeviceInfo\u003c/code\u003e property within \u003ccode\u003eRequestMetadata\u003c/code\u003e captures the device type used by the job seeker when interacting with the service.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constuctors for this class; one with no parameters and the other accepts another \u003ccode\u003eRequestMetadata\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Talent Solution v4beta1 API - Class RequestMetadata (3.0.0-beta06)\n\nVersion latestkeyboard_arrow_down\n\n- [3.0.0-beta06 (latest)](/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.RequestMetadata)\n- [3.0.0-beta05](/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/3.0.0-beta05/Google.Cloud.Talent.V4Beta1.RequestMetadata)\n- [2.0.0-beta07](/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/2.0.0-beta07/Google.Cloud.Talent.V4Beta1.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 v4beta1 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.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.RequestMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RequestMetadata](/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.RequestMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RequestMetadata](/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.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.V4Beta1](/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.Talent.V4Beta1.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.v4beta1.RequestMetadata.domain\\],\n\\[session_id\\]\\[google.cloud.talent.v4beta1.RequestMetadata.session_id\\] and\n\\[user_id\\]\\[google.cloud.talent.v4beta1.RequestMetadata.user_id\\] isn't\navailable for some reason. It is highly recommended not to set this field\nand provide accurate\n\\[domain\\]\\[google.cloud.talent.v4beta1.RequestMetadata.domain\\],\n\\[session_id\\]\\[google.cloud.talent.v4beta1.RequestMetadata.session_id\\] and\n\\[user_id\\]\\[google.cloud.talent.v4beta1.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.v4beta1.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.v4beta1.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.v4beta1.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."]]