docs: public ServiceCall<MetricTokenResponse> getMetricsQueryTokenEvent(
        GetMetricsQueryTokenEventOptions getMetricsQueryTokenEventOptions) {
      String[] pathSegments = { "v1/metrics/top_query_tokens_with_event_rate" };
      RequestBuilder builder = RequestBuilder.get(RequestBuilder.constructHttpUrl(getEndPoint(), pathSegments));
      builder.query("version", versionDate);
      Map<String, String> sdkHeaders = SdkCommon.getSdkHeaders("discovery", "v1", "getMetricsQueryTokenEvent");
      for (Entry<String, String> header : sdkHeaders.entrySet()) {
        builder.header(header.getKey(), header.getValue());
      }
      builder.header("Accept", "application/json");
      if (getMetricsQueryTokenEventOptions != null) {
        if (getMetricsQueryTokenEventOptions.count() != null) {
          builder.query("count", String.valueOf(getMetricsQueryTokenEventOptions.count()));
        }
      }
      return createServiceCall(builder.build(), ResponseConverterUtils.getObject(MetricTokenResponse.class));
    }