class Google::Apis::PrivatecaV1beta1::RevokedCertificate

Describes a revoked Certificate.

Attributes

certificate[RW]

The resource path for the Certificate in the format `projects//locations// certificateAuthorities//certificates/`. Corresponds to the JSON property `certificate` @return [String]

hex_serial_number[RW]

The serial number of the Certificate. Corresponds to the JSON property `hexSerialNumber` @return [String]

revocation_reason[RW]

The reason the Certificate was revoked. Corresponds to the JSON property `revocationReason` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/privateca_v1beta1/classes.rb, line 2041
def update!(**args)
  @certificate = args[:certificate] if args.key?(:certificate)
  @hex_serial_number = args[:hex_serial_number] if args.key?(:hex_serial_number)
  @revocation_reason = args[:revocation_reason] if args.key?(:revocation_reason)
end