Beispiel #1
0
 /// <summary>Snippet for RunReport</summary>
 public void RunReportRequestObject()
 {
     // Snippet: RunReport(RunReportRequest, CallSettings)
     // Create client
     AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.Create();
     // Initialize request argument(s)
     RunReportRequest request = new RunReportRequest
     {
         Entity             = new Entity(),
         Dimensions         = { new Dimension(), },
         Metrics            = { new Metric(), },
         DateRanges         = { new DateRange(), },
         Offset             = 0L,
         Limit              = 0L,
         MetricAggregations =
         {
             MetricAggregation.Unspecified,
         },
         DimensionFilter     = new FilterExpression(),
         MetricFilter        = new FilterExpression(),
         OrderBys            = { new OrderBy(), },
         CurrencyCode        = "",
         CohortSpec          = new CohortSpec(),
         KeepEmptyRows       = false,
         ReturnPropertyQuota = false,
     };
     // Make the request
     RunReportResponse response = alphaAnalyticsDataClient.RunReport(request);
     // End snippet
 }
 /// <summary>Snippet for RunReport</summary>
 public void RunReport_RequestObject()
 {
     // Snippet: RunReport(RunReportRequest,CallSettings)
     // Create client
     AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.Create();
     // Initialize request argument(s)
     RunReportRequest request = new RunReportRequest();
     // Make the request
     RunReportResponse response = alphaAnalyticsDataClient.RunReport(request);
     // End snippet
 }