Name of the SSL policy to update. The name must be 1-63 characters long, and comply withRFC1035.
Request body
The request body must be empty.
Response body
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, readSSL policies overview.
If successful, the response body contains data with the following structure:
[Output Only] Server-defined URL for the resource.
name
string
Name of the resource. The name must be 1-63 characters long, and comply withRFC1035. 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.
description
string
An optional description of this resource. Provide this property when you create the resource.
profile
enum
Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one ofCOMPATIBLE,MODERN,RESTRICTED, orCUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in thecustomFeaturesfield.
minTlsVersion
enum
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 ofTLS_1_0,TLS_1_1,TLS_1_2.
enabledFeatures[]
string
[Output Only] The list of features enabled in the SSL policy.
customFeatures[]
string
A list of features enabled when the selected profile is CUSTOM. Themethod returns the set of features that can be specified in this list. This field must be empty if the profile is notCUSTOM.
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 aSslPolicy. An up-to-date fingerprint must be provided in order to update theSslPolicy, otherwise the request will fail with error412 conditionNotMet.
To see the latest fingerprint, make aget()request to retrieve an SslPolicy.
A base64-encoded string.
warnings[]
object
[Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
warnings[].code
enum
[Output Only] A warning code, if applicable. For example, Compute Engine returnsNO_RESULTS_ON_PAGEif there are no results in the response.
warnings[].message
string
[Output Only] A human-readable description of the warning code.
warnings[].data[]
object
[Output Only] Metadata about this warning inkey: valueformat. For example:
[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might bescopeand the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
warnings[].data[].value
string
[Output Only] A warning data value corresponding to the key.
region
string
[Output Only] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.
[[["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-07-28 UTC."],[[["\u003cp\u003eThis document outlines the details for retrieving a specific SSL policy using a \u003ccode\u003eGET\u003c/code\u003e HTTP request to the Google Compute Engine API.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specifying the \u003ccode\u003eproject\u003c/code\u003e and \u003ccode\u003esslPolicy\u003c/code\u003e as path parameters in the URL, where the \u003ccode\u003esslPolicy\u003c/code\u003e name must adhere to specific length and character constraints.\u003c/p\u003e\n"],["\u003cp\u003eThe body of the \u003ccode\u003eGET\u003c/code\u003e request must be empty, while a successful response will contain a JSON representation of the SSL Policy resource, with various attributes like \u003ccode\u003ekind\u003c/code\u003e, \u003ccode\u003eid\u003c/code\u003e, \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003eprofile\u003c/code\u003e, and \u003ccode\u003eminTlsVersion\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAccess to this API method requires specific OAuth scopes or IAM permissions, including \u003ccode\u003ecompute.sslPolicies.get\u003c/code\u003e, \u003ccode\u003ecompute.readonly\u003c/code\u003e, or \u003ccode\u003ecloud-platform\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe SSL Policy resource dictates SSL feature control, such as version and cipher suites, for Application Load Balancers and proxy Network Load Balancers, which can be further examined through the SSL policies overview.\u003c/p\u003e\n"]]],[],null,["# Method: sslPolicies.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.SslPolicy.SCHEMA_REPRESENTATION)\n - [JSON representation](#body.SslPolicy.SCHEMA_REPRESENTATION.warning.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nLists all of the ordered rules present in a single specified policy.\n\n### HTTP request\n\n`GET https://compute.googleapis.com/compute/v1/projects/{project}/global/sslPolicies/{sslPolicy}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nRepresents an SSL Policy resource.\n\nUse 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](https://cloud.google.com/load-balancing/docs/ssl-policies-concepts).\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/compute.readonly`\n- `\n https://www.googleapis.com/auth/compute`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nIn addition to any permissions specified on the fields above, authorization requires one or more of the following [IAM](https://cloud.google.com/iam/docs/) permissions:\n\n- `compute.sslPolicies.get`\n\nTo find predefined roles that contain those permissions, see [Compute Engine IAM Roles](/compute/docs/access/iam)."]]