Class: Google::Apis::ContaineranalysisV1beta1::SecretStatus
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::SecretStatus
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1beta1/classes.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb,
lib/google/apis/containeranalysis_v1beta1/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.
6659 6660 6661 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6659 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
Optional. Optional message about the status code.
Corresponds to the JSON property message
6647 6648 6649 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6647 def @message end |
#status ⇒ String
Optional. The status of the secret.
Corresponds to the JSON property status
6652 6653 6654 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6652 def status @status end |
#update_time ⇒ String
Optional. The time the secret status was last updated.
Corresponds to the JSON property updateTime
6657 6658 6659 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6657 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6664 6665 6666 6667 6668 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6664 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 |