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

NameDatatypeDescription
idstring[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.
descriptionstringAn optional description of this resource. Provide this property when you create the resource.
creationTimestampstring[Output Only] Creation timestamp in RFC3339 text format.
fingerprintstringFingerprint 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
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

NameAccessible byRequired ParamsDescription
aggregated_listSELECTprojectRetrieves the list of all NetworkEdgeSecurityService resources available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.
getSELECTnetworkEdgeSecurityService, project, regionGets a specified NetworkEdgeSecurityService.
insertINSERTproject, regionCreates a new service in the specified project using the data included in the request.
deleteDELETEnetworkEdgeSecurityService, project, regionDeletes the specified service.
patchUPDATEnetworkEdgeSecurityService, project, regionPatches the specified policy with the data included in the request.

SELECT examples

Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

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

INSERT example

Use the following StackQL query and manifest file to create a new network_edge_security_services resource.

/*+ create */
INSERT INTO google.compute.network_edge_security_services (
project,
region,
name,
description,
region,
fingerprint,
securityPolicy
)
SELECT
'{{ project }}',
'{{ region }}',
'{{ name }}',
'{{ description }}',
'{{ region }}',
'{{ fingerprint }}',
'{{ securityPolicy }}'
;

UPDATE example

Updates a network_edge_security_services resource.

/*+ update */
UPDATE google.compute.network_edge_security_services
SET
name = '{{ name }}',
description = '{{ description }}',
region = '{{ region }}',
fingerprint = '{{ fingerprint }}',
securityPolicy = '{{ securityPolicy }}'
WHERE
networkEdgeSecurityService = '{{ networkEdgeSecurityService }}'
AND project = '{{ project }}'
AND region = '{{ region }}';

DELETE example

Deletes the specified network_edge_security_services resource.

/*+ delete */
DELETE FROM google.compute.network_edge_security_services
WHERE networkEdgeSecurityService = '{{ networkEdgeSecurityService }}'
AND project = '{{ project }}'
AND region = '{{ region }}';