gcloud beta compute security-policies add-user-defined-field

NAME
gcloud beta compute security-policies add-user-defined-field - add a user defined field to a Compute Engine security policy
SYNOPSIS
gcloud beta compute security-policies add-user-defined-field NAME --base=BASE --offset=OFFSET --size=SIZE --user-defined-field-name=USER_DEFINED_FIELD_NAME [--mask=MASK] [--region=REGION] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) gcloud beta compute security-policies add-user-defined-field is used to add user defined fields to security policies.
EXAMPLES
To add a user defined field run this:
gcloud beta compute security-policies add-user-defined-field SECURITY_POLICY --user-defined-field-name=my-field --base=ipv6 --offset=10 --size=3
POSITIONAL ARGUMENTS
NAME
Name of the security policy to update.
REQUIRED FLAGS
--base=BASE
The base relative to which offset is measured. BASE must be one of: ipv4, ipv6, tcp, udp.
--offset=OFFSET
Offset of the first byte of the field (in network byte order) relative to base.
--size=SIZE
Size of the field in bytes. Valid values: 1-4.
--user-defined-field-name=USER_DEFINED_FIELD_NAME
The name for the user defined field.
OPTIONAL FLAGS
--mask=MASK
If specified, apply this mask (bitwise AND) to the field to ignore bits before matching. Encoded as a hexadecimal number (starting with "0x").
--region=REGION
Region of the security policy to update. Overrides the default compute/region property value for this command invocation.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.

Run $ gcloud help for details.

NOTES
This command is currently in beta and might change without notice. These variants are also available:
gcloud compute security-policies add-user-defined-field
gcloud alpha compute security-policies add-user-defined-field