NAME
    gcloud alpha iam policies update - update the policy on the given
        attachment point with the given name

SYNOPSIS
    gcloud alpha iam policies update POLICY_ID
        --attachment-point=ATTACHMENT_POINT --kind=KIND
        --policy-file=POLICY_FILE [--etag=ETAG] [GCLOUD_WIDE_FLAG ...]

DESCRIPTION
    (ALPHA) Update the policy on the given attachment point with the given
    name.

EXAMPLES
    The following command updates the IAM policy defined at the resource
    project 123 of kind denypolicies and id my-deny-policy, with etag abc:

        $ gcloud alpha iam policies update my-deny-policy \
            --attachment-point=cloudresourcemanager.googleapis.com/\
        projects/123 --kind=denypolicies --policy-file=policy.json \
            --etag=abc

    If etag isn't provided, the command will try to get the etag using the
    calling user permissions.

POSITIONAL ARGUMENTS
     POLICY_ID
        Id of the policy.

REQUIRED FLAGS
     --attachment-point=ATTACHMENT_POINT
        Resource to which the policy is attached.

     --kind=KIND
        Kind of the policy.

     --policy-file=POLICY_FILE
        Contents of the policy.

OPTIONAL FLAGS
     --etag=ETAG
        Etag of the existing policy.

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 alpha and might change without notice. If this
    command fails with API permission errors despite specifying the correct
    project, you might be trying to access an API with an invitation-only early
    access allowlist. This variant is also available:

        $ gcloud beta iam policies update

