Class: Google::Apis::AdminDirectoryV1::UserEmail::PublicKeyEncryptionCertificates
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::UserEmail::PublicKeyEncryptionCertificates
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admin_directory_v1/classes.rb,
lib/google/apis/admin_directory_v1/representations.rb,
lib/google/apis/admin_directory_v1/representations.rb
Overview
Public Key Encryption Certificates. Current limit: 1 per email address, and 5 per user.
Instance Attribute Summary collapse
-
#certificate ⇒ String
X.509 encryption certificate in
PEMformat. -
#is_default ⇒ Boolean
(also: #is_default?)
Whether this is the default certificate for the given email address.
-
#state ⇒ String
Denotes the certificate's state in its lifecycle.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PublicKeyEncryptionCertificates
constructor
A new instance of PublicKeyEncryptionCertificates.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PublicKeyEncryptionCertificates
Returns a new instance of PublicKeyEncryptionCertificates.
4866 4867 4868 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4866 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate ⇒ String
X.509 encryption certificate in PEM format. Must only be an end-entity (leaf)
certificate.
Corresponds to the JSON property certificate
4852 4853 4854 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4852 def certificate @certificate end |
#is_default ⇒ Boolean Also known as: is_default?
Whether this is the default certificate for the given email address.
Corresponds to the JSON property is_default
4857 4858 4859 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4857 def is_default @is_default end |
#state ⇒ String
Denotes the certificate's state in its lifecycle. Possible values are
not_yet_validated, valid, invalid, expired, and revoked.
Corresponds to the JSON property state
4864 4865 4866 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4864 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4871 4872 4873 4874 4875 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 4871 def update!(**args) @certificate = args[:certificate] if args.key?(:certificate) @is_default = args[:is_default] if args.key?(:is_default) @state = args[:state] if args.key?(:state) end |