/// <summary>Snippet for UpdateFulfillmentAsync</summary> public async Task UpdateFulfillmentAsync() { // Snippet: UpdateFulfillmentAsync(Fulfillment, FieldMask, CallSettings) // Additional: UpdateFulfillmentAsync(Fulfillment, FieldMask, CancellationToken) // Create client FulfillmentsClient fulfillmentsClient = await FulfillmentsClient.CreateAsync(); // Initialize request argument(s) Fulfillment fulfillment = new Fulfillment(); FieldMask updateMask = new FieldMask(); // Make the request Fulfillment response = await fulfillmentsClient.UpdateFulfillmentAsync(fulfillment, updateMask); // End snippet }
/// <summary>Snippet for UpdateFulfillmentAsync</summary> public async Task UpdateFulfillmentRequestObjectAsync() { // Snippet: UpdateFulfillmentAsync(UpdateFulfillmentRequest, CallSettings) // Additional: UpdateFulfillmentAsync(UpdateFulfillmentRequest, CancellationToken) // Create client FulfillmentsClient fulfillmentsClient = await FulfillmentsClient.CreateAsync(); // Initialize request argument(s) UpdateFulfillmentRequest request = new UpdateFulfillmentRequest { Fulfillment = new Fulfillment(), UpdateMask = new FieldMask(), }; // Make the request Fulfillment response = await fulfillmentsClient.UpdateFulfillmentAsync(request); // End snippet }