Interface NetworkEndpointGroupCloudFunctionOrBuilder (1.33.0)

public interface NetworkEndpointGroupCloudFunctionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFunction()

public abstract String getFunction()

A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".

optional string function = 307196888;

Returns
TypeDescription
String

The function.

getFunctionBytes()

public abstract ByteString getFunctionBytes()

A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".

optional string function = 307196888;

Returns
TypeDescription
ByteString

The bytes for function.

getUrlMask()

public abstract String getUrlMask()

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.

optional string url_mask = 103352252;

Returns
TypeDescription
String

The urlMask.

getUrlMaskBytes()

public abstract ByteString getUrlMaskBytes()

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.

optional string url_mask = 103352252;

Returns
TypeDescription
ByteString

The bytes for urlMask.

hasFunction()

public abstract boolean hasFunction()

A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".

optional string function = 307196888;

Returns
TypeDescription
boolean

Whether the function field is set.

hasUrlMask()

public abstract boolean hasUrlMask()

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.

optional string url_mask = 103352252;

Returns
TypeDescription
boolean

Whether the urlMask field is set.