code: @BetaApi
    public final Operation setLabelsDisk(
        ProjectZoneDiskResourceName resource, ZoneSetLabelsRequest zoneSetLabelsRequestResource) {
  
      SetLabelsDiskHttpRequest request =
          SetLabelsDiskHttpRequest.newBuilder()
              .setResource(resource == null ? null : resource.toString())
              .setZoneSetLabelsRequestResource(zoneSetLabelsRequestResource)
              .build();
      return setLabelsDisk(request);
    }
docs: Sets the labels on a disk. To learn more about labels, read the Labeling Resources
  documentation.
  
  <p>Sample code:
  
  <pre><code>
  try (DiskClient diskClient = DiskClient.create()) {
  ProjectZoneDiskResourceName resource = ProjectZoneDiskResourceName.of("[PROJECT]", "[ZONE]", "[RESOURCE]");
  ZoneSetLabelsRequest zoneSetLabelsRequestResource = ZoneSetLabelsRequest.newBuilder().build();
  Operation response = diskClient.setLabelsDisk(resource, zoneSetLabelsRequestResource);
  }
  </code></pre>
  
  @param resource Name or id of the resource for this request.
  @param zoneSetLabelsRequestResource
  @throws com.google.api.gax.rpc.ApiException if the remote call fails