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
Instance Attribute Summary collapse
-
#last_updated_time ⇒ String
Corresponds to the JSON property
lastUpdatedTime. -
#validity ⇒ String
Corresponds to the JSON property
validity.
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.
10956 10957 10958 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10956 def initialize(**args) update!(**args) end |
Instance Attribute Details
#last_updated_time ⇒ String
Corresponds to the JSON property lastUpdatedTime
10949 10950 10951 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10949 def last_updated_time @last_updated_time end |
#validity ⇒ String
Corresponds to the JSON property validity
10954 10955 10956 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10954 def validity @validity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10961 10962 10963 10964 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10961 def update!(**args) @last_updated_time = args[:last_updated_time] if args.key?(:last_updated_time) @validity = args[:validity] if args.key?(:validity) end |