@BetaApi
  public final NetworkEndpointGroup getNetworkEndpointGroup(
      ProjectZoneNetworkEndpointGroupName networkEndpointGroup) {

    GetNetworkEndpointGroupHttpRequest request =
        GetNetworkEndpointGroupHttpRequest.newBuilder()
            .setNetworkEndpointGroup(
                networkEndpointGroup == null ? null : networkEndpointGroup.toString())
            .build();
    return getNetworkEndpointGroup(request);
  }
@ BetaApi public final NetworkEndpointGroup getNetworkEndpointGroup ( ProjectZoneNetworkEndpointGroupName networkEndpointGroup ) { GetNetworkEndpointGroupHttpRequest request = GetNetworkEndpointGroupHttpRequest . newBuilder ( ) . setNetworkEndpointGroup ( networkEndpointGroup == null ? null : networkEndpointGroup . toString ( ) ) . build ( ) ; return getNetworkEndpointGroup ( request ) ; }
Returns the specified network endpoint group. Gets a list of available network endpoint groups
by making a list() request.

<p>Sample code:

<pre><code>
try (NetworkEndpointGroupClient networkEndpointGroupClient = NetworkEndpointGroupClient.create()) {
ProjectZoneNetworkEndpointGroupName networkEndpointGroup = ProjectZoneNetworkEndpointGroupName.of("[PROJECT]", "[ZONE]", "[NETWORK_ENDPOINT_GROUP]");
NetworkEndpointGroup response = networkEndpointGroupClient.getNetworkEndpointGroup(networkEndpointGroup);
}
</code></pre>

@param networkEndpointGroup The name of the network endpoint group. It should comply with
RFC1035.
@throws com.google.api.gax.rpc.ApiException if the remote call fails