Esempio n. 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
 }
Esempio n. 2
0
 /// <summary>Snippet for RunRealtimeReport</summary>
 public void RunRealtimeReportRequestObject()
 {
     // Snippet: RunRealtimeReport(RunRealtimeReportRequest, CallSettings)
     // Create client
     AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.Create();
     // Initialize request argument(s)
     RunRealtimeReportRequest request = new RunRealtimeReportRequest
     {
         Property           = "",
         Dimensions         = { new Dimension(), },
         Metrics            = { new Metric(), },
         Limit              = 0L,
         DimensionFilter    = new FilterExpression(),
         MetricFilter       = new FilterExpression(),
         MetricAggregations =
         {
             MetricAggregation.Unspecified,
         },
         OrderBys            = { new OrderBy(), },
         ReturnPropertyQuota = false,
     };
     // Make the request
     RunRealtimeReportResponse response = alphaAnalyticsDataClient.RunRealtimeReport(request);
     // End snippet
 }
 /// <summary>Snippet for GetMetadata</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetMetadata()
 {
     // Create client
     AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.Create();
     // Initialize request argument(s)
     string name = "properties/[PROPERTY]/metadata";
     // Make the request
     Metadata response = alphaAnalyticsDataClient.GetMetadata(name);
 }
 /// <summary>Snippet for GetMetadata</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetMetadataResourceNames()
 {
     // Create client
     AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.Create();
     // Initialize request argument(s)
     MetadataName name = MetadataName.FromProperty("[PROPERTY]");
     // Make the request
     Metadata response = alphaAnalyticsDataClient.GetMetadata(name);
 }
 /// <summary>Snippet for RunPivotReport</summary>
 public void RunPivotReport_RequestObject()
 {
     // Snippet: RunPivotReport(RunPivotReportRequest,CallSettings)
     // Create client
     AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.Create();
     // Initialize request argument(s)
     RunPivotReportRequest request = new RunPivotReportRequest();
     // Make the request
     RunPivotReportResponse response = alphaAnalyticsDataClient.RunPivotReport(request);
     // End snippet
 }
 /// <summary>Snippet for BatchRunPivotReports</summary>
 public void BatchRunPivotReports_RequestObject()
 {
     // Snippet: BatchRunPivotReports(BatchRunPivotReportsRequest,CallSettings)
     // Create client
     AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.Create();
     // Initialize request argument(s)
     BatchRunPivotReportsRequest request = new BatchRunPivotReportsRequest();
     // Make the request
     BatchRunPivotReportsResponse response = alphaAnalyticsDataClient.BatchRunPivotReports(request);
     // End snippet
 }
Esempio n. 7
0
 /// <summary>Snippet for GetMetadata</summary>
 public void GetMetadataResourceNames()
 {
     // Snippet: GetMetadata(MetadataName, CallSettings)
     // Create client
     AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.Create();
     // Initialize request argument(s)
     MetadataName name = MetadataName.FromMetadata();
     // Make the request
     Metadata response = alphaAnalyticsDataClient.GetMetadata(name);
     // End snippet
 }
Esempio n. 8
0
 /// <summary>Snippet for GetMetadata</summary>
 public void GetMetadata()
 {
     // Snippet: GetMetadata(string, CallSettings)
     // Create client
     AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.Create();
     // Initialize request argument(s)
     string name = "metadata";
     // Make the request
     Metadata response = alphaAnalyticsDataClient.GetMetadata(name);
     // End snippet
 }
 /// <summary>Snippet for GetUniversalMetadata</summary>
 public void GetUniversalMetadataRequestObject()
 {
     // Snippet: GetUniversalMetadata(GetUniversalMetadataRequest, CallSettings)
     // Create client
     AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.Create();
     // Initialize request argument(s)
     GetUniversalMetadataRequest request = new GetUniversalMetadataRequest {
     };
     // Make the request
     UniversalMetadata response = alphaAnalyticsDataClient.GetUniversalMetadata(request);
     // End snippet
 }
Esempio n. 10
0
 /// <summary>Snippet for GetMetadata</summary>
 public void GetMetadataRequestObject()
 {
     // Snippet: GetMetadata(GetMetadataRequest, CallSettings)
     // Create client
     AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.Create();
     // Initialize request argument(s)
     GetMetadataRequest request = new GetMetadataRequest
     {
         MetadataName = MetadataName.FromProperty("[PROPERTY]"),
     };
     // Make the request
     Metadata response = alphaAnalyticsDataClient.GetMetadata(request);
     // End snippet
 }
 /// <summary>Snippet for BatchRunReports</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void BatchRunReportsRequestObject()
 {
     // Create client
     AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.Create();
     // Initialize request argument(s)
     BatchRunReportsRequest request = new BatchRunReportsRequest
     {
         Entity   = new Entity(),
         Requests =
         {
             new RunReportRequest(),
         },
     };
     // Make the request
     BatchRunReportsResponse response = alphaAnalyticsDataClient.BatchRunReports(request);
 }
Esempio n. 12
0
 /// <summary>Snippet for RunPivotReport</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void RunPivotReportRequestObject()
 {
     // Create client
     AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.Create();
     // Initialize request argument(s)
     RunPivotReportRequest request = new RunPivotReportRequest
     {
         Entity              = new Entity(),
         Dimensions          = { new Dimension(), },
         Metrics             = { new Metric(), },
         DimensionFilter     = new FilterExpression(),
         MetricFilter        = new FilterExpression(),
         Pivots              = { new Pivot(), },
         DateRanges          = { new DateRange(), },
         CurrencyCode        = "",
         CohortSpec          = new CohortSpec(),
         KeepEmptyRows       = false,
         ReturnPropertyQuota = false,
     };
     // Make the request
     RunPivotReportResponse response = alphaAnalyticsDataClient.RunPivotReport(request);
 }