HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/394/lib/surface/bigtable/authorized_views/update.yaml
- release_tracks: [GA, BETA, ALPHA]

  help_text:
    brief: Update an existing Cloud Bigtable authorized view.
    description: Update an existing Cloud Bigtable authorized view.
    examples: |
      To update the authorized view `my-authorized-view` in instance `my-instance` and table
      `my-table`, using the definition file `authorized_view.json`:

        $ {command} my-authorized-view --instance=test-instance --table=test-table --definition-file=authorized_view.json

      To update the authorized view `my-authorized-view` in instance `my-instance` and table
      `my-table`, using the pre-encoded definition file `authorized_view_pre_encoded.json`:

        $ {command} my-authorized-view --instance=test-instance --table=test-table --definition-file=authorized_view_pre_encoded.json --pre-encoded

      To update the authorized view `my-authorized-view` in instance `my-instance` and table
      `my-table`, using the definition file `authorized_view.json` and skip the prompt to proceed or
      cancel the update:

        $ {command} my-authorized-view --instance=test-instance --table=test-table --definition-file=authorized_view.json --no-interactive

  request:
    collection: bigtableadmin.projects.instances.tables.authorizedViews
    method: patch
    modify_request_hooks:
    - googlecloudsdk.api_lib.bigtable.authorized_views:ModifyUpdateAuthorizedViewRequest

  arguments:
    resource:
      help_text: Cloud Bigtable authorized view to update.
      spec: !REF googlecloudsdk.command_lib.bigtable.resources:authorized_view
    params:
    - arg_name: definition-file
      help_text: |
        Path to a JSON or YAML file containing a valid authorized view protobuf.

        The `name` field is ignored. The name is deduced from the other command line arguments.

        Example:
        {
          "subsetView":
          {
            "rowPrefixes": ["store1"],
            "familySubsets":
            {
              "column_family_name":
              {
                "qualifiers":["address"],
                "qualifierPrefixes":["tel"]
              }
            }
          },
          "deletionProtection": true
        }
    - arg_name: interactive
      type: bool
      default: true
      help_text: |
        If provided, a diff is displayed with a prompt to proceed or cancel the update.
    - arg_name: pre-encoded
      type: bool
      default: false
      help_text: |
        By default, Base64 encoding is applied to all binary fields ("rowPrefixes", "qualifiers" and
        "qualifierPrefixes") in the JSON or YAML definition file.

        Use this to indicate that all binary fields are already Base64-encoded and should be used
        directly.
    - arg_name: ignore-warnings
      type: bool
      default: false
      help_text: |
        If true, changes that make the authorized view more restrictive are allowed.

  async:
    collection: bigtableadmin.operations