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.
An URL mask is one of the main components of the Cloud Function. 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\u003eThis document provides reference information for the \u003ccode\u003eNetworkEndpointGroupCloudFunction\u003c/code\u003e class within the Google Cloud Compute Engine v1 API, specifically for the .NET environment, with the latest version being 3.6.0 and going down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkEndpointGroupCloudFunction\u003c/code\u003e class represents a configuration for a Cloud Function network endpoint group (NEG), and the function must be in the same project and region as the Serverless NEG.\u003c/p\u003e\n"],["\u003cp\u003eThe 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, and inherits members from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of this class include \u003ccode\u003eFunction\u003c/code\u003e (a user-defined Cloud Function name) and \u003ccode\u003eUrlMask\u003c/code\u003e (a template for parsing the function field from a request URL).\u003c/p\u003e\n"],["\u003cp\u003eThe documentation outlines the constructors and provides details on the properties \u003ccode\u003eHasFunction\u003c/code\u003e and \u003ccode\u003eHasUrlMask\u003c/code\u003e, which indicate whether the corresponding fields are set.\u003c/p\u003e\n"]]],[],null,[]]