code: @BetaApi
    public final ListNetworkEndpointsNetworkEndpointGroupsPagedResponse
        listNetworkEndpointsNetworkEndpointGroups(
            ProjectZoneNetworkEndpointGroupName networkEndpointGroup,
            NetworkEndpointGroupsListEndpointsRequest
                networkEndpointGroupsListEndpointsRequestResource) {
      ListNetworkEndpointsNetworkEndpointGroupsHttpRequest request =
          ListNetworkEndpointsNetworkEndpointGroupsHttpRequest.newBuilder()
              .setNetworkEndpointGroup(
                  networkEndpointGroup == null ? null : networkEndpointGroup.toString())
              .setNetworkEndpointGroupsListEndpointsRequestResource(
                  networkEndpointGroupsListEndpointsRequestResource)
              .build();
      return listNetworkEndpointsNetworkEndpointGroups(request);
    }
docs: Lists the network endpoints in the specified network endpoint group.
  
  <p>Sample code:
  
  <pre><code>
  try (NetworkEndpointGroupClient networkEndpointGroupClient = NetworkEndpointGroupClient.create()) {
  ProjectZoneNetworkEndpointGroupName networkEndpointGroup = ProjectZoneNetworkEndpointGroupName.of("[PROJECT]", "[ZONE]", "[NETWORK_ENDPOINT_GROUP]");
  NetworkEndpointGroupsListEndpointsRequest networkEndpointGroupsListEndpointsRequestResource = NetworkEndpointGroupsListEndpointsRequest.newBuilder().build();
  for (NetworkEndpointWithHealthStatus element : networkEndpointGroupClient.listNetworkEndpointsNetworkEndpointGroups(networkEndpointGroup, networkEndpointGroupsListEndpointsRequestResource).iterateAll()) {
  // doThingsWith(element);
  }
  }
  </code></pre>
  
  @param networkEndpointGroup The name of the network endpoint group from which you want to
  generate a list of included network endpoints. It should comply with RFC1035.
  @param networkEndpointGroupsListEndpointsRequestResource
  @throws com.google.api.gax.rpc.ApiException if the remote call fails