- release_tracks: [ALPHA, BETA, GA]
  help_text:
    brief: Remove an IAM policy binding from a policy tag taxonomy.
    description: Remove an IAM policy binding from a policy tag taxonomy.
    examples: |
      To remove an IAM policy binding for the role of 'roles/editor' for the
      user 'test-user@gmail.com' on taxonomy 'TAXONOMY' in location 'LOCATION', run:

        $ {command} TAXONOMY --location='LOCATION' --member='user:test-user@gmail.com' --role='roles/editor'

      To remove an IAM policy binding for the role of 'roles/editor' from all
      authenticated users on taxonomy 'TAXONOMY' in location 'LOCATION', run:

        $ {command} TAXONOMY --location='LOCATION' --member='allAuthenticatedUsers' --role='roles/editor'

      See https://cloud.google.com/iam/docs/managing-policies for details of
      policy role and member types.

  request:
    collection: datacatalog.projects.locations.taxonomies
    GA:
      api_version: v1

  arguments:
    resource:
      help_text: Policy tag taxonomy from which to remove the IAM policy binding.
      spec: !REF googlecloudsdk.command_lib.data_catalog.resources:taxonomy
