Class NetworkEndpointGroupServerlessDeployment (0.1.0)

NetworkEndpointGroupServerlessDeployment(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Configuration for a serverless network endpoint group (NEG). The platform must be provided. Note: The target backend service must be in the same project and located in the same region as the Serverless NEG.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
platform str
The platform of the backend target(s) of this NEG. The only supported value is API Gateway: apigateway.googleapis.com. This field is a member of oneof_ _platform.
resource str
The user-defined name of the workload/instance. This value must be provided explicitly or in the urlMask. The resource identified by this value is platform-specific and is as follows: 1. API Gateway: The gateway ID 2. App Engine: The service name 3. Cloud Functions: The function name 4. Cloud Run: The service name This field is a member of oneof_ _resource.
url_mask str
An URL mask is one of the main components of the Cloud Function. A template to parse platform-specific fields from a request URL. URL mask allows for routing to multiple resources on the same serverless platform without having to create multiple Network Endpoint Groups and backend resources. The fields parsed by this template are platform-specific and are as follows: 1. API Gateway: The gateway ID 2. App Engine: The service and version 3. Cloud Functions: The function name 4. Cloud Run: The service and tag This field is a member of oneof_ _url_mask.
version str
The optional resource version. The version identified by this value is platform-specific and is follows: 1. API Gateway: Unused 2. App Engine: The service version 3. Cloud Functions: Unused 4. Cloud Run: The service tag This field is a member of oneof_ _version.