NAME
    gcloud alpha scc remediation-intents update - updates a remediation intent
        resource

SYNOPSIS
    gcloud alpha scc remediation-intents update
        (REMEDIATIONINTENT : --location=LOCATION --organization=ORGANIZATION)
        --ri-from-file=RI_FROM_FILE [--async] [--update-mask=UPDATE_MASK]
        [GCLOUD_WIDE_FLAG ...]

DESCRIPTION
    (ALPHA) Updates a Cloud Security Command Center (SCC) RemediationIntent
    resource.

    Fields specified in update-mask flag are updated. Updatable fields depends
    on the state transition.

    Valid state transitions are:

    a) ENQUEUED to IN_PROGRESS (mask: state,remediation_input)

    b) REMEDIATION_SUCCESS to PR_GENERATION_SUCCESS (mask:
    state,remediation_artifacts)

    c) REMEDIATION_SUCCESS to PR_GENERATION_FAILED (mask: state,error_details)

    An empty or * as field mask will result in updating the relevant fields as
    per the transition.

    Updated resource is returned as the response of the command.

EXAMPLES
    Sample usage: Update the remediation intent resource's state from ENQUEUED
    to IN_PROGRESS: $ {command} scc remediation-intents update \        organizations/123456789/locations/global/remediationIntents/\
        123456789 --ri-from-file=/path/to/resource.yaml \
            --update-mask=state,remediation_input

    Update the remediation intent resource's state from ENQUEUED to IN_PROGRESS
    (with empty update mask): $ {command} scc remediation-intents update \        organizations/123456789/locations/global/remediationIntents/\
        123456789 --ri-from-file=/path/to/resource.yaml

    Update the remediation intent resource's state from REMEDIATION_SUCCESS to
    PR_GENERATION_SUCCESS: $ {command} scc remediation-intents update \        organizations/123456789/locations/global/remediationIntents/\
        123456789 --ri-from-file=/path/to/resource.yaml \
            --update-mask=state,remediation_artifacts

    Update the remediation intent resource's state from REMEDIATION_SUCCESS to
    PR_GENERATION_FAILED: $ {command} scc remediation-intents update \        organizations/123456789/locations/global/remediationIntents/\
        123456789 --ri-from-file=/path/to/resource.yaml \
            --update-mask=state,error_details

POSITIONAL ARGUMENTS
     RemediationIntent resource - The remediation intent resource. The
     arguments in this group can be used to specify the attributes of this
     resource.

     This must be specified.

       REMEDIATIONINTENT
          ID of the remediationIntent or fully qualified identifier for the
          remediationIntent.

          To set the remediation-intent attribute:
          ▸ provide the argument remediationintent on the command line.

          This positional argument must be specified if any of the other
          arguments in this group are specified.

       --location=LOCATION
          The Google Cloud location for the remediationIntent.

          To set the location attribute:
          ▸ provide the argument remediationintent on the command line with a
            fully specified name;
          ▸ provide the argument --location on the command line.

       --organization=ORGANIZATION
          The Google Cloud organization for the remediationIntent.

          To set the organization attribute:
          ▸ provide the argument remediationintent on the command line with a
            fully specified name;
          ▸ provide the argument --organization on the command line.

REQUIRED FLAGS
     --ri-from-file=RI_FROM_FILE
        Path to the YAML file containing the remediation intent resource.
        Format: /path/to/file.yaml.

OPTIONAL FLAGS
     --async
        Return immediately, without waiting for the operation in progress to
        complete. The default is False.

     --update-mask=UPDATE_MASK
        Comma separated string containing list of fields to be updated. Format:
        field1,field2.

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.

