code: @BetaApi
    public final Operation deleteSubnetwork(ProjectRegionSubnetworkName subnetwork) {
  
      DeleteSubnetworkHttpRequest request =
          DeleteSubnetworkHttpRequest.newBuilder()
              .setSubnetwork(subnetwork == null ? null : subnetwork.toString())
              .build();
      return deleteSubnetwork(request);
    }
docs: Deletes the specified subnetwork.
  
  <p>Sample code:
  
  <pre><code>
  try (SubnetworkClient subnetworkClient = SubnetworkClient.create()) {
  ProjectRegionSubnetworkName subnetwork = ProjectRegionSubnetworkName.of("[PROJECT]", "[REGION]", "[SUBNETWORK]");
  Operation response = subnetworkClient.deleteSubnetwork(subnetwork);
  }
  </code></pre>
  
  @param subnetwork Name of the Subnetwork resource to delete.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails