security_profile_groups
Creates, updates, deletes, gets or lists a security_profile_groups
resource.
Overview
Name | security_profile_groups |
Type | Resource |
Id | google.networksecurity.security_profile_groups |
Fields
The following fields are returned by SELECT
queries:
- organizations_locations_security_profile_groups_get
- organizations_locations_security_profile_groups_list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group} . |
createTime | string (google-datetime) | Output only. Resource creation timestamp. |
customInterceptProfile | string | Optional. Reference to a SecurityProfile with the CustomIntercept configuration. |
customMirroringProfile | string | Optional. Reference to a SecurityProfile with the CustomMirroring configuration. |
dataPathId | string (uint64) | Output only. Identifier used by the data-path. Unique within {container, location}. |
description | string | Optional. An optional description of the profile group. Max length 2048 characters. |
etag | string | Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. |
labels | object | Optional. Labels as key value pairs. |
threatPreventionProfile | string | Optional. Reference to a SecurityProfile with the ThreatPrevention configuration. |
updateTime | string (google-datetime) | Output only. Last resource update timestamp. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group} . |
createTime | string (google-datetime) | Output only. Resource creation timestamp. |
customInterceptProfile | string | Optional. Reference to a SecurityProfile with the CustomIntercept configuration. |
customMirroringProfile | string | Optional. Reference to a SecurityProfile with the CustomMirroring configuration. |
dataPathId | string (uint64) | Output only. Identifier used by the data-path. Unique within {container, location}. |
description | string | Optional. An optional description of the profile group. Max length 2048 characters. |
etag | string | Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. |
labels | object | Optional. Labels as key value pairs. |
threatPreventionProfile | string | Optional. Reference to a SecurityProfile with the ThreatPrevention configuration. |
updateTime | string (google-datetime) | Output only. Last resource update timestamp. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
organizations_locations_security_profile_groups_get | select | organizationsId , locationsId , securityProfileGroupsId | Gets details of a single SecurityProfileGroup. | |
organizations_locations_security_profile_groups_list | select | organizationsId , locationsId | pageSize , pageToken | Lists SecurityProfileGroups in a given organization and location. |
organizations_locations_security_profile_groups_create | insert | organizationsId , locationsId | securityProfileGroupId | Creates a new SecurityProfileGroup in a given organization and location. |
organizations_locations_security_profile_groups_patch | update | organizationsId , locationsId , securityProfileGroupsId | updateMask | Updates the parameters of a single SecurityProfileGroup. |
organizations_locations_security_profile_groups_delete | delete | organizationsId , locationsId , securityProfileGroupsId | etag | Deletes a single SecurityProfileGroup. |
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.
Name | Datatype | Description |
---|---|---|
locationsId | string | |
organizationsId | string | |
securityProfileGroupsId | string | |
etag | string | |
pageSize | integer (int32) | |
pageToken | string | |
securityProfileGroupId | string | |
updateMask | string (google-fieldmask) |
SELECT
examples
- organizations_locations_security_profile_groups_get
- organizations_locations_security_profile_groups_list
Gets details of a single SecurityProfileGroup.
SELECT
name,
createTime,
customInterceptProfile,
customMirroringProfile,
dataPathId,
description,
etag,
labels,
threatPreventionProfile,
updateTime
FROM google.networksecurity.security_profile_groups
WHERE organizationsId = '{{ organizationsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND securityProfileGroupsId = '{{ securityProfileGroupsId }}' -- required;
Lists SecurityProfileGroups in a given organization and location.
SELECT
name,
createTime,
customInterceptProfile,
customMirroringProfile,
dataPathId,
description,
etag,
labels,
threatPreventionProfile,
updateTime
FROM google.networksecurity.security_profile_groups
WHERE organizationsId = '{{ organizationsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}';
INSERT
examples
- organizations_locations_security_profile_groups_create
- Manifest
Creates a new SecurityProfileGroup in a given organization and location.
INSERT INTO google.networksecurity.security_profile_groups (
data__name,
data__description,
data__labels,
data__threatPreventionProfile,
data__customMirroringProfile,
data__customInterceptProfile,
organizationsId,
locationsId,
securityProfileGroupId
)
SELECT
'{{ name }}',
'{{ description }}',
'{{ labels }}',
'{{ threatPreventionProfile }}',
'{{ customMirroringProfile }}',
'{{ customInterceptProfile }}',
'{{ organizationsId }}',
'{{ locationsId }}',
'{{ securityProfileGroupId }}'
RETURNING
name,
done,
error,
metadata,
response
;
# Description fields are for documentation purposes
- name: security_profile_groups
props:
- name: organizationsId
value: string
description: Required parameter for the security_profile_groups resource.
- name: locationsId
value: string
description: Required parameter for the security_profile_groups resource.
- name: name
value: string
description: >
Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern `projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}`.
- name: description
value: string
description: >
Optional. An optional description of the profile group. Max length 2048 characters.
- name: labels
value: object
description: >
Optional. Labels as key value pairs.
- name: threatPreventionProfile
value: string
description: >
Optional. Reference to a SecurityProfile with the ThreatPrevention configuration.
- name: customMirroringProfile
value: string
description: >
Optional. Reference to a SecurityProfile with the CustomMirroring configuration.
- name: customInterceptProfile
value: string
description: >
Optional. Reference to a SecurityProfile with the CustomIntercept configuration.
- name: securityProfileGroupId
value: string
UPDATE
examples
- organizations_locations_security_profile_groups_patch
Updates the parameters of a single SecurityProfileGroup.
UPDATE google.networksecurity.security_profile_groups
SET
data__name = '{{ name }}',
data__description = '{{ description }}',
data__labels = '{{ labels }}',
data__threatPreventionProfile = '{{ threatPreventionProfile }}',
data__customMirroringProfile = '{{ customMirroringProfile }}',
data__customInterceptProfile = '{{ customInterceptProfile }}'
WHERE
organizationsId = '{{ organizationsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND securityProfileGroupsId = '{{ securityProfileGroupsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
done,
error,
metadata,
response;
DELETE
examples
- organizations_locations_security_profile_groups_delete
Deletes a single SecurityProfileGroup.
DELETE FROM google.networksecurity.security_profile_groups
WHERE organizationsId = '{{ organizationsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND securityProfileGroupsId = '{{ securityProfileGroupsId }}' --required
AND etag = '{{ etag }}';