diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.Polyfills.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.Polyfills.g.cs
index 39a6993..9359e76 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.Polyfills.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.Polyfills.g.cs
@@ -53,6 +53,10 @@ public static partial class AutoSdkPolyfills
///
/// Creates a JSON request content instance.
///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
public static global::System.Net.Http.HttpContent CreateJsonContent(
T inputValue,
string mediaType,
@@ -124,6 +128,10 @@ public static partial class AutoSdkPolyfills
///
/// Reads JSON content into the specified type using serializer options.
///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
public static async global::System.Threading.Tasks.Task ReadFromJsonAsync(
this global::System.Net.Http.HttpContent content,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions,