Class: Google::Apis::OndemandscanningV1::SecretStatus
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1::SecretStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ondemandscanning_v1/classes.rb,
lib/google/apis/ondemandscanning_v1/representations.rb,
lib/google/apis/ondemandscanning_v1/representations.rb
Overview
The status of the secret with a timestamp.
Instance Attribute Summary collapse
-
#message ⇒ String
Optional.
-
#status ⇒ String
Optional.
-
#update_time ⇒ String
Optional.
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.
3539 3540 3541 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 3539 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
Optional. Optional message about the status code.
Corresponds to the JSON property message
3527 3528 3529 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 3527 def @message end |
#status ⇒ String
Optional. The status of the secret.
Corresponds to the JSON property status
3532 3533 3534 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 3532 def status @status end |
#update_time ⇒ String
Optional. The time the secret status was last updated.
Corresponds to the JSON property updateTime
3537 3538 3539 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 3537 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3544 3545 3546 3547 3548 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 3544 def update!(**args) @message = args[:message] if args.key?(:message) @status = args[:status] if args.key?(:status) @update_time = args[:update_time] if args.key?(:update_time) end |