Class: Google::Apis::PrivatecaV1::RevocationDetails
- Inherits:
-
Object
- Object
- Google::Apis::PrivatecaV1::RevocationDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/privateca_v1/classes.rb,
lib/google/apis/privateca_v1/representations.rb,
lib/google/apis/privateca_v1/representations.rb
Overview
Describes fields that are relavent to the revocation of a Certificate.
Instance Attribute Summary collapse
-
#revocation_state ⇒ String
Indicates why a Certificate was revoked.
-
#revocation_time ⇒ String
The time at which this Certificate was revoked.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RevocationDetails
constructor
A new instance of RevocationDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RevocationDetails
Returns a new instance of RevocationDetails.
2284 2285 2286 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 2284 def initialize(**args) update!(**args) end |
Instance Attribute Details
#revocation_state ⇒ String
Indicates why a Certificate was revoked.
Corresponds to the JSON property revocationState
2277 2278 2279 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 2277 def revocation_state @revocation_state end |
#revocation_time ⇒ String
The time at which this Certificate was revoked.
Corresponds to the JSON property revocationTime
2282 2283 2284 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 2282 def revocation_time @revocation_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2289 2290 2291 2292 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 2289 def update!(**args) @revocation_state = args[:revocation_state] if args.key?(:revocation_state) @revocation_time = args[:revocation_time] if args.key?(:revocation_time) end |