Class: Google::Apis::ManagedidentitiesV1alpha1::Certificate
- Inherits:
-
Object
- Object
- Google::Apis::ManagedidentitiesV1alpha1::Certificate
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/managedidentities_v1alpha1/classes.rb,
lib/google/apis/managedidentities_v1alpha1/representations.rb,
lib/google/apis/managedidentities_v1alpha1/representations.rb
Overview
Certificate used to configure LDAPS.
Instance Attribute Summary collapse
-
#expire_time ⇒ String
The certificate expire time.
-
#issuing_certificate ⇒ Google::Apis::ManagedidentitiesV1alpha1::Certificate
Certificate used to configure LDAPS.
-
#subject ⇒ String
The certificate subject.
-
#subject_alternative_name ⇒ Array<String>
The additional hostnames for the domain.
-
#thumbprint ⇒ String
The certificate thumbprint which uniquely identifies the certificate.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Certificate
constructor
A new instance of Certificate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Certificate
Returns a new instance of Certificate.
255 256 257 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 255 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expire_time ⇒ String
The certificate expire time.
Corresponds to the JSON property expireTime
233 234 235 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 233 def expire_time @expire_time end |
#issuing_certificate ⇒ Google::Apis::ManagedidentitiesV1alpha1::Certificate
Certificate used to configure LDAPS.
Corresponds to the JSON property issuingCertificate
238 239 240 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 238 def issuing_certificate @issuing_certificate end |
#subject ⇒ String
The certificate subject.
Corresponds to the JSON property subject
243 244 245 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 243 def subject @subject end |
#subject_alternative_name ⇒ Array<String>
The additional hostnames for the domain.
Corresponds to the JSON property subjectAlternativeName
248 249 250 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 248 def subject_alternative_name @subject_alternative_name end |
#thumbprint ⇒ String
The certificate thumbprint which uniquely identifies the certificate.
Corresponds to the JSON property thumbprint
253 254 255 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 253 def thumbprint @thumbprint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
260 261 262 263 264 265 266 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 260 def update!(**args) @expire_time = args[:expire_time] if args.key?(:expire_time) @issuing_certificate = args[:issuing_certificate] if args.key?(:issuing_certificate) @subject = args[:subject] if args.key?(:subject) @subject_alternative_name = args[:subject_alternative_name] if args.key?(:subject_alternative_name) @thumbprint = args[:thumbprint] if args.key?(:thumbprint) end |