Interface NetworkEndpointGroupCloudFunctionOrBuilder (1.52.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
Type Description
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
Type Description
ByteString

The bytes for function.

getUrlMask()

public abstract String getUrlMask()

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.

optional string url_mask = 103352252;

Returns
Type Description
String

The urlMask.

getUrlMaskBytes()

public abstract ByteString getUrlMaskBytes()

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.

optional string url_mask = 103352252;

Returns
Type Description
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
Type Description
boolean

Whether the function field is set.

hasUrlMask()

public abstract boolean hasUrlMask()

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.

optional string url_mask = 103352252;

Returns
Type Description
boolean

Whether the urlMask field is set.