@BetaApi
  public final Operation insertInterconnect(
      ProjectName project, Interconnect interconnectResource) {

    InsertInterconnectHttpRequest request =
        InsertInterconnectHttpRequest.newBuilder()
            .setProject(project == null ? null : project.toString())
            .setInterconnectResource(interconnectResource)
            .build();
    return insertInterconnect(request);
  }
@ BetaApi public final Operation insertInterconnect ( ProjectName project , Interconnect interconnectResource ) { InsertInterconnectHttpRequest request = InsertInterconnectHttpRequest . newBuilder ( ) . setProject ( project == null ? null : project . toString ( ) ) . setInterconnectResource ( interconnectResource ) . build ( ) ; return insertInterconnect ( request ) ; }
Creates a Interconnect in the specified project using the data included in the request.

<p>Sample code:

<pre><code>
try (InterconnectClient interconnectClient = InterconnectClient.create()) {
ProjectName project = ProjectName.of("[PROJECT]");
Interconnect interconnectResource = Interconnect.newBuilder().build();
Operation response = interconnectClient.insertInterconnect(project, interconnectResource);
}
</code></pre>

@param project Project ID for this request.
@param interconnectResource Represents an Interconnects resource. The Interconnects resource is
a dedicated connection between Google's network and your on-premises network. For more
information, see the Dedicated overview page. (== resource_for v1.interconnects ==) (==
resource_for beta.interconnects ==)
@throws com.google.api.gax.rpc.ApiException if the remote call fails