code: public final DeviceConfig modifyCloudToDeviceConfig(DeviceName name, ByteString binaryData) {
  
      ModifyCloudToDeviceConfigRequest request =
          ModifyCloudToDeviceConfigRequest.newBuilder()
              .setName(name == null ? null : name.toString())
              .setBinaryData(binaryData)
              .build();
      return modifyCloudToDeviceConfig(request);
    }
docs: Modifies the configuration for the device, which is eventually sent from the Cloud IoT Core
  servers. Returns the modified configuration version and its metadata.
  
  <p>Sample code:
  
  <pre><code>
  try (DeviceManagerClient deviceManagerClient = DeviceManagerClient.create()) {
  DeviceName name = DeviceName.of("[PROJECT]", "[LOCATION]", "[REGISTRY]", "[DEVICE]");
  ByteString binaryData = ByteString.copyFromUtf8("");
  DeviceConfig response = deviceManagerClient.modifyCloudToDeviceConfig(name, binaryData);
  }
  </code></pre>
  
  @param name The name of the device. For example,
  `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
  `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
  @param binaryData The configuration data for the device.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails