pub struct SslPolicy {Show 13 fields
pub creation_timestamp: Option<String>,
pub custom_features: Vec<String>,
pub description: Option<String>,
pub enabled_features: Vec<String>,
pub fingerprint: Option<String>,
pub id: Option<u64>,
pub kind: Option<String>,
pub min_tls_version: Option<String>,
pub name: Option<String>,
pub profile: Option<String>,
pub region: Option<String>,
pub self_link: Option<String>,
pub warnings: Vec<Warnings>,
}
Expand description
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.
Fields§
§creation_timestamp: Option<String>
[Output Only] Creation timestamp in RFC3339 text format.
custom_features: Vec<String>
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: Option<String>
An optional description of this resource. Provide this property when you create the resource.
enabled_features: Vec<String>
[Output Only] The list of features enabled in the SSL policy.
fingerprint: Option<String>
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: Option<u64>
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
kind: Option<String>
[Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
min_tls_version: Option<String>
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: Option<String>
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: Option<String>
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.
region: Option<String>
[Output Only] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.
self_link: Option<String>
[Output Only] Server-defined URL for the resource.
warnings: Vec<Warnings>
[Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
Implementations§
source§impl SslPolicy
impl SslPolicy
sourcepub fn min_tls_version(&self) -> &str
pub fn min_tls_version(&self) -> &str
Returns the value of min_tls_version
, or the default value if min_tls_version
is unset.
sourcepub fn creation_timestamp(&self) -> &str
pub fn creation_timestamp(&self) -> &str
Returns the value of creation_timestamp
, or the default value if creation_timestamp
is unset.
sourcepub fn region(&self) -> &str
pub fn region(&self) -> &str
Returns the value of region
, or the default value if region
is unset.
sourcepub fn profile(&self) -> &str
pub fn profile(&self) -> &str
Returns the value of profile
, or the default value if profile
is unset.
sourcepub fn fingerprint(&self) -> &str
pub fn fingerprint(&self) -> &str
Returns the value of fingerprint
, or the default value if fingerprint
is unset.
sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Returns the value of description
, or the default value if description
is unset.
Trait Implementations§
source§impl Message for SslPolicy
impl Message for SslPolicy
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for SslPolicy
impl PartialEq for SslPolicy
impl StructuralPartialEq for SslPolicy
Auto Trait Implementations§
impl Freeze for SslPolicy
impl RefUnwindSafe for SslPolicy
impl Send for SslPolicy
impl Sync for SslPolicy
impl Unpin for SslPolicy
impl UnwindSafe for SslPolicy
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request