Class: Google::Apis::CloudiotV1::X509CertificateDetails

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudiot_v1/classes.rb,
generated/google/apis/cloudiot_v1/representations.rb,
generated/google/apis/cloudiot_v1/representations.rb

Overview

Details of an X.509 certificate. For informational purposes only.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ X509CertificateDetails

Returns a new instance of X509CertificateDetails.



1329
1330
1331
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1329

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

Instance Attribute Details

#expiry_timeString

The time the certificate becomes invalid. Corresponds to the JSON property expiryTime

Returns:

  • (String)


1302
1303
1304
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1302

def expiry_time
  @expiry_time
end

#issuerString

The entity that signed the certificate. Corresponds to the JSON property issuer

Returns:

  • (String)


1307
1308
1309
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1307

def issuer
  @issuer
end

#public_key_typeString

The type of public key in the certificate. Corresponds to the JSON property publicKeyType

Returns:

  • (String)


1312
1313
1314
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1312

def public_key_type
  @public_key_type
end

#signature_algorithmString

The algorithm used to sign the certificate. Corresponds to the JSON property signatureAlgorithm

Returns:

  • (String)


1317
1318
1319
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1317

def signature_algorithm
  @signature_algorithm
end

#start_timeString

The time the certificate becomes valid. Corresponds to the JSON property startTime

Returns:

  • (String)


1322
1323
1324
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1322

def start_time
  @start_time
end

#subjectString

The entity the certificate and public key belong to. Corresponds to the JSON property subject

Returns:

  • (String)


1327
1328
1329
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1327

def subject
  @subject
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1334
1335
1336
1337
1338
1339
1340
1341
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1334

def update!(**args)
  @expiry_time = args[:expiry_time] if args.key?(:expiry_time)
  @issuer = args[:issuer] if args.key?(:issuer)
  @public_key_type = args[:public_key_type] if args.key?(:public_key_type)
  @signature_algorithm = args[:signature_algorithm] if args.key?(:signature_algorithm)
  @start_time = args[:start_time] if args.key?(:start_time)
  @subject = args[:subject] if args.key?(:subject)
end