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