- help_text:
    brief: Remove the association between a device and a gateway.
    description: Remove the association between a device and a gateway.
    examples: |
      To remove the association between 'my-device' and 'my-gateway' in region 'us-central1', run:

        $ {command} --device=my-device --device-region=us-central1 --device-registry=my-registry --gateway=my-gateway --gateway-region=us-central1 --gateway-registry=my-registry

  request:
    collection: cloudiot.projects.locations.registries
    method: unbindDeviceFromGateway
    modify_request_hooks:
    - googlecloudsdk.command_lib.iot.util:AddUnBindArgsToRequest

  arguments:
    additional_arguments_hook: googlecloudsdk.command_lib.iot.resource_args:UnBindAdditionalArgsHook
