/// <summary>Snippet for GetNatMappingInfo</summary> public void GetNatMappingInfo() { // Snippet: GetNatMappingInfo(string, string, string, CallSettings) // Create client RoutersClient routersClient = RoutersClient.Create(); // Initialize request argument(s) string project = ""; string region = ""; string router = ""; // Make the request VmEndpointNatMappingsList response = routersClient.GetNatMappingInfo(project, region, router); // End snippet }
/// <summary>Snippet for GetNatMappingInfoAsync</summary> public async Task GetNatMappingInfoAsync() { // Snippet: GetNatMappingInfoAsync(string, string, string, CallSettings) // Additional: GetNatMappingInfoAsync(string, string, string, CancellationToken) // Create client RoutersClient routersClient = await RoutersClient.CreateAsync(); // Initialize request argument(s) string project = ""; string region = ""; string router = ""; // Make the request VmEndpointNatMappingsList response = await routersClient.GetNatMappingInfoAsync(project, region, router); // End snippet }
/// <summary>Snippet for GetNatMappingInfo</summary> public void GetNatMappingInfoRequestObject() { // Snippet: GetNatMappingInfo(GetNatMappingInfoRoutersRequest, CallSettings) // Create client RoutersClient routersClient = RoutersClient.Create(); // Initialize request argument(s) GetNatMappingInfoRoutersRequest request = new GetNatMappingInfoRoutersRequest { PageToken = "", MaxResults = 0U, Filter = "", Region = "", Router = "", OrderBy = "", Project = "", ReturnPartialSuccess = false, }; // Make the request VmEndpointNatMappingsList response = routersClient.GetNatMappingInfo(request); // End snippet }
/// <summary>Snippet for GetNatMappingInfoAsync</summary> public async Task GetNatMappingInfoRequestObjectAsync() { // Snippet: GetNatMappingInfoAsync(GetNatMappingInfoRoutersRequest, CallSettings) // Additional: GetNatMappingInfoAsync(GetNatMappingInfoRoutersRequest, CancellationToken) // Create client RoutersClient routersClient = await RoutersClient.CreateAsync(); // Initialize request argument(s) GetNatMappingInfoRoutersRequest request = new GetNatMappingInfoRoutersRequest { PageToken = "", MaxResults = 0U, Filter = "", Region = "", Router = "", OrderBy = "", Project = "", ReturnPartialSuccess = false, }; // Make the request VmEndpointNatMappingsList response = await routersClient.GetNatMappingInfoAsync(request); // End snippet }