/// <summary>Snippet for Insert</summary> public void Insert() { // Snippet: Insert(string, ExternalVpnGateway, CallSettings) // Create client ExternalVpnGatewaysClient externalVpnGatewaysClient = ExternalVpnGatewaysClient.Create(); // Initialize request argument(s) string project = ""; ExternalVpnGateway externalVpnGatewayResource = new ExternalVpnGateway(); // Make the request Operation response = externalVpnGatewaysClient.Insert(project, externalVpnGatewayResource); // End snippet }
/// <summary>Snippet for Insert</summary> public void InsertRequestObject() { // Snippet: Insert(InsertExternalVpnGatewayRequest, CallSettings) // Create client ExternalVpnGatewaysClient externalVpnGatewaysClient = ExternalVpnGatewaysClient.Create(); // Initialize request argument(s) InsertExternalVpnGatewayRequest request = new InsertExternalVpnGatewayRequest { RequestId = "", Project = "", ExternalVpnGatewayResource = new ExternalVpnGateway(), }; // Make the request Operation response = externalVpnGatewaysClient.Insert(request); // End snippet }