/// <summary>Snippet for GetCustomerFeedAsync</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 GetCustomerFeedAsync()
        {
            // Create client
            CustomerFeedServiceClient customerFeedServiceClient = await CustomerFeedServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "customers/[CUSTOMER]/customerFeeds/[CUSTOMER_FEED]";
            // Make the request
            CustomerFeed response = await customerFeedServiceClient.GetCustomerFeedAsync(resourceName);
        }
Exemplo n.º 2
0
        /// <summary>Snippet for GetCustomerFeedAsync</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 GetCustomerFeedResourceNamesAsync()
        {
            // Create client
            CustomerFeedServiceClient customerFeedServiceClient = await CustomerFeedServiceClient.CreateAsync();

            // Initialize request argument(s)
            CustomerFeedName resourceName = CustomerFeedName.FromCustomerFeed("[CUSTOMER_ID]", "[FEED_ID]");
            // Make the request
            CustomerFeed response = await customerFeedServiceClient.GetCustomerFeedAsync(resourceName);
        }
Exemplo n.º 3
0
        /// <summary>Snippet for GetCustomerFeedAsync</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 GetCustomerFeedRequestObjectAsync()
        {
            // Create client
            CustomerFeedServiceClient customerFeedServiceClient = await CustomerFeedServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetCustomerFeedRequest request = new GetCustomerFeedRequest
            {
                ResourceNameAsCustomerFeedName = CustomerFeedName.FromCustomerCustomerFeed("[CUSTOMER]", "[CUSTOMER_FEED]"),
            };
            // Make the request
            CustomerFeed response = await customerFeedServiceClient.GetCustomerFeedAsync(request);
        }
        /// <summary>Snippet for GetCustomerFeedAsync</summary>
        public async Task GetCustomerFeedAsync()
        {
            // Snippet: GetCustomerFeedAsync(string, CallSettings)
            // Additional: GetCustomerFeedAsync(string, CancellationToken)
            // Create client
            CustomerFeedServiceClient customerFeedServiceClient = await CustomerFeedServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "customers/[CUSTOMER_ID]/customerFeeds/[FEED_ID]";
            // Make the request
            CustomerFeed response = await customerFeedServiceClient.GetCustomerFeedAsync(resourceName);

            // End snippet
        }
        /// <summary>Snippet for GetCustomerFeedAsync</summary>
        public async Task GetCustomerFeedResourceNamesAsync()
        {
            // Snippet: GetCustomerFeedAsync(CustomerFeedName, CallSettings)
            // Additional: GetCustomerFeedAsync(CustomerFeedName, CancellationToken)
            // Create client
            CustomerFeedServiceClient customerFeedServiceClient = await CustomerFeedServiceClient.CreateAsync();

            // Initialize request argument(s)
            CustomerFeedName resourceName = CustomerFeedName.FromCustomerFeed("[CUSTOMER_ID]", "[FEED_ID]");
            // Make the request
            CustomerFeed response = await customerFeedServiceClient.GetCustomerFeedAsync(resourceName);

            // End snippet
        }
        /// <summary>Snippet for GetCustomerFeedAsync</summary>
        public async Task GetCustomerFeedRequestObjectAsync()
        {
            // Snippet: GetCustomerFeedAsync(GetCustomerFeedRequest, CallSettings)
            // Additional: GetCustomerFeedAsync(GetCustomerFeedRequest, CancellationToken)
            // Create client
            CustomerFeedServiceClient customerFeedServiceClient = await CustomerFeedServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetCustomerFeedRequest request = new GetCustomerFeedRequest
            {
                ResourceNameAsCustomerFeedName = CustomerFeedName.FromCustomerCustomerFeed("[CUSTOMER]", "[CUSTOMER_FEED]"),
            };
            // Make the request
            CustomerFeed response = await customerFeedServiceClient.GetCustomerFeedAsync(request);

            // End snippet
        }