/// <summary>Snippet for Insert</summary> public void Insert() { // Snippet: Insert(string, string, Disk, CallSettings) // Create client RegionDisksClient regionDisksClient = RegionDisksClient.Create(); // Initialize request argument(s) string project = ""; string region = ""; Disk diskResource = new Disk(); // Make the request Operation response = regionDisksClient.Insert(project, region, diskResource); // End snippet }
/// <summary>Snippet for Insert</summary> public void InsertRequestObject() { // Snippet: Insert(InsertRegionDiskRequest, CallSettings) // Create client RegionDisksClient regionDisksClient = RegionDisksClient.Create(); // Initialize request argument(s) InsertRegionDiskRequest request = new InsertRegionDiskRequest { DiskResource = new Disk(), RequestId = "", SourceImage = "", Region = "", Project = "", }; // Make the request Operation response = regionDisksClient.Insert(request); // End snippet }