public sealed class BinaryAuthorization : IMessage<BinaryAuthorization>, IEquatable<BinaryAuthorization>, IDeepCloneable<BinaryAuthorization>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Kubernetes Engine v1 API class BinaryAuthorization.
This field is deprecated. Leave this unset and instead configure
BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
[[["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 \u003ccode\u003eBinaryAuthorization\u003c/code\u003e class within the Google Kubernetes Engine v1 API is version 3.33.0, accessible via a specific URL.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBinaryAuthorization\u003c/code\u003e class provides configuration settings for Binary Authorization in Google Kubernetes Engine.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eBinaryAuthorization\u003c/code\u003e, inherits from object and implements multiple interfaces such as \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\u003e\u003ccode\u003eBinaryAuthorization\u003c/code\u003e includes properties like \u003ccode\u003eEnabled\u003c/code\u003e (deprecated) and \u003ccode\u003eEvaluationMode\u003c/code\u003e which govern the behavior of Binary Authorization.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this class is \u003ccode\u003eGoogle.Cloud.Container.V1\u003c/code\u003e and it's part of the assembly \u003ccode\u003eGoogle.Cloud.Container.V1.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Kubernetes Engine v1 API - Class BinaryAuthorization (3.35.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.35.0 (latest)](/dotnet/docs/reference/Google.Cloud.Container.V1/latest/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.34.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.34.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.33.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.33.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.32.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.32.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.31.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.31.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.30.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.30.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.29.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.29.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.28.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.28.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.27.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.27.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.26.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.26.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.25.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.25.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.24.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.24.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.23.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.23.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.22.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.22.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.21.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.21.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.20.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.20.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.19.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.19.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.18.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.18.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.17.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.16.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.15.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.14.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.13.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.12.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.11.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.10.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.9.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.8.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.7.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.6.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.5.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.4.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.3.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.2.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.1.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.0.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Container.V1/2.7.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Container.V1/2.6.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Container.V1/2.5.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Container.V1/2.4.0/Google.Cloud.Container.V1.BinaryAuthorization)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Container.V1/2.3.0/Google.Cloud.Container.V1.BinaryAuthorization) \n\n public sealed class BinaryAuthorization : IMessage\u003cBinaryAuthorization\u003e, IEquatable\u003cBinaryAuthorization\u003e, IDeepCloneable\u003cBinaryAuthorization\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Kubernetes Engine v1 API class BinaryAuthorization.\n\nConfiguration for Binary Authorization. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e BinaryAuthorization \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BinaryAuthorization](/dotnet/docs/reference/Google.Cloud.Container.V1/latest/Google.Cloud.Container.V1.BinaryAuthorization), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BinaryAuthorization](/dotnet/docs/reference/Google.Cloud.Container.V1/latest/Google.Cloud.Container.V1.BinaryAuthorization), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BinaryAuthorization](/dotnet/docs/reference/Google.Cloud.Container.V1/latest/Google.Cloud.Container.V1.BinaryAuthorization), [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.Container.V1](/dotnet/docs/reference/Google.Cloud.Container.V1/latest/Google.Cloud.Container.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Container.V1.dll\n\nConstructors\n------------\n\n### BinaryAuthorization()\n\n public BinaryAuthorization()\n\n### BinaryAuthorization(BinaryAuthorization)\n\n public BinaryAuthorization(BinaryAuthorization other)\n\nProperties\n----------\n\n### Enabled\n\n [Obsolete]\n public bool Enabled { get; set; }\n\nThis field is deprecated. Leave this unset and instead configure\nBinaryAuthorization using evaluation_mode. If evaluation_mode is set to\nanything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.\n\n### EvaluationMode\n\n public BinaryAuthorization.Types.EvaluationMode EvaluationMode { get; set; }\n\nMode of operation for binauthz policy evaluation. If unspecified, defaults\nto DISABLED."]]