/// <summary>Snippet for GetAsync</summary> public async Task GetAsync() { // Snippet: GetAsync(string, string, string, CallSettings) // Additional: GetAsync(string, string, string, CancellationToken) // Create client RegionTargetHttpProxiesClient regionTargetHttpProxiesClient = await RegionTargetHttpProxiesClient.CreateAsync(); // Initialize request argument(s) string project = ""; string region = ""; string targetHttpProxy = ""; // Make the request TargetHttpProxy response = await regionTargetHttpProxiesClient.GetAsync(project, region, targetHttpProxy); // End snippet }
/// <summary>Snippet for GetAsync</summary> public async Task GetRequestObjectAsync() { // Snippet: GetAsync(GetRegionTargetHttpProxyRequest, CallSettings) // Additional: GetAsync(GetRegionTargetHttpProxyRequest, CancellationToken) // Create client RegionTargetHttpProxiesClient regionTargetHttpProxiesClient = await RegionTargetHttpProxiesClient.CreateAsync(); // Initialize request argument(s) GetRegionTargetHttpProxyRequest request = new GetRegionTargetHttpProxyRequest { Region = "", TargetHttpProxy = "", Project = "", }; // Make the request TargetHttpProxy response = await regionTargetHttpProxiesClient.GetAsync(request); // End snippet }