NAME
    gcloud alpha iap gateway set-iam-policy - set the IAM policy for an IAP
        gateway resource

SYNOPSIS
    gcloud alpha iap gateway set-iam-policy POLICY_FILE [GCLOUD_WIDE_FLAG ...]

DESCRIPTION
    (ALPHA) This command replaces the existing IAM policy for an IAP gateway
    resource, given a file encoded in JSON or YAML that contains the IAM
    policy. If the given policy file specifies an "etag" value, then the
    replacement will succeed only if the policy already in place matches that
    etag. (An etag obtained via $ gcloud alpha iap gateway get-iam-policy will
    prevent the \ replacement if the policy for the resource has been
    subsequently updated.) A policy file that does not contain an etag value
    will replace any existing policy for the resource.

EXAMPLES
    To set the IAM policy for the gateway resource within the active project,
    run:

        $ gcloud alpha iap gateway set-iam-policy POLICY_FILE

    To set the IAM policy for the gateway resource within a project, run:

        $ gcloud alpha iap gateway set-iam-policy POLICY_FILE \
            --project=PROJECT_ID

POSITIONAL ARGUMENTS
     POLICY_FILE
        JSON or YAML file containing the IAM 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.

