gcloud network-security security-profile-groups

NAME
gcloud network-security security-profile-groups - manage Network Security - Security Profile Groups
SYNOPSIS
gcloud network-security security-profile-groupsCOMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
Manage Network Security - Security Profile Groups.
EXAMPLES
To create a Security Profile Group with the namemy-security-profile-group (Either a fully specified path or--location and--organization flags for SPG should bespecified),--threat-prevention-profilemy-security-profile and optional description asoptionaldescription, run:
gcloudnetwork-securitysecurity-profile-groupscreatemy-security-profile-group--organization=1234--location=global--threat-prevention-profile=`organizations/1234/locations/global/securityProfiles/my-security-profile`--description='optional description'

To delete an Security Profile Group calledmy-security-profile-group (Either a fully specified path or--location and--organization flags for SPG should bespecified) run:

gcloudnetwork-securitysecurity-profile-groupsdeletemy-security-profile-group--organization=1234--location=global

To show details of a Security Profile Group namedmy-security-profile-group (Either a fully specified path or--location and--organization flags for SPG should bespecified) run:

gcloudnetwork-securitysecurity-profile-groupsdescribemy-security-profile-group--organization=1234--location=global

To list Security Profile Groups in specified location and organization, run:

gcloudnetwork-securitysecurity-profile-groupslist--location=global

To update an SPG with new Threat prevention profilemy-new-security-profile (Either a fully specified path or--location and--organization flags for SPG should bespecified), run:

gcloudnetwork-securitysecurity-profile-groupsupdatemy-security-profile-group--organization=1234--location=global--threat-prevention-profile=`organizations/1234/locations/global/securityProfiles/my-new-security-profile`--description='New Security Profile of type threat prevention'
GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

COMMANDS
COMMAND is one of the following:
create
Create a new Security Profile Group.
delete
Delete a Security Profile Group.
describe
Describe a Security Profile Group.
list
List Security Profile groups.
update
Update a Security Profile Group.
NOTES
These variants are also available:
gcloudalphanetwork-securitysecurity-profile-groups
gcloudbetanetwork-securitysecurity-profile-groups

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.