code: @BetaApi
    public final Operation removePeeringNetwork(
        String network, NetworksRemovePeeringRequest networksRemovePeeringRequestResource) {
  
      RemovePeeringNetworkHttpRequest request =
          RemovePeeringNetworkHttpRequest.newBuilder()
              .setNetwork(network)
              .setNetworksRemovePeeringRequestResource(networksRemovePeeringRequestResource)
              .build();
      return removePeeringNetwork(request);
    }
docs: Removes a peering from the specified network.
  
  <p>Sample code:
  
  <pre><code>
  try (NetworkClient networkClient = NetworkClient.create()) {
  ProjectGlobalNetworkName network = ProjectGlobalNetworkName.of("[PROJECT]", "[NETWORK]");
  NetworksRemovePeeringRequest networksRemovePeeringRequestResource = NetworksRemovePeeringRequest.newBuilder().build();
  Operation response = networkClient.removePeeringNetwork(network.toString(), networksRemovePeeringRequestResource);
  }
  </code></pre>
  
  @param network Name of the network resource to remove peering from.
  @param networksRemovePeeringRequestResource
  @throws com.google.api.gax.rpc.ApiException if the remote call fails