public sealed class NetworkEndpointGroupCloudFunction : IMessage<NetworkEndpointGroupCloudFunction>, IEquatable<NetworkEndpointGroupCloudFunction>, IDeepCloneable<NetworkEndpointGroupCloudFunction>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class NetworkEndpointGroupCloudFunction.
Configuration for a Cloud Function network endpoint group (NEG). The function must be provided explicitly or in the URL mask. Note: Cloud Function must be in the same project and located in the same region as the Serverless NEG.
A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs " mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/<function>". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
[[["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-08 UTC."],[[["\u003cp\u003eThe latest version available for the \u003ccode\u003eNetworkEndpointGroupCloudFunction\u003c/code\u003e class is 3.6.0, with a range of previous versions available, starting as early as 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkEndpointGroupCloudFunction\u003c/code\u003e class is used to configure a Cloud Function network endpoint group (NEG), ensuring that the function is in the same project and region as the Serverless NEG.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, to help define the structure of a Cloud Function network endpoint group.\u003c/p\u003e\n"],["\u003cp\u003eKey properties within the \u003ccode\u003eNetworkEndpointGroupCloudFunction\u003c/code\u003e class include \u003ccode\u003eFunction\u003c/code\u003e, which is the name of the Cloud Function, and \u003ccode\u003eUrlMask\u003c/code\u003e, which allows for dynamic routing to multiple Cloud Functions via URL parsing.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkEndpointGroupCloudFunction\u003c/code\u003e class is contained within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]