@BetaApi
  public final Operation insertRegionDisk(ProjectRegionName region, Disk diskResource) {

    InsertRegionDiskHttpRequest request =
        InsertRegionDiskHttpRequest.newBuilder()
            .setRegion(region == null ? null : region.toString())
            .setDiskResource(diskResource)
            .build();
    return insertRegionDisk(request);
  }
@ BetaApi public final Operation insertRegionDisk ( ProjectRegionName region , Disk diskResource ) { InsertRegionDiskHttpRequest request = InsertRegionDiskHttpRequest . newBuilder ( ) . setRegion ( region == null ? null : region . toString ( ) ) . setDiskResource ( diskResource ) . build ( ) ; return insertRegionDisk ( request ) ; }
Creates a persistent regional disk in the specified project using the data included in the
request.

<p>Sample code:

<pre><code>
try (RegionDiskClient regionDiskClient = RegionDiskClient.create()) {
ProjectRegionName region = ProjectRegionName.of("[PROJECT]", "[REGION]");
Disk diskResource = Disk.newBuilder().build();
Operation response = regionDiskClient.insertRegionDisk(region, diskResource);
}
</code></pre>

@param region Name of the region for this request.
@param diskResource A Disk resource. (== resource_for beta.disks ==) (== resource_for v1.disks
==)
@throws com.google.api.gax.rpc.ApiException if the remote call fails