/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/Analytics/GDataAnalyticsAggregateGroup.h

http://macfuse.googlecode.com/ · C++ Header · 41 lines · 9 code · 7 blank · 25 comment · 1 complexity · 30689b6aec1c76e9c6383223ca37d741 MD5 · raw file

  1. /* Copyright (c) 2009 Google Inc.
  2. *
  3. * Licensed under the Apache License, Version 2.0 (the "License");
  4. * you may not use this file except in compliance with the License.
  5. * You may obtain a copy of the License at
  6. *
  7. * http://www.apache.org/licenses/LICENSE-2.0
  8. *
  9. * Unless required by applicable law or agreed to in writing, software
  10. * distributed under the License is distributed on an "AS IS" BASIS,
  11. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. * See the License for the specific language governing permissions and
  13. * limitations under the License.
  14. */
  15. //
  16. // GDataAnalyticsAggregateGroup.h
  17. //
  18. // aggregate of metrics, like
  19. //
  20. // <dxp:aggregates>
  21. // <dxp:metric confidenceInterval="0.0"
  22. // name="ga:pageviews"
  23. // type="integer"
  24. // value="1" />
  25. // </dxp:aggregates>
  26. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE
  27. #import "GDataObject.h"
  28. @class GDataAnalyticsMetric;
  29. @interface GDataAnalyticsAggregateGroup : GDataObject <GDataExtension>
  30. - (NSArray *)metrics;
  31. - (void)setMetrics:(NSArray *)array;
  32. - (void)addMetric:(GDataAnalyticsMetric *)obj;
  33. @end
  34. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE