Class: Google::Apis::PrivatecaV1beta1::RevocationDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/privateca_v1beta1/classes.rb,
lib/google/apis/privateca_v1beta1/representations.rb,
lib/google/apis/privateca_v1beta1/representations.rb

Overview

Describes fields that are relavent to the revocation of a Certificate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RevocationDetails

Returns a new instance of RevocationDetails.



3051
3052
3053
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 3051

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

Instance Attribute Details

#revocation_stateString

Indicates why a Certificate was revoked. Corresponds to the JSON property revocationState

Returns:

  • (String)


3044
3045
3046
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 3044

def revocation_state
  @revocation_state
end

#revocation_timeString

The time at which this Certificate was revoked. Corresponds to the JSON property revocationTime

Returns:

  • (String)


3049
3050
3051
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 3049

def revocation_time
  @revocation_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3056
3057
3058
3059
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 3056

def update!(**args)
  @revocation_state = args[:revocation_state] if args.key?(:revocation_state)
  @revocation_time = args[:revocation_time] if args.key?(:revocation_time)
end