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

http://macfuse.googlecode.com/ · C++ Header · 58 lines · 25 code · 16 blank · 17 comment · 1 complexity · 27776d7beb572b843fdd17b417849c47 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. // GDataQueryAnalytics.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE
  19. #import "GDataQuery.h"
  20. @interface GDataQueryAnalytics : GDataQuery
  21. + (GDataQueryAnalytics *)analyticsQueryWithFeedURL:(NSURL *)feedURL;
  22. + (GDataQueryAnalytics *)analyticsDataQueryWithTableID:(NSString *)tableID
  23. startDateString:(NSString *)startDateStr
  24. endDateString:(NSString *)endDateStr;
  25. - (void)setDimensions:(NSString *)str;
  26. - (NSString *)dimensions;
  27. - (void)setMetrics:(NSString *)str;
  28. - (NSString *)metrics;
  29. - (void)setStartDateString:(NSString *)str; // YYYY-MM-DD
  30. - (NSString *)startDateString;
  31. - (void)setEndDateString:(NSString *)str; // YYYY-MM-DD
  32. - (NSString *)endDateString;
  33. - (void)setFilters:(NSString *)str;
  34. - (NSString *)filters;
  35. - (void)setIDs:(NSString *)str;
  36. - (NSString *)IDs;
  37. - (void)setSort:(NSString *)str;
  38. - (NSString *)sort;
  39. - (void)setSegment:(NSString *)str;
  40. - (NSString *)segment;
  41. @end
  42. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE