@BetaApi
  public final Operation insertInterconnectAttachment(
      String region, InterconnectAttachment interconnectAttachmentResource) {

    InsertInterconnectAttachmentHttpRequest request =
        InsertInterconnectAttachmentHttpRequest.newBuilder()
            .setRegion(region)
            .setInterconnectAttachmentResource(interconnectAttachmentResource)
            .build();
    return insertInterconnectAttachment(request);
  }
@ BetaApi public final Operation insertInterconnectAttachment ( String region , InterconnectAttachment interconnectAttachmentResource ) { InsertInterconnectAttachmentHttpRequest request = InsertInterconnectAttachmentHttpRequest . newBuilder ( ) . setRegion ( region ) . setInterconnectAttachmentResource ( interconnectAttachmentResource ) . build ( ) ; return insertInterconnectAttachment ( request ) ; }
Creates an InterconnectAttachment in the specified project using the data included in the
request.

<p>Sample code:

<pre><code>
try (InterconnectAttachmentClient interconnectAttachmentClient = InterconnectAttachmentClient.create()) {
ProjectRegionName region = ProjectRegionName.of("[PROJECT]", "[REGION]");
InterconnectAttachment interconnectAttachmentResource = InterconnectAttachment.newBuilder().build();
Operation response = interconnectAttachmentClient.insertInterconnectAttachment(region.toString(), interconnectAttachmentResource);
}
</code></pre>

@param region Name of the region for this request.
@param interconnectAttachmentResource Represents an InterconnectAttachment (VLAN attachment)
resource. For more information, see Creating VLAN Attachments. (== resource_for
beta.interconnectAttachments ==) (== resource_for v1.interconnectAttachments ==)
@throws com.google.api.gax.rpc.ApiException if the remote call fails