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.
str
A user-defined name of the Cloud Function.
The function name is case-sensitive and must be
1-63 characters long. Example value: func1.
This field is a member of oneof_ _function.
url_mask
str
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 /
[[["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-28 UTC."],[],[],null,["# Class NetworkEndpointGroupCloudFunction (0.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.5 (latest)](/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.NetworkEndpointGroupCloudFunction)\n- [0.1.4](/python/docs/reference/google-cloud-compute-v1beta/0.1.4/google.cloud.compute_v1beta.types.NetworkEndpointGroupCloudFunction) \n\n NetworkEndpointGroupCloudFunction(\n mapping=None, *, ignore_unknown_fields=False, **kwargs\n )\n\nConfiguration for a Cloud Function network endpoint group\n(NEG). The function must be provided explicitly or in the URL\nmask. Note: Cloud Function must be in the same project and\nlocated in the same region as the Serverless NEG.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e"]]