/// <summary>Snippet for MutateFeedsAsync</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 MutateFeedsAsync() { // Create client FeedServiceClient feedServiceClient = await FeedServiceClient.CreateAsync(); // Initialize request argument(s) string customerId = ""; IEnumerable <FeedOperation> operations = new FeedOperation[] { new FeedOperation(), }; // Make the request MutateFeedsResponse response = await feedServiceClient.MutateFeedsAsync(customerId, operations); }
/// <summary>Snippet for MutateFeedsAsync</summary> public async Task MutateFeedsAsync() { // Snippet: MutateFeedsAsync(string, IEnumerable<FeedOperation>, CallSettings) // Additional: MutateFeedsAsync(string, IEnumerable<FeedOperation>, CancellationToken) // Create client FeedServiceClient feedServiceClient = await FeedServiceClient.CreateAsync(); // Initialize request argument(s) string customerId = ""; IEnumerable <FeedOperation> operations = new FeedOperation[] { new FeedOperation(), }; // Make the request MutateFeedsResponse response = await feedServiceClient.MutateFeedsAsync(customerId, operations); // End snippet }
/// <summary>Snippet for MutateFeedsAsync</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 MutateFeedsRequestObjectAsync() { // Create client FeedServiceClient feedServiceClient = await FeedServiceClient.CreateAsync(); // Initialize request argument(s) MutateFeedsRequest request = new MutateFeedsRequest { CustomerId = "", Operations = { new FeedOperation(), }, PartialFailure = false, ValidateOnly = false, }; // Make the request MutateFeedsResponse response = await feedServiceClient.MutateFeedsAsync(request); }
/// <summary>Snippet for MutateFeedsAsync</summary> public async Task MutateFeedsRequestObjectAsync() { // Snippet: MutateFeedsAsync(MutateFeedsRequest, CallSettings) // Additional: MutateFeedsAsync(MutateFeedsRequest, CancellationToken) // Create client FeedServiceClient feedServiceClient = await FeedServiceClient.CreateAsync(); // Initialize request argument(s) MutateFeedsRequest request = new MutateFeedsRequest { CustomerId = "", Operations = { new FeedOperation(), }, PartialFailure = false, ValidateOnly = false, }; // Make the request MutateFeedsResponse response = await feedServiceClient.MutateFeedsAsync(request); // End snippet }