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