class Google::Apis::ApigeeV1::GoogleCloudApigeeV1CertInfo

X.509 certificate as defined in RFC 5280.

Attributes

basic_constraints[RW]

X.509 basic constraints extension. Corresponds to the JSON property `basicConstraints` @return [String]

expiry_date[RW]

X.509 `notAfter` validity period in milliseconds since epoch. Corresponds to the JSON property `expiryDate` @return [Fixnum]

is_valid[RW]

Flag that specifies whether the certificate is valid. Flag is set to `Yes` if the certificate is valid, `No` if expired, or `Not yet` if not yet valid. Corresponds to the JSON property `isValid` @return [String]

issuer[RW]

X.509 issuer. Corresponds to the JSON property `issuer` @return [String]

public_key[RW]

Public key component of the X.509 subject public key info. Corresponds to the JSON property `publicKey` @return [String]

serial_number[RW]

X.509 serial number. Corresponds to the JSON property `serialNumber` @return [String]

sig_alg_name[RW]

X.509 signatureAlgorithm. Corresponds to the JSON property `sigAlgName` @return [String]

subject[RW]

X.509 subject. Corresponds to the JSON property `subject` @return [String]

subject_alternative_names[RW]

X.509 subject alternative names (SANs) extension. Corresponds to the JSON property `subjectAlternativeNames` @return [Array<String>]

valid_from[RW]

X.509 `notBefore` validity period in milliseconds since epoch. Corresponds to the JSON property `validFrom` @return [Fixnum]

version[RW]

X.509 version. Corresponds to the JSON property `version` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/apigee_v1/classes.rb, line 1392
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/apigee_v1/classes.rb, line 1397
def update!(**args)
  @basic_constraints = args[:basic_constraints] if args.key?(:basic_constraints)
  @expiry_date = args[:expiry_date] if args.key?(:expiry_date)
  @is_valid = args[:is_valid] if args.key?(:is_valid)
  @issuer = args[:issuer] if args.key?(:issuer)
  @public_key = args[:public_key] if args.key?(:public_key)
  @serial_number = args[:serial_number] if args.key?(:serial_number)
  @sig_alg_name = args[:sig_alg_name] if args.key?(:sig_alg_name)
  @subject = args[:subject] if args.key?(:subject)
  @subject_alternative_names = args[:subject_alternative_names] if args.key?(:subject_alternative_names)
  @valid_from = args[:valid_from] if args.key?(:valid_from)
  @version = args[:version] if args.key?(:version)
end