Skip to main content

lb_edge_extensions

Creates, updates, deletes, gets or lists a lb_edge_extensions resource.

Overview

Namelb_edge_extensions
TypeResource
Idgoogle.networkservices.lb_edge_extensions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringRequired. Identifier. Name of the LbEdgeExtension resource in the following format: projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}.
createTimestring (google-datetime)Output only. The timestamp when the resource was created.
descriptionstringOptional. A human-readable description of the resource.
extensionChainsarrayRequired. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
forwardingRulesarrayRequired. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. Only one LbEdgeExtension resource can be associated with a forwarding rule.
labelsobjectOptional. Set of labels associated with the LbEdgeExtension resource. The format must comply with the requirements for labels for Google Cloud resources.
loadBalancingSchemestringRequired. All forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: EXTERNAL_MANAGED.
updateTimestring (google-datetime)Output only. The timestamp when the resource was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, lbEdgeExtensionsIdGets details of the specified LbEdgeExtension resource.
listselectprojectsId, locationsIdpageToken, pageSize, filter, orderByLists LbEdgeExtension resources in a given project and location.
createinsertprojectsId, locationsIdlbEdgeExtensionId, requestIdCreates a new LbEdgeExtension resource in a given project and location.
patchupdateprojectsId, locationsId, lbEdgeExtensionsIdupdateMask, requestIdUpdates the parameters of the specified LbEdgeExtension resource.
deletedeleteprojectsId, locationsId, lbEdgeExtensionsIdrequestIdDeletes the specified LbEdgeExtension resource.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
lbEdgeExtensionsIdstring
locationsIdstring
projectsIdstring
filterstring
lbEdgeExtensionIdstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
requestIdstring
updateMaskstring (google-fieldmask)

SELECT examples

Gets details of the specified LbEdgeExtension resource.

SELECT
name,
createTime,
description,
extensionChains,
forwardingRules,
labels,
loadBalancingScheme,
updateTime
FROM google.networkservices.lb_edge_extensions
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND lbEdgeExtensionsId = '{{ lbEdgeExtensionsId }}' -- required
;

INSERT examples

Creates a new LbEdgeExtension resource in a given project and location.

INSERT INTO google.networkservices.lb_edge_extensions (
data__loadBalancingScheme,
data__extensionChains,
data__labels,
data__forwardingRules,
data__description,
data__name,
projectsId,
locationsId,
lbEdgeExtensionId,
requestId
)
SELECT
'{{ loadBalancingScheme }}',
'{{ extensionChains }}',
'{{ labels }}',
'{{ forwardingRules }}',
'{{ description }}',
'{{ name }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ lbEdgeExtensionId }}',
'{{ requestId }}'
RETURNING
name,
done,
error,
metadata,
response
;

UPDATE examples

Updates the parameters of the specified LbEdgeExtension resource.

UPDATE google.networkservices.lb_edge_extensions
SET
data__loadBalancingScheme = '{{ loadBalancingScheme }}',
data__extensionChains = '{{ extensionChains }}',
data__labels = '{{ labels }}',
data__forwardingRules = '{{ forwardingRules }}',
data__description = '{{ description }}',
data__name = '{{ name }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND lbEdgeExtensionsId = '{{ lbEdgeExtensionsId }}' --required
AND updateMask = '{{ updateMask}}'
AND requestId = '{{ requestId}}'
RETURNING
name,
done,
error,
metadata,
response;

DELETE examples

Deletes the specified LbEdgeExtension resource.

DELETE FROM google.networkservices.lb_edge_extensions
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND lbEdgeExtensionsId = '{{ lbEdgeExtensionsId }}' --required
AND requestId = '{{ requestId }}'
;