code: @BetaApi
    public final Operation detachNetworkEndpointsNetworkEndpointGroup(
        ProjectZoneNetworkEndpointGroupName networkEndpointGroup,
        NetworkEndpointGroupsDetachEndpointsRequest
            networkEndpointGroupsDetachEndpointsRequestResource) {
  
      DetachNetworkEndpointsNetworkEndpointGroupHttpRequest request =
          DetachNetworkEndpointsNetworkEndpointGroupHttpRequest.newBuilder()
              .setNetworkEndpointGroup(
                  networkEndpointGroup == null ? null : networkEndpointGroup.toString())
              .setNetworkEndpointGroupsDetachEndpointsRequestResource(
                  networkEndpointGroupsDetachEndpointsRequestResource)
              .build();
      return detachNetworkEndpointsNetworkEndpointGroup(request);
    }
docs: Detach a list of network endpoints from the specified network endpoint group.
  
  <p>Sample code:
  
  <pre><code>
  try (NetworkEndpointGroupClient networkEndpointGroupClient = NetworkEndpointGroupClient.create()) {
  ProjectZoneNetworkEndpointGroupName networkEndpointGroup = ProjectZoneNetworkEndpointGroupName.of("[PROJECT]", "[ZONE]", "[NETWORK_ENDPOINT_GROUP]");
  NetworkEndpointGroupsDetachEndpointsRequest networkEndpointGroupsDetachEndpointsRequestResource = NetworkEndpointGroupsDetachEndpointsRequest.newBuilder().build();
  Operation response = networkEndpointGroupClient.detachNetworkEndpointsNetworkEndpointGroup(networkEndpointGroup, networkEndpointGroupsDetachEndpointsRequestResource);
  }
  </code></pre>
  
  @param networkEndpointGroup The name of the network endpoint group where you are removing
  network endpoints. It should comply with RFC1035.
  @param networkEndpointGroupsDetachEndpointsRequestResource
  @throws com.google.api.gax.rpc.ApiException if the remote call fails