/// <summary>Snippet for PatchAsync</summary> public async Task PatchAsync() { // Snippet: PatchAsync(string, string, Image, CallSettings) // Additional: PatchAsync(string, string, Image, CancellationToken) // Create client ImagesClient imagesClient = await ImagesClient.CreateAsync(); // Initialize request argument(s) string project = ""; string image = ""; Image imageResource = new Image(); // Make the request Operation response = await imagesClient.PatchAsync(project, image, imageResource); // End snippet }
/// <summary>Snippet for PatchAsync</summary> public async Task PatchRequestObjectAsync() { // Snippet: PatchAsync(PatchImageRequest, CallSettings) // Additional: PatchAsync(PatchImageRequest, CancellationToken) // Create client ImagesClient imagesClient = await ImagesClient.CreateAsync(); // Initialize request argument(s) PatchImageRequest request = new PatchImageRequest { RequestId = "", Image = "", Project = "", ImageResource = new Image(), }; // Make the request Operation response = await imagesClient.PatchAsync(request); // End snippet }