code: @BetaApi
    public final Operation setLabelsRegionDisk(
        ProjectRegionDiskResourceName resource,
        RegionSetLabelsRequest regionSetLabelsRequestResource) {
  
      SetLabelsRegionDiskHttpRequest request =
          SetLabelsRegionDiskHttpRequest.newBuilder()
              .setResource(resource == null ? null : resource.toString())
              .setRegionSetLabelsRequestResource(regionSetLabelsRequestResource)
              .build();
      return setLabelsRegionDisk(request);
    }
docs: Sets the labels on the target regional disk.
  
  <p>Sample code:
  
  <pre><code>
  try (RegionDiskClient regionDiskClient = RegionDiskClient.create()) {
  ProjectRegionDiskResourceName resource = ProjectRegionDiskResourceName.of("[PROJECT]", "[REGION]", "[RESOURCE]");
  RegionSetLabelsRequest regionSetLabelsRequestResource = RegionSetLabelsRequest.newBuilder().build();
  Operation response = regionDiskClient.setLabelsRegionDisk(resource, regionSetLabelsRequestResource);
  }
  </code></pre>
  
  @param resource Name or id of the resource for this request.
  @param regionSetLabelsRequestResource
  @throws com.google.api.gax.rpc.ApiException if the remote call fails