#[non_exhaustive]pub struct AuthorizedCertificate {
pub name: String,
pub id: String,
pub display_name: String,
pub domain_names: Vec<String>,
pub expire_time: Option<Timestamp>,
pub certificate_raw_data: Option<CertificateRawData>,
pub managed_certificate: Option<ManagedCertificate>,
pub visible_domain_mappings: Vec<String>,
pub domain_mappings_count: i32,
/* private fields */
}Expand description
An SSL certificate that a user has been authorized to administer. A user is authorized to administer any certificate that applies to one of their authorized domains.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringFull path to the AuthorizedCertificate resource in the API. Example:
apps/myapp/authorizedCertificates/12345.
@OutputOnly
id: StringRelative name of the certificate. This is a unique value autogenerated
on AuthorizedCertificate resource creation. Example: 12345.
@OutputOnly
display_name: StringThe user-specified display name of the certificate. This is not
guaranteed to be unique. Example: My Certificate.
domain_names: Vec<String>Topmost applicable domains of this certificate. This certificate
applies to these domains and their subdomains. Example: example.com.
@OutputOnly
expire_time: Option<Timestamp>The time when this certificate expires. To update the renewal time on this
certificate, upload an SSL certificate with a different expiration time
using AuthorizedCertificates.UpdateAuthorizedCertificate.
@OutputOnly
certificate_raw_data: Option<CertificateRawData>The SSL certificate serving the AuthorizedCertificate resource. This
must be obtained independently from a certificate authority.
managed_certificate: Option<ManagedCertificate>Only applicable if this certificate is managed by App Engine. Managed
certificates are tied to the lifecycle of a DomainMapping and cannot be
updated or deleted via the AuthorizedCertificates API. If this
certificate is manually administered by the user, this field will be empty.
@OutputOnly
visible_domain_mappings: Vec<String>The full paths to user visible Domain Mapping resources that have this
certificate mapped. Example: apps/myapp/domainMappings/example.com.
This may not represent the full list of mapped domain mappings if the user
does not have VIEWER permissions on all of the applications that have
this certificate mapped. See domain_mappings_count for a complete count.
Only returned by GET or LIST requests when specifically requested by
the view=FULL_CERTIFICATE option.
@OutputOnly
domain_mappings_count: i32Aggregate count of the domain mappings with this certificate mapped. This
count includes domain mappings on applications for which the user does not
have VIEWER permissions.
Only returned by GET or LIST requests when specifically requested by
the view=FULL_CERTIFICATE option.
@OutputOnly
Implementations§
Source§impl AuthorizedCertificate
impl AuthorizedCertificate
pub fn new() -> Self
Sourcepub fn set_display_name<T: Into<String>>(self, v: T) -> Self
pub fn set_display_name<T: Into<String>>(self, v: T) -> Self
Sets the value of display_name.
Sourcepub fn set_domain_names<T, V>(self, v: T) -> Self
pub fn set_domain_names<T, V>(self, v: T) -> Self
Sets the value of domain_names.
Sourcepub fn set_expire_time<T>(self, v: T) -> Self
pub fn set_expire_time<T>(self, v: T) -> Self
Sets the value of expire_time.
Sourcepub fn set_or_clear_expire_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_expire_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of expire_time.
Sourcepub fn set_certificate_raw_data<T>(self, v: T) -> Selfwhere
T: Into<CertificateRawData>,
pub fn set_certificate_raw_data<T>(self, v: T) -> Selfwhere
T: Into<CertificateRawData>,
Sets the value of certificate_raw_data.
Sourcepub fn set_or_clear_certificate_raw_data<T>(self, v: Option<T>) -> Selfwhere
T: Into<CertificateRawData>,
pub fn set_or_clear_certificate_raw_data<T>(self, v: Option<T>) -> Selfwhere
T: Into<CertificateRawData>,
Sets or clears the value of certificate_raw_data.
Sourcepub fn set_managed_certificate<T>(self, v: T) -> Selfwhere
T: Into<ManagedCertificate>,
pub fn set_managed_certificate<T>(self, v: T) -> Selfwhere
T: Into<ManagedCertificate>,
Sets the value of managed_certificate.
Sourcepub fn set_or_clear_managed_certificate<T>(self, v: Option<T>) -> Selfwhere
T: Into<ManagedCertificate>,
pub fn set_or_clear_managed_certificate<T>(self, v: Option<T>) -> Selfwhere
T: Into<ManagedCertificate>,
Sets or clears the value of managed_certificate.
Sourcepub fn set_visible_domain_mappings<T, V>(self, v: T) -> Self
pub fn set_visible_domain_mappings<T, V>(self, v: T) -> Self
Sets the value of visible_domain_mappings.
Sourcepub fn set_domain_mappings_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_domain_mappings_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of domain_mappings_count.
Trait Implementations§
Source§impl Clone for AuthorizedCertificate
impl Clone for AuthorizedCertificate
Source§fn clone(&self) -> AuthorizedCertificate
fn clone(&self) -> AuthorizedCertificate
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more