Beispiel #1
0
        /// <summary>Snippet for CheckCompatibilityAsync</summary>
        public async Task CheckCompatibilityRequestObjectAsync()
        {
            // Snippet: CheckCompatibilityAsync(CheckCompatibilityRequest, CallSettings)
            // Additional: CheckCompatibilityAsync(CheckCompatibilityRequest, CancellationToken)
            // Create client
            BetaAnalyticsDataClient betaAnalyticsDataClient = await BetaAnalyticsDataClient.CreateAsync();

            // Initialize request argument(s)
            CheckCompatibilityRequest request = new CheckCompatibilityRequest
            {
                Property            = "",
                Dimensions          = { new Dimension(), },
                Metrics             = { new Metric(), },
                DimensionFilter     = new FilterExpression(),
                MetricFilter        = new FilterExpression(),
                CompatibilityFilter = Compatibility.Unspecified,
            };
            // Make the request
            CheckCompatibilityResponse response = await betaAnalyticsDataClient.CheckCompatibilityAsync(request);

            // End snippet
        }