---
title: "Aspose::Email::Clients::Google::GmailMessageInfo::set_Id method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.google/gmailmessageinfo/set_id/"
product: "Aspose.Email for C++"
description: "The immutable ID of the message."
---


## set_Id {#set_id}

The immutable ID of the message.

**Returns:** void Aspose::Email::Clients::Google::

```cpp
set_Id(System::String value)
```

| Parameter | Description |
| --- | --- |
| value |  |

