code: def test_make_generate_message_request_nested(
      self,
  ):
      request0 = discuss._make_generate_message_request(
          **{
              "model": "models/Dave",
              "context": "you are a cat",
              "examples": ["hello", "meow", "are you hungry?", "meow!"],
              "messages": "Please catch that mouse.",
              "temperature": 0.2,
              "candidate_count": 7,
          }
      )
      request1 = discuss._make_generate_message_request(
          **{
              "model": "models/Dave",
              "prompt": {
                  "context": "you are a cat",
                  "examples": [
                      "hello",
                      "meow",
                      "are you hungry?",
                      "meow!",
                  ],
                  "messages": "Please catch that mouse.",
              },
              "temperature": 0.2,
              "candidate_count": 7,
          }
      )
  
      self.assertIsInstance(request0, glm.GenerateMessageRequest)
      self.assertIsInstance(request1, glm.GenerateMessageRequest)
      self.assertEqual(request0, request1)
  
imports: import copy
  import unittest.mock
  import google.ai.generativelanguage
  from google.generativeai import discuss
  from google.generativeai import client
  import google.generativeai
  from google.generativeai.types import safety_types
  from absl.testing import absltest
  from absl.testing import parameterized
label_desc: Use image node_id 9 for calling the UnitTests obj's underlying member method code with example usage: obj.test_make_generate_message_request_nested() without return types