/// <summary>Snippet for GetShoppingPerformanceViewAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task GetShoppingPerformanceViewAsync()
        {
            // Create client
            ShoppingPerformanceViewServiceClient shoppingPerformanceViewServiceClient = await ShoppingPerformanceViewServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "customers/[CUSTOMER_ID]/shoppingPerformanceView";
            // Make the request
            ShoppingPerformanceView response = await shoppingPerformanceViewServiceClient.GetShoppingPerformanceViewAsync(resourceName);
        }
        /// <summary>Snippet for GetShoppingPerformanceViewAsync</summary>
        public async Task GetShoppingPerformanceViewAsync()
        {
            // Snippet: GetShoppingPerformanceViewAsync(string, CallSettings)
            // Additional: GetShoppingPerformanceViewAsync(string, CancellationToken)
            // Create client
            ShoppingPerformanceViewServiceClient shoppingPerformanceViewServiceClient = await ShoppingPerformanceViewServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "customers/[CUSTOMER]/shoppingPerformanceView";
            // Make the request
            ShoppingPerformanceView response = await shoppingPerformanceViewServiceClient.GetShoppingPerformanceViewAsync(resourceName);

            // End snippet
        }
예제 #3
0
        /// <summary>Snippet for GetShoppingPerformanceViewAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task GetShoppingPerformanceViewResourceNamesAsync()
        {
            // Create client
            ShoppingPerformanceViewServiceClient shoppingPerformanceViewServiceClient = await ShoppingPerformanceViewServiceClient.CreateAsync();

            // Initialize request argument(s)
            ShoppingPerformanceViewName resourceName = ShoppingPerformanceViewName.FromCustomer("[CUSTOMER]");
            // Make the request
            ShoppingPerformanceView response = await shoppingPerformanceViewServiceClient.GetShoppingPerformanceViewAsync(resourceName);
        }
        /// <summary>Snippet for GetShoppingPerformanceViewAsync</summary>
        public async Task GetShoppingPerformanceViewRequestObjectAsync()
        {
            // Snippet: GetShoppingPerformanceViewAsync(GetShoppingPerformanceViewRequest, CallSettings)
            // Additional: GetShoppingPerformanceViewAsync(GetShoppingPerformanceViewRequest, CancellationToken)
            // Create client
            ShoppingPerformanceViewServiceClient shoppingPerformanceViewServiceClient = await ShoppingPerformanceViewServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetShoppingPerformanceViewRequest request = new GetShoppingPerformanceViewRequest
            {
                ResourceNameAsShoppingPerformanceViewName = ShoppingPerformanceViewName.FromCustomer("[CUSTOMER]"),
            };
            // Make the request
            ShoppingPerformanceView response = await shoppingPerformanceViewServiceClient.GetShoppingPerformanceViewAsync(request);

            // End snippet
        }
예제 #5
0
        /// <summary>Snippet for GetShoppingPerformanceViewAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task GetShoppingPerformanceViewRequestObjectAsync()
        {
            // Create client
            ShoppingPerformanceViewServiceClient shoppingPerformanceViewServiceClient = await ShoppingPerformanceViewServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetShoppingPerformanceViewRequest request = new GetShoppingPerformanceViewRequest
            {
                ResourceNameAsShoppingPerformanceViewName = ShoppingPerformanceViewName.FromCustomer("[CUSTOMER_ID]"),
            };
            // Make the request
            ShoppingPerformanceView response = await shoppingPerformanceViewServiceClient.GetShoppingPerformanceViewAsync(request);
        }