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