This is the first version of this package to depend on GAX v4.
There are some breaking changes, both in GAX v4 and in the generated
code. The changes that aren't specific to any given API aredescribed in the Google Cloud
documentation.
We don't anticipate any changes to most customer code, but pleasefile a
GitHub issueif you run into problems.
The most important change in this release is the use of the Grpc.Net.Client package
for gRPC communication, instead of Grpc.Core. When using .NET Core 3.1 or .NET 5.0+
this should lead to a smaller installation footprint and greater compatibility (e.g.
with Apple M1 chips). Any significant change in a core component comes with the risk
of incompatibility, however - so again, please let us know if you encounter any
issues.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe latest version of the Google.Cloud.OrgPolicy.V2 package is 2.7.0, released on 2024-09-26, and it introduces support for adding constraints to new method types REMOVE_GRANTS and GOVERN_TAGS.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.6.0, released on 2024-05-14, added IServiceCollection extension methods for client registration that requires an IServiceProvider.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.3.0, released on 2024-01-08, introduced custom constraints CRUD APIs, along with etag support in the Org Policy Update/Delete API and updated documentation comments.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.0.0, released on 2022-06-08, marked a major update with a dependency on GAX v4, featuring the use of the Grpc.Net.Client package for gRPC communication and some breaking changes that are detailed in the Google Cloud documentation.\u003c/p\u003e\n"],["\u003cp\u003eVersion 1.2.0 deprecated AlternativePolicySpec.\u003c/p\u003e\n"]]],[],null,["Version latestkeyboard_arrow_down\n\n- [2.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/latest/history)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/2.7.0/history)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/2.6.0/history)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/2.5.0/history)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/2.4.0/history)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/2.3.0/history)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/2.2.0/history)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/2.1.0/history)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/2.0.0/history)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/1.2.0/history)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/1.1.0/history)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.OrgPolicy.V2/1.0.0/history) \n\nVersion history\n===============\n\nVersion 2.8.0, released 2025-04-23\n----------------------------------\n\n### New features\n\n- Add managed constraints new fields (e.g. parameter) ([commit 9030f87](https://github.com/googleapis/google-cloud-dotnet/commit/9030f87e6b6cebd588b23b86ba9e24eb1ae11141))\n\n### Documentation improvements\n\n- Updated comments ([commit 9030f87](https://github.com/googleapis/google-cloud-dotnet/commit/9030f87e6b6cebd588b23b86ba9e24eb1ae11141))\n\nVersion 2.7.0, released 2024-09-26\n----------------------------------\n\n### New features\n\n- Support adding constraints to new method types REMOVE_GRANTS and GOVERN_TAGS ([commit f49e16e](https://github.com/googleapis/google-cloud-dotnet/commit/f49e16e0aff289c5d4932bd6b503ac5e1cf739c8))\n\nVersion 2.6.0, released 2024-05-14\n----------------------------------\n\n### New features\n\n- Add IServiceCollection extension methods for client registration where an IServiceProvider is required. ([commit 022fab2](https://github.com/googleapis/google-cloud-dotnet/commit/022fab203f28fb9c608972af7f8b83f571ae5694))\n\nVersion 2.5.0, released 2024-03-26\n----------------------------------\n\n### New features\n\n- Change netstandard2.1 target to netstandard2.0 ([commit 82bea85](https://github.com/googleapis/google-cloud-dotnet/commit/82bea850661975b9750ac30753528cc9d2e05240))\n\nVersion 2.4.0, released 2024-02-28\n----------------------------------\n\nNo API surface changes; just dependency updates.\n\nVersion 2.3.0, released 2024-01-08\n----------------------------------\n\n### New features\n\n- Add custom constraints CRUD APIs, proper etag support in Org Policy Update/Delete API ([commit 258a6d5](https://github.com/googleapis/google-cloud-dotnet/commit/258a6d53808c793c4c1883da808c75a9ddc39b35))\n\n### Documentation improvements\n\n- Updated comments ([commit 258a6d5](https://github.com/googleapis/google-cloud-dotnet/commit/258a6d53808c793c4c1883da808c75a9ddc39b35))\n\nVersion 2.2.0, released 2023-01-19\n----------------------------------\n\n### New features\n\n- Support for OrgPolicy dry runs ([commit edfcb7b](https://github.com/googleapis/google-cloud-dotnet/commit/edfcb7b10fc124d1847e4208a68e7aa9b084c547))\n\nVersion 2.1.0, released 2023-01-18\n----------------------------------\n\n### New features\n\n- Enable REST transport in C# ([commit 0f8560c](https://github.com/googleapis/google-cloud-dotnet/commit/0f8560c840725bf41bc060c8beecafc7d99f38eb))\n\nVersion 2.0.0, released 2022-06-08\n----------------------------------\n\nThis is the first version of this package to depend on GAX v4.\n\nThere are some breaking changes, both in GAX v4 and in the generated\ncode. The changes that aren't specific to any given API are [described in the Google Cloud\ndocumentation](https://cloud.google.com/dotnet/docs/reference/help/breaking-gax4).\nWe don't anticipate any changes to most customer code, but please [file a\nGitHub issue](https://github.com/googleapis/google-cloud-dotnet/issues/new/choose)\nif you run into problems.\n\nThe most important change in this release is the use of the Grpc.Net.Client package\nfor gRPC communication, instead of Grpc.Core. When using .NET Core 3.1 or .NET 5.0+\nthis should lead to a smaller installation footprint and greater compatibility (e.g.\nwith Apple M1 chips). Any significant change in a core component comes with the risk\nof incompatibility, however - so again, please let us know if you encounter any\nissues.\n\nVersion 1.2.0, released 2022-02-22\n----------------------------------\n\n### Deprecation\n\n- Deprecates AlternativePolicySpec ([commit 6b3d63e](https://github.com/googleapis/google-cloud-dotnet/commit/6b3d63e5837e1f09a1cd67a162b95e1d55ec0a95))\n\nVersion 1.1.0, released 2021-08-31\n----------------------------------\n\n- [Commit ac367e2](https://github.com/googleapis/google-cloud-dotnet/commit/ac367e2): feat: Regenerate all APIs to support self-signed JWTs\n\nVersion 1.0.0, released 2021-03-10\n----------------------------------\n\nNo API surface change since 1.0.0-beta01.\n\nVersion 1.0.0-beta01, released 2021-02-09\n-----------------------------------------\n\nInitial release."]]