Class SslPolicy (0.5.0)

SslPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents an SSL Policy resource.

Use SSL policies to control the SSL features, such as versions and cipher suites, offered by an HTTPS or SSL Proxy load balancer. For more information, read SSL Policy Concepts. (== resource_for {$api_version}.sslPolicies ==)

Attributes

NameDescription
creation_timestamp str
[Output Only] Creation timestamp in RFC3339 text format.
custom_features Sequence[str]
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.
description str
An optional description of this resource. Provide this property when you create the resource.
enabled_features Sequence[str]
[Output Only] The list of features enabled in the SSL policy.
fingerprint str
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.
id int
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
kind str
[Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
min_tls_version google.cloud.compute_v1.types.SslPolicy.MinTlsVersion
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.
name str
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 google.cloud.compute_v1.types.SslPolicy.Profile
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.
self_link str
[Output Only] Server-defined URL for the resource.
warnings Sequence[google.cloud.compute_v1.types.Warnings]
[Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.

Classes

MinTlsVersion

MinTlsVersion(value)

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.

Profile

Profile(value)

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.