Class: Google::Apis::ManagedidentitiesV1alpha1::Certificate

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Certificate

Returns a new instance of Certificate.



228
229
230
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 228

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#expire_timeString

The certificate expire time. Corresponds to the JSON property expireTime

Returns:

  • (String)


206
207
208
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 206

def expire_time
  @expire_time
end

#issuing_certificateGoogle::Apis::ManagedidentitiesV1alpha1::Certificate

Certificate used to configure LDAPS. Corresponds to the JSON property issuingCertificate



211
212
213
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 211

def issuing_certificate
  @issuing_certificate
end

#subjectString

The certificate subject. Corresponds to the JSON property subject

Returns:

  • (String)


216
217
218
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 216

def subject
  @subject
end

#subject_alternative_nameArray<String>

The additional hostnames for the domain. Corresponds to the JSON property subjectAlternativeName

Returns:

  • (Array<String>)


221
222
223
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 221

def subject_alternative_name
  @subject_alternative_name
end

#thumbprintString

The certificate thumbprint which uniquely identifies the certificate. Corresponds to the JSON property thumbprint

Returns:

  • (String)


226
227
228
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 226

def thumbprint
  @thumbprint
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



233
234
235
236
237
238
239
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 233

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