/// <summary>Snippet for GetFeedItemSet</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetFeedItemSetResourceNames()
 {
     // Create client
     FeedItemSetServiceClient feedItemSetServiceClient = FeedItemSetServiceClient.Create();
     // Initialize request argument(s)
     FeedItemSetName resourceName = FeedItemSetName.FromCustomerFeedFeedItemSet("[CUSTOMER_ID]", "[FEED_ID]", "[FEED_ITEM_SET_ID]");
     // Make the request
     FeedItemSet response = feedItemSetServiceClient.GetFeedItemSet(resourceName);
 }
        /// <summary>Snippet for GetFeedItemSetAsync</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 GetFeedItemSetRequestObjectAsync()
        {
            // Create client
            FeedItemSetServiceClient feedItemSetServiceClient = await FeedItemSetServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetFeedItemSetRequest request = new GetFeedItemSetRequest
            {
                ResourceNameAsFeedItemSetName = FeedItemSetName.FromCustomerFeedFeedItemSet("[CUSTOMER_ID]", "[FEED_ID]", "[FEED_ITEM_SET_ID]"),
            };
            // Make the request
            FeedItemSet response = await feedItemSetServiceClient.GetFeedItemSetAsync(request);
        }
示例#3
0
 /// <summary>Snippet for GetFeedItemSet</summary>
 public void GetFeedItemSetRequestObject()
 {
     // Snippet: GetFeedItemSet(GetFeedItemSetRequest, CallSettings)
     // Create client
     FeedItemSetServiceClient feedItemSetServiceClient = FeedItemSetServiceClient.Create();
     // Initialize request argument(s)
     GetFeedItemSetRequest request = new GetFeedItemSetRequest
     {
         ResourceNameAsFeedItemSetName = FeedItemSetName.FromCustomerFeedFeedItemSet("[CUSTOMER_ID]", "[FEED_ID]", "[FEED_ITEM_SET_ID]"),
     };
     // Make the request
     FeedItemSet response = feedItemSetServiceClient.GetFeedItemSet(request);
     // End snippet
 }
示例#4
0
        /// <summary>Snippet for GetFeedItemSetAsync</summary>
        public async Task GetFeedItemSetResourceNamesAsync()
        {
            // Snippet: GetFeedItemSetAsync(FeedItemSetName, CallSettings)
            // Additional: GetFeedItemSetAsync(FeedItemSetName, CancellationToken)
            // Create client
            FeedItemSetServiceClient feedItemSetServiceClient = await FeedItemSetServiceClient.CreateAsync();

            // Initialize request argument(s)
            FeedItemSetName resourceName = FeedItemSetName.FromCustomerFeedFeedItemSet("[CUSTOMER_ID]", "[FEED_ID]", "[FEED_ITEM_SET_ID]");
            // Make the request
            FeedItemSet response = await feedItemSetServiceClient.GetFeedItemSetAsync(resourceName);

            // End snippet
        }