/// <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 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 GetFeedItemSet() { // Create client FeedItemSetServiceClient feedItemSetServiceClient = FeedItemSetServiceClient.Create(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER_ID]/feedItemSets/[FEED_ID]~[FEED_ITEM_SET_ID]"; // Make the request FeedItemSet response = feedItemSetServiceClient.GetFeedItemSet(resourceName); }
/// <summary>Snippet for MutateFeedItemSets</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void MutateFeedItemSets() { // Create client FeedItemSetServiceClient feedItemSetServiceClient = FeedItemSetServiceClient.Create(); // Initialize request argument(s) string customerId = ""; IEnumerable <FeedItemSetOperation> operations = new FeedItemSetOperation[] { new FeedItemSetOperation(), }; // Make the request MutateFeedItemSetsResponse response = feedItemSetServiceClient.MutateFeedItemSets(customerId, operations); }
/// <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 }
/// <summary>Snippet for MutateFeedItemSets</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void MutateFeedItemSetsRequestObject() { // Create client FeedItemSetServiceClient feedItemSetServiceClient = FeedItemSetServiceClient.Create(); // Initialize request argument(s) MutateFeedItemSetsRequest request = new MutateFeedItemSetsRequest { CustomerId = "", Operations = { new FeedItemSetOperation(), }, PartialFailure = false, ValidateOnly = false, }; // Make the request MutateFeedItemSetsResponse response = feedItemSetServiceClient.MutateFeedItemSets(request); }