Skip to content

feat: Add Caches module to Dotnet SDK (create, get, delete, update, list) #393

feat: Add Caches module to Dotnet SDK (create, get, delete, update, list)

feat: Add Caches module to Dotnet SDK (create, get, delete, update, list) #393

Triggered via pull request November 21, 2025 22:59
Status Success
Total duration 1m 6s
Artifacts

dotnet-tests.yml

on: pull_request
unit-e2e-tests
1m 2s
unit-e2e-tests
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
unit-e2e-tests: Google.GenAI.E2E.Tests/Caches/GetCacheTest.cs#L112
Possible null reference argument for parameter 'name' in 'Task<CachedContent> Caches.GetAsync(string name, GetCachedContentConfig? config = null)'.
unit-e2e-tests: Google.GenAI.E2E.Tests/Caches/DeleteCacheTest.cs#L73
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/Caches/DeleteCacheTest.cs#L70
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/Caches/CreateCacheTest.cs#L73
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/Caches/GetCacheTest.cs#L73
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/Caches/ListCacheTest.cs#L73
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/Caches/GetCacheTest.cs#L70
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/Caches/CreateCacheTest.cs#L70
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/Caches/ListCacheTest.cs#L70
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/MockCredential.cs#L29
Cannot convert null literal to non-nullable reference type.
unit-e2e-tests: Google.GenAI.E2E.Tests/Caches/ListCacheTest.cs#L70
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/Caches/GetCacheTest.cs#L73
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/Caches/GetCacheTest.cs#L70
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/Caches/DeleteCacheTest.cs#L73
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/Caches/DeleteCacheTest.cs#L70
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/Caches/UpdateCacheTest.cs#L73
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/Caches/UpdateCacheTest.cs#L70
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/Caches/CreateCacheTest.cs#L73
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/Caches/CreateCacheTest.cs#L70
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI.E2E.Tests/MockCredential.cs#L29
Cannot convert null literal to non-nullable reference type.
unit-e2e-tests: Google.GenAI/Caches.cs#L88
Possible null reference argument for parameter 'value' in 'void Common.SetValueByPath(JsonObject jsonObject, string[] path, object value)'.
unit-e2e-tests: Google.GenAI/Caches.cs#L83
Possible null reference argument for parameter 'value' in 'void Common.SetValueByPath(JsonObject jsonObject, string[] path, object value)'.
unit-e2e-tests: Google.GenAI/Caches.cs#L78
Possible null reference argument for parameter 'value' in 'void Common.SetValueByPath(JsonObject jsonObject, string[] path, object value)'.
unit-e2e-tests: Google.GenAI/Caches.cs#L66
Possible null reference argument for parameter 'value' in 'void Common.SetValueByPath(JsonObject jsonObject, string[] path, object value)'.
unit-e2e-tests: Google.GenAI/Caches.cs#L59
Possible null reference argument for parameter 'fromObject' in 'JsonNode Caches.PartToMldev(JsonNode fromObject, JsonObject parentObject)'.
unit-e2e-tests: Google.GenAI/Caches.cs#L58
Dereference of a possibly null reference.
unit-e2e-tests: Google.GenAI/Caches.cs#L55
Converting null literal or possible null value to non-nullable type.
unit-e2e-tests: Google.GenAI/Caches.cs#L45
Possible null reference argument for parameter 'value' in 'void Common.SetValueByPath(JsonObject jsonObject, string[] path, object value)'.
unit-e2e-tests: Google.GenAI/Caches.cs#L36
Possible null reference argument for parameter 'value' in 'void Common.SetValueByPath(JsonObject jsonObject, string[] path, object value)'.
unit-e2e-tests: Google.GenAI/ApiClient.cs#L142
The EnumeratorCancellationAttribute applied to parameter 'cancellationToken' will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable