public sealed class SslPolicy : IMessage<SslPolicy>, IEquatable<SslPolicy>, IDeepCloneable<SslPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class SslPolicy.
Represents an SSL Policy resource. Use SSL policies to control SSL features, such as versions and cipher suites, that are offered by Application Load Balancers and proxy Network Load Balancers. For more information, read SSL policies overview.
public RepeatedField<string> CustomFeatures { get; }
A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
Check the MinTlsVersion enum for the list of possible values.
Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
Check the Profile enum for the list of possible values.
[[["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-08 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eSslPolicy\u003c/code\u003e class within the Google Cloud Compute Engine v1 API, specifically for .NET developers.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSslPolicy\u003c/code\u003e class is used to manage SSL policies for controlling SSL features, versions, and cipher suites for Application Load Balancers and proxy Network Load Balancers.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eSslPolicy\u003c/code\u003e API documented here is 3.6.0, but versions back to 1.0.0 are also listed with links to each version's documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSslPolicy\u003c/code\u003e class inherits from the base \u003ccode\u003eobject\u003c/code\u003e class, and implements multiple 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\u003eKey properties include \u003ccode\u003eCreationTimestamp\u003c/code\u003e, \u003ccode\u003eCustomFeatures\u003c/code\u003e, \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eEnabledFeatures\u003c/code\u003e, \u003ccode\u003eFingerprint\u003c/code\u003e, \u003ccode\u003eId\u003c/code\u003e, \u003ccode\u003eMinTlsVersion\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eProfile\u003c/code\u003e, \u003ccode\u003eRegion\u003c/code\u003e, \u003ccode\u003eSelfLink\u003c/code\u003e, and \u003ccode\u003eWarnings\u003c/code\u003e for managing and viewing properties of the class.\u003c/p\u003e\n"]]],[],null,["# Compute Engine v1 API - Class SslPolicy (3.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.13.0 (latest)](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SslPolicy)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.12.0/Google.Cloud.Compute.V1.SslPolicy)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.11.0/Google.Cloud.Compute.V1.SslPolicy)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.10.0/Google.Cloud.Compute.V1.SslPolicy)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.9.0/Google.Cloud.Compute.V1.SslPolicy)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.8.0/Google.Cloud.Compute.V1.SslPolicy)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.7.0/Google.Cloud.Compute.V1.SslPolicy)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.6.0/Google.Cloud.Compute.V1.SslPolicy)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.5.0/Google.Cloud.Compute.V1.SslPolicy)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.4.0/Google.Cloud.Compute.V1.SslPolicy)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.3.0/Google.Cloud.Compute.V1.SslPolicy)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.2.0/Google.Cloud.Compute.V1.SslPolicy)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.1.0/Google.Cloud.Compute.V1.SslPolicy)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.0.0/Google.Cloud.Compute.V1.SslPolicy)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.17.0/Google.Cloud.Compute.V1.SslPolicy)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.16.0/Google.Cloud.Compute.V1.SslPolicy)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.15.0/Google.Cloud.Compute.V1.SslPolicy)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.14.0/Google.Cloud.Compute.V1.SslPolicy)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.13.0/Google.Cloud.Compute.V1.SslPolicy)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.12.0/Google.Cloud.Compute.V1.SslPolicy)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.11.0/Google.Cloud.Compute.V1.SslPolicy)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.10.0/Google.Cloud.Compute.V1.SslPolicy)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.9.0/Google.Cloud.Compute.V1.SslPolicy)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.8.0/Google.Cloud.Compute.V1.SslPolicy)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.7.0/Google.Cloud.Compute.V1.SslPolicy)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.6.0/Google.Cloud.Compute.V1.SslPolicy)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.5.0/Google.Cloud.Compute.V1.SslPolicy)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.4.0/Google.Cloud.Compute.V1.SslPolicy)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.3.0/Google.Cloud.Compute.V1.SslPolicy)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.2.0/Google.Cloud.Compute.V1.SslPolicy)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.1.0/Google.Cloud.Compute.V1.SslPolicy)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.0.0/Google.Cloud.Compute.V1.SslPolicy)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.4.0/Google.Cloud.Compute.V1.SslPolicy)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.3.0/Google.Cloud.Compute.V1.SslPolicy)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.2.0/Google.Cloud.Compute.V1.SslPolicy)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.1.0/Google.Cloud.Compute.V1.SslPolicy)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.0.0/Google.Cloud.Compute.V1.SslPolicy) \n\n public sealed class SslPolicy : IMessage\u003cSslPolicy\u003e, IEquatable\u003cSslPolicy\u003e, IDeepCloneable\u003cSslPolicy\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Compute Engine v1 API class SslPolicy.\n\nRepresents an SSL Policy resource. Use SSL policies to control SSL features, such as versions and cipher suites, that are offered by Application Load Balancers and proxy Network Load Balancers. For more information, read SSL policies overview. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SslPolicy \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SslPolicy](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SslPolicy), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SslPolicy](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SslPolicy), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SslPolicy](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SslPolicy), [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.Compute.V1](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Compute.V1.dll\n\nConstructors\n------------\n\n### SslPolicy()\n\n public SslPolicy()\n\n### SslPolicy(SslPolicy)\n\n public SslPolicy(SslPolicy other)\n\nProperties\n----------\n\n### CreationTimestamp\n\n public string CreationTimestamp { get; set; }\n\n\\[Output Only\\] Creation timestamp in RFC3339 text format.\n\n### CustomFeatures\n\n public RepeatedField\u003cstring\u003e CustomFeatures { get; }\n\nA list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.\n\n### Description\n\n public string Description { get; set; }\n\nAn optional description of this resource. Provide this property when you create the resource.\n\n### EnabledFeatures\n\n public RepeatedField\u003cstring\u003e EnabledFeatures { get; }\n\n\\[Output Only\\] The list of features enabled in the SSL policy.\n\n### Fingerprint\n\n public string Fingerprint { get; set; }\n\nFingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.\n\n### HasCreationTimestamp\n\n public bool HasCreationTimestamp { get; }\n\nGets whether the \"creation_timestamp\" field is set\n\n### HasDescription\n\n public bool HasDescription { get; }\n\nGets whether the \"description\" field is set\n\n### HasFingerprint\n\n public bool HasFingerprint { get; }\n\nGets whether the \"fingerprint\" field is set\n\n### HasId\n\n public bool HasId { get; }\n\nGets whether the \"id\" field is set\n\n### HasKind\n\n public bool HasKind { get; }\n\nGets whether the \"kind\" field is set\n\n### HasMinTlsVersion\n\n public bool HasMinTlsVersion { get; }\n\nGets whether the \"min_tls_version\" field is set\n\n### HasName\n\n public bool HasName { get; }\n\nGets whether the \"name\" field is set\n\n### HasProfile\n\n public bool HasProfile { get; }\n\nGets whether the \"profile\" field is set\n\n### HasRegion\n\n public bool HasRegion { get; }\n\nGets whether the \"region\" field is set\n\n### HasSelfLink\n\n public bool HasSelfLink { get; }\n\nGets whether the \"self_link\" field is set\n\n### Id\n\n public ulong Id { get; set; }\n\n\\[Output Only\\] The unique identifier for the resource. This identifier is defined by the server.\n\n### Kind\n\n public string Kind { get; set; }\n\n\\[Output only\\] Type of the resource. Always compute#sslPolicyfor SSL policies.\n\n### MinTlsVersion\n\n public string MinTlsVersion { get; set; }\n\nThe minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.\nCheck the MinTlsVersion enum for the list of possible values.\n\n### Name\n\n public string Name { get; set; }\n\nName of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.\n\n### Profile\n\n public string Profile { get; set; }\n\nProfile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.\nCheck the Profile enum for the list of possible values.\n\n### Region\n\n public string Region { get; set; }\n\n\\[Output Only\\] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.\n\n### SelfLink\n\n public string SelfLink { get; set; }\n\n\\[Output Only\\] Server-defined URL for the resource.\n\n### Warnings\n\n public RepeatedField\u003cWarnings\u003e Warnings { get; }\n\n\\[Output Only\\] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages."]]