Bereshit / Genesis 30:22 · Pshat
וַיִּזְכֹּר אֱלֹהִים אֶת־רָחֵל וַיִּשְׁמַע אֵלֶיהָ אֱלֹהִים וַיִּפְתַּח אֶת־רַחְמָהּ׃
And the Almighty remembered Rachel, and the Almighty listened to her and opened her womb.
Pshat פְּשָׁט
What He remembered
Good that a person did quietly was seen by no one, but it is not lost. Rashi explains what exactly the Almighty "remembered" of Rachel. And Radak speaks of how long she waited.
Rashi explains what the Almighty remembered: Rachel gave her sister the signs she had agreed on with Yaakov (Jacob), so that Leah would not be shamed on the first night. And Rachel also feared that Yaakov would send her away since she had no children, and she would fall to Esav (Esau). Esav too thought of this when he heard she had no children: so says an ancient poet in a prayer for Rosh Hashanah. Radak adds: it seemed she had been forgotten, since all the others bore and she did not. God saw her humiliation and remembered her, and the time came when He answered all her prayers.
How Rashi and Radak explain it
Rashi And the Almighty remembered Rachel
He remembered for her that she had handed her signs to her sister. And that she grieved lest she fall to the lot of Esav: perhaps Yaakov would send her away, since she had no sons. And even the wicked Esav thought so in his heart when he heard she had no sons. This is what the author of the liturgical hymn (for the morning of Rosh Hashanah) said: "The red one, seeing she did not labour in birth, wished to take her for himself, and she was alarmed."
Radak And the Almighty remembered
After it seemed that she was forgotten, for all of them bore and she did not bear, God saw her humiliation and remembered her.
And He listened.
To all the prayers she had prayed, and now the time had come when God answered her prayer.
Takeaway
The signs: by the midrash (Megillah 13b), Yaakov and Rachel agreed on secret signs so that Lavan would not put another in her place. When Rachel saw Leah being led in, she gave her the signs so that her sister would not be shamed.
"The red one" (אַדְמוֹנִי): so the Torah calls Esav at his birth (Bereshit / Genesis 25:25). Rashi quotes a line from a hymn sung on Rosh Hashanah, for by the midrash Rachel was remembered on Rosh Hashanah, like Sarah and Channah.
The verb "remember" said of God does not mean He had forgotten. It means the time to act had come.