public sealed class PolicyControllerState : IMessage<PolicyControllerState>, IEquatable<PolicyControllerState>, IDeepCloneable<PolicyControllerState>, IBufferMessage, IMessage
Reference documentation and code samples for the GKE Hub v1 API class PolicyControllerState.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003ePolicyControllerState\u003c/code\u003e class is 2.5.0, within the \u003ccode\u003eGoogle.Cloud.GkeHub.V1\u003c/code\u003e API.\u003c/p\u003e\n"],["\u003cp\u003eThis class represents the state of the Policy Controller in Google Kubernetes Engine (GKE) Hub.\u003c/p\u003e\n"],["\u003cp\u003eIt implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties such as \u003ccode\u003eDeploymentState\u003c/code\u003e, which gives the state of the policy controller installation, and \u003ccode\u003eVersion\u003c/code\u003e, which is about the deployed version.\u003c/p\u003e\n"],["\u003cp\u003eThere are numerous documented versions of this class available, ranging from 1.0.0 to 2.5.0, in the \u003ccode\u003eGoogle.Cloud.GkeHub.V1.ConfigManagement\u003c/code\u003e namespace, within the assembly \u003ccode\u003eGoogle.Cloud.GkeHub.V1.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# GKE Hub v1 API - Class PolicyControllerState (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.ConfigManagement.PolicyControllerState)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.4.0/Google.Cloud.GkeHub.V1.ConfigManagement.PolicyControllerState)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.3.0/Google.Cloud.GkeHub.V1.ConfigManagement.PolicyControllerState)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.2.0/Google.Cloud.GkeHub.V1.ConfigManagement.PolicyControllerState)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.1.0/Google.Cloud.GkeHub.V1.ConfigManagement.PolicyControllerState)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.0.0/Google.Cloud.GkeHub.V1.ConfigManagement.PolicyControllerState)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/1.2.0/Google.Cloud.GkeHub.V1.ConfigManagement.PolicyControllerState)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/1.1.0/Google.Cloud.GkeHub.V1.ConfigManagement.PolicyControllerState)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/1.0.0/Google.Cloud.GkeHub.V1.ConfigManagement.PolicyControllerState) \n\n public sealed class PolicyControllerState : IMessage\u003cPolicyControllerState\u003e, IEquatable\u003cPolicyControllerState\u003e, IDeepCloneable\u003cPolicyControllerState\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the GKE Hub v1 API class PolicyControllerState.\n\nState for PolicyControllerState. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PolicyControllerState \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PolicyControllerState](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.ConfigManagement.PolicyControllerState), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PolicyControllerState](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.ConfigManagement.PolicyControllerState), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PolicyControllerState](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.ConfigManagement.PolicyControllerState), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.GkeHub.V1.ConfigManagement](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.ConfigManagement)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeHub.V1.dll\n\nConstructors\n------------\n\n### PolicyControllerState()\n\n public PolicyControllerState()\n\n### PolicyControllerState(PolicyControllerState)\n\n public PolicyControllerState(PolicyControllerState other)\n\nProperties\n----------\n\n### DeploymentState\n\n public GatekeeperDeploymentState DeploymentState { get; set; }\n\nThe state about the policy controller installation.\n\n### Version\n\n public PolicyControllerVersion Version { get; set; }\n\nThe version of Gatekeeper Policy Controller deployed."]]