/// <summary>Snippet for Insert</summary> public void Insert() { // Snippet: Insert(string, string, TargetPool, CallSettings) // Create client TargetPoolsClient targetPoolsClient = TargetPoolsClient.Create(); // Initialize request argument(s) string project = ""; string region = ""; TargetPool targetPoolResource = new TargetPool(); // Make the request Operation response = targetPoolsClient.Insert(project, region, targetPoolResource); // End snippet }
/// <summary>Snippet for Insert</summary> public void InsertRequestObject() { // Snippet: Insert(InsertTargetPoolRequest, CallSettings) // Create client TargetPoolsClient targetPoolsClient = TargetPoolsClient.Create(); // Initialize request argument(s) InsertTargetPoolRequest request = new InsertTargetPoolRequest { RequestId = "", TargetPoolResource = new TargetPool(), Region = "", Project = "", }; // Make the request Operation response = targetPoolsClient.Insert(request); // End snippet }