code: @BetaApi
    public final Operation detachDiskInstance(ProjectZoneInstanceName instance, String deviceName) {
  
      DetachDiskInstanceHttpRequest request =
          DetachDiskInstanceHttpRequest.newBuilder()
              .setInstance(instance == null ? null : instance.toString())
              .setDeviceName(deviceName)
              .build();
      return detachDiskInstance(request);
    }
docs: Detaches a disk from an instance.
  
  <p>Sample code:
  
  <pre><code>
  try (InstanceClient instanceClient = InstanceClient.create()) {
  ProjectZoneInstanceName instance = ProjectZoneInstanceName.of("[PROJECT]", "[ZONE]", "[INSTANCE]");
  String deviceName = "";
  Operation response = instanceClient.detachDiskInstance(instance, deviceName);
  }
  </code></pre>
  
  @param instance Instance name for this request.
  @param deviceName The device name of the disk to detach. Make a get() request on the instance
  to view currently attached disks and device names.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails