/// <summary>Snippet for GetFeedItemSetLinkAsync</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 GetFeedItemSetLinkAsync() { // Create client FeedItemSetLinkServiceClient feedItemSetLinkServiceClient = await FeedItemSetLinkServiceClient.CreateAsync(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER_ID]/feedItemSetLinks/[FEED_ID]~[FEED_ITEM_SET_ID]~[FEED_ITEM_ID]"; // Make the request FeedItemSetLink response = await feedItemSetLinkServiceClient.GetFeedItemSetLinkAsync(resourceName); }
/// <summary>Snippet for GetFeedItemSetLinkAsync</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 GetFeedItemSetLinkResourceNamesAsync() { // Create client FeedItemSetLinkServiceClient feedItemSetLinkServiceClient = await FeedItemSetLinkServiceClient.CreateAsync(); // Initialize request argument(s) FeedItemSetLinkName resourceName = FeedItemSetLinkName.FromCustomerFeedFeedItemSetFeedItem("[CUSTOMER_ID]", "[FEED_ID]", "[FEED_ITEM_SET_ID]", "[FEED_ITEM_ID]"); // Make the request FeedItemSetLink response = await feedItemSetLinkServiceClient.GetFeedItemSetLinkAsync(resourceName); }
/// <summary>Snippet for GetFeedItemSetLinkAsync</summary> public async Task GetFeedItemSetLinkAsync() { // Snippet: GetFeedItemSetLinkAsync(string, CallSettings) // Additional: GetFeedItemSetLinkAsync(string, CancellationToken) // Create client FeedItemSetLinkServiceClient feedItemSetLinkServiceClient = await FeedItemSetLinkServiceClient.CreateAsync(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER_ID]/feedItemSetLinks/[FEED_ID]~[FEED_ITEM_SET_ID]~[FEED_ITEM_ID]"; // Make the request FeedItemSetLink response = await feedItemSetLinkServiceClient.GetFeedItemSetLinkAsync(resourceName); // End snippet }
/// <summary>Snippet for GetFeedItemSetLinkAsync</summary> public async Task GetFeedItemSetLinkResourceNamesAsync() { // Snippet: GetFeedItemSetLinkAsync(FeedItemSetLinkName, CallSettings) // Additional: GetFeedItemSetLinkAsync(FeedItemSetLinkName, CancellationToken) // Create client FeedItemSetLinkServiceClient feedItemSetLinkServiceClient = await FeedItemSetLinkServiceClient.CreateAsync(); // Initialize request argument(s) FeedItemSetLinkName resourceName = FeedItemSetLinkName.FromCustomerFeedFeedItemSetFeedItem("[CUSTOMER_ID]", "[FEED_ID]", "[FEED_ITEM_SET_ID]", "[FEED_ITEM_ID]"); // Make the request FeedItemSetLink response = await feedItemSetLinkServiceClient.GetFeedItemSetLinkAsync(resourceName); // 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 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 }