public sealed class ProcessWebhookRequest : IMessage<ProcessWebhookRequest>, IEquatable<ProcessWebhookRequest>, IDeepCloneable<ProcessWebhookRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v2 API class ProcessWebhookRequest.
RPC request object accepted by the ProcessWebhook RPC method.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eProcessWebhookRequest\u003c/code\u003e class within the Cloud Build v2 API, detailing its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eProcessWebhookRequest\u003c/code\u003e is an RPC request object used by the ProcessWebhook RPC method, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProcessWebhookRequest\u003c/code\u003e class has two constructors, a default and one that accepts another \u003ccode\u003eProcessWebhookRequest\u003c/code\u003e instance, as well as properties for \u003ccode\u003eBody\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsLocationName\u003c/code\u003e, and \u003ccode\u003eWebhookKey\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property is a required field representing the project and location where the webhook is received, while the \u003ccode\u003eWebhookKey\u003c/code\u003e property is an optional field used to find matching repositories for webhook events.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eProcessWebhookRequest\u003c/code\u003e class, ranging from version 1.0.0 up to the latest version 1.4.0.\u003c/p\u003e\n"]]],[],null,["# Cloud Build v2 API - Class ProcessWebhookRequest (1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.ProcessWebhookRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.3.0/Google.Cloud.CloudBuild.V2.ProcessWebhookRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.2.0/Google.Cloud.CloudBuild.V2.ProcessWebhookRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.1.0/Google.Cloud.CloudBuild.V2.ProcessWebhookRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.0.0/Google.Cloud.CloudBuild.V2.ProcessWebhookRequest) \n\n public sealed class ProcessWebhookRequest : IMessage\u003cProcessWebhookRequest\u003e, IEquatable\u003cProcessWebhookRequest\u003e, IDeepCloneable\u003cProcessWebhookRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Build v2 API class ProcessWebhookRequest.\n\nRPC request object accepted by the ProcessWebhook RPC method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ProcessWebhookRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ProcessWebhookRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.ProcessWebhookRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ProcessWebhookRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.ProcessWebhookRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ProcessWebhookRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.ProcessWebhookRequest), [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.CloudBuild.V2](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudBuild.V2.dll\n\nConstructors\n------------\n\n### ProcessWebhookRequest()\n\n public ProcessWebhookRequest()\n\n### ProcessWebhookRequest(ProcessWebhookRequest)\n\n public ProcessWebhookRequest(ProcessWebhookRequest other)\n\nProperties\n----------\n\n### Body\n\n public HttpBody Body { get; set; }\n\nHTTP request body.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. Project and location where the webhook will be received.\nFormat: `projects/*/locations/*`.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/ResourceNames/LocationName.cs)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.ProcessWebhookRequest#Google_Cloud_CloudBuild_V2_ProcessWebhookRequest_Parent) resource name property.\n\n### WebhookKey\n\n public string WebhookKey { get; set; }\n\nArbitrary additional key to find the maching repository for a webhook event\nif needed."]]