Skip to main content

network_edge_security_services

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

Overview

Namenetwork_edge_security_services
TypeResource
Idgoogle.compute.network_edge_security_services

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
idstring (uint64)[Output Only] The unique identifier for the resource. This identifier is defined by the server.
namestringName of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. (pattern: a-z?)
creationTimestampstring[Output Only] Creation timestamp in RFC3339 text format.
descriptionstringAn optional description of this resource. Provide this property when you create the resource.
fingerprintstring (byte)Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
kindstring[Output only] Type of the resource. Always compute#networkEdgeSecurityService for NetworkEdgeSecurityServices (default: compute#networkEdgeSecurityService)
regionstring[Output Only] URL of the region where the resource resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
securityPolicystringThe resource URL for the network edge security service associated with this network edge security service.
selfLinkstring[Output Only] Server-defined URL for the resource.
selfLinkWithIdstring[Output Only] Server-defined URL for this resource with the resource id.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectproject, region, networkEdgeSecurityServiceGets a specified NetworkEdgeSecurityService.
aggregated_listselectprojectfilter, includeAllScopes, maxResults, orderBy, pageToken, returnPartialSuccess, serviceProjectNumberRetrieves the list of all NetworkEdgeSecurityService resources available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.
insertinsertproject, regionrequestId, validateOnlyCreates a new service in the specified project using the data included in the request.
patchupdateproject, region, networkEdgeSecurityServicepaths, requestId, updateMaskPatches the specified policy with the data included in the request.
deletedeleteproject, region, networkEdgeSecurityServicerequestIdDeletes the specified service.

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
networkEdgeSecurityServicestring
projectstring
regionstring
filterstring
includeAllScopesboolean
maxResultsinteger (uint32)
orderBystring
pageTokenstring
pathsstring
requestIdstring
returnPartialSuccessboolean
serviceProjectNumberstring (int64)
updateMaskstring (google-fieldmask)
validateOnlyboolean

SELECT examples

Gets a specified NetworkEdgeSecurityService.

SELECT
id,
name,
creationTimestamp,
description,
fingerprint,
kind,
region,
securityPolicy,
selfLink,
selfLinkWithId
FROM google.compute.network_edge_security_services
WHERE project = '{{ project }}' -- required
AND region = '{{ region }}' -- required
AND networkEdgeSecurityService = '{{ networkEdgeSecurityService }}' -- required;

INSERT examples

Creates a new service in the specified project using the data included in the request.

INSERT INTO google.compute.network_edge_security_services (
data__kind,
data__id,
data__creationTimestamp,
data__name,
data__description,
data__selfLink,
data__selfLinkWithId,
data__region,
data__fingerprint,
data__securityPolicy,
project,
region,
requestId,
validateOnly
)
SELECT
'{{ kind }}',
'{{ id }}',
'{{ creationTimestamp }}',
'{{ name }}',
'{{ description }}',
'{{ selfLink }}',
'{{ selfLinkWithId }}',
'{{ region }}',
'{{ fingerprint }}',
'{{ securityPolicy }}',
'{{ project }}',
'{{ region }}',
'{{ requestId }}',
'{{ validateOnly }}'
RETURNING
id,
name,
clientOperationId,
creationTimestamp,
description,
endTime,
error,
httpErrorMessage,
httpErrorStatusCode,
insertTime,
instancesBulkInsertOperationMetadata,
kind,
operationGroupId,
operationType,
progress,
region,
selfLink,
setCommonInstanceMetadataOperationMetadata,
startTime,
status,
statusMessage,
targetId,
targetLink,
user,
warnings,
zone
;

UPDATE examples

Patches the specified policy with the data included in the request.

UPDATE google.compute.network_edge_security_services
SET
data__kind = '{{ kind }}',
data__id = '{{ id }}',
data__creationTimestamp = '{{ creationTimestamp }}',
data__name = '{{ name }}',
data__description = '{{ description }}',
data__selfLink = '{{ selfLink }}',
data__selfLinkWithId = '{{ selfLinkWithId }}',
data__region = '{{ region }}',
data__fingerprint = '{{ fingerprint }}',
data__securityPolicy = '{{ securityPolicy }}'
WHERE
project = '{{ project }}' --required
AND region = '{{ region }}' --required
AND networkEdgeSecurityService = '{{ networkEdgeSecurityService }}' --required
AND paths = '{{ paths}}'
AND requestId = '{{ requestId}}'
AND updateMask = '{{ updateMask}}'
RETURNING
id,
name,
clientOperationId,
creationTimestamp,
description,
endTime,
error,
httpErrorMessage,
httpErrorStatusCode,
insertTime,
instancesBulkInsertOperationMetadata,
kind,
operationGroupId,
operationType,
progress,
region,
selfLink,
setCommonInstanceMetadataOperationMetadata,
startTime,
status,
statusMessage,
targetId,
targetLink,
user,
warnings,
zone;

DELETE examples

Deletes the specified service.

DELETE FROM google.compute.network_edge_security_services
WHERE project = '{{ project }}' --required
AND region = '{{ region }}' --required
AND networkEdgeSecurityService = '{{ networkEdgeSecurityService }}' --required
AND requestId = '{{ requestId }}';