Class: Google::Apis::SecuritycenterV1beta2::SecretStatus
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::SecretStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Overview
The status of the secret.
Instance Attribute Summary collapse
-
#last_updated_time ⇒ String
Time that the secret was found.
-
#validity ⇒ String
The validity of the secret.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecretStatus
constructor
A new instance of SecretStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecretStatus
Returns a new instance of SecretStatus.
11711 11712 11713 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11711 def initialize(**args) update!(**args) end |
Instance Attribute Details
#last_updated_time ⇒ String
Time that the secret was found.
Corresponds to the JSON property lastUpdatedTime
11704 11705 11706 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11704 def last_updated_time @last_updated_time end |
#validity ⇒ String
The validity of the secret.
Corresponds to the JSON property validity
11709 11710 11711 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11709 def validity @validity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11716 11717 11718 11719 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11716 def update!(**args) @last_updated_time = args[:last_updated_time] if args.key?(:last_updated_time) @validity = args[:validity] if args.key?(:validity) end |