Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SecretStatus
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SecretStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/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) ⇒ GoogleCloudSecuritycenterV2SecretStatus
constructor
A new instance of GoogleCloudSecuritycenterV2SecretStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2SecretStatus
Returns a new instance of GoogleCloudSecuritycenterV2SecretStatus.
9391 9392 9393 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9391 def initialize(**args) update!(**args) end |
Instance Attribute Details
#last_updated_time ⇒ String
Corresponds to the JSON property lastUpdatedTime
9384 9385 9386 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9384 def last_updated_time @last_updated_time end |
#validity ⇒ String
Corresponds to the JSON property validity
9389 9390 9391 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9389 def validity @validity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9396 9397 9398 9399 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9396 def update!(**args) @last_updated_time = args[:last_updated_time] if args.key?(:last_updated_time) @validity = args[:validity] if args.key?(:validity) end |