Skip to main content

ssl_policies

Overview

Namessl_policies
TypeResource
Idgoogle.compute.ssl_policies

Fields

NameDatatypeDescription
idstring[Output Only] The unique identifier for the resource. This identifier is defined by the server.
namestringName 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.
descriptionstringAn optional description of this resource. Provide this property when you create the resource.
minTlsVersionstringThe 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.
kindstring[Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
profilestringProfile 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.
creationTimestampstring[Output Only] Creation timestamp in RFC3339 text format.
enabledFeaturesarray[Output Only] The list of features enabled in the SSL policy.
selfLinkstring[Output Only] Server-defined URL for the resource.
customFeaturesarrayA 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.
regionstring[Output Only] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.
warningsarray[Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
fingerprintstringFingerprint 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.

Methods

NameAccessible byRequired ParamsDescription
getSELECTproject, sslPolicyLists all of the ordered rules present in a single specified policy.
listSELECTprojectLists all the SSL policies that have been configured for the specified project.
insertINSERTprojectReturns the specified SSL policy resource.
deleteDELETEproject, sslPolicyDeletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.
patchEXECproject, sslPolicyPatches the specified SSL policy with the data included in the request.