/// <summary>Snippet for MutateFeedItemSetLinksAsync</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 MutateFeedItemSetLinksAsync() { // Create client FeedItemSetLinkServiceClient feedItemSetLinkServiceClient = await FeedItemSetLinkServiceClient.CreateAsync(); // Initialize request argument(s) string customerId = ""; IEnumerable <FeedItemSetLinkOperation> operations = new FeedItemSetLinkOperation[] { new FeedItemSetLinkOperation(), }; // Make the request MutateFeedItemSetLinksResponse response = await feedItemSetLinkServiceClient.MutateFeedItemSetLinksAsync(customerId, operations); }
/// <summary>Snippet for MutateFeedItemSetLinksAsync</summary> public async Task MutateFeedItemSetLinksAsync() { // Snippet: MutateFeedItemSetLinksAsync(string, IEnumerable<FeedItemSetLinkOperation>, CallSettings) // Additional: MutateFeedItemSetLinksAsync(string, IEnumerable<FeedItemSetLinkOperation>, CancellationToken) // Create client FeedItemSetLinkServiceClient feedItemSetLinkServiceClient = await FeedItemSetLinkServiceClient.CreateAsync(); // Initialize request argument(s) string customerId = ""; IEnumerable <FeedItemSetLinkOperation> operations = new FeedItemSetLinkOperation[] { new FeedItemSetLinkOperation(), }; // Make the request MutateFeedItemSetLinksResponse response = await feedItemSetLinkServiceClient.MutateFeedItemSetLinksAsync(customerId, operations); // End snippet }
/// <summary>Snippet for MutateFeedItemSetLinksAsync</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 MutateFeedItemSetLinksRequestObjectAsync() { // Create client FeedItemSetLinkServiceClient feedItemSetLinkServiceClient = await FeedItemSetLinkServiceClient.CreateAsync(); // Initialize request argument(s) MutateFeedItemSetLinksRequest request = new MutateFeedItemSetLinksRequest { CustomerId = "", Operations = { new FeedItemSetLinkOperation(), }, PartialFailure = false, ValidateOnly = false, }; // Make the request MutateFeedItemSetLinksResponse response = await feedItemSetLinkServiceClient.MutateFeedItemSetLinksAsync(request); }
/// <summary>Snippet for MutateFeedItemSetLinksAsync</summary> public async Task MutateFeedItemSetLinksRequestObjectAsync() { // Snippet: MutateFeedItemSetLinksAsync(MutateFeedItemSetLinksRequest, CallSettings) // Additional: MutateFeedItemSetLinksAsync(MutateFeedItemSetLinksRequest, CancellationToken) // Create client FeedItemSetLinkServiceClient feedItemSetLinkServiceClient = await FeedItemSetLinkServiceClient.CreateAsync(); // Initialize request argument(s) MutateFeedItemSetLinksRequest request = new MutateFeedItemSetLinksRequest { CustomerId = "", Operations = { new FeedItemSetLinkOperation(), }, PartialFailure = false, ValidateOnly = false, }; // Make the request MutateFeedItemSetLinksResponse response = await feedItemSetLinkServiceClient.MutateFeedItemSetLinksAsync(request); // End snippet }