Class: Google::Apis::IamV1::ExtendedStatus
- Inherits:
-
Object
- Object
- Google::Apis::IamV1::ExtendedStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iam_v1/classes.rb,
lib/google/apis/iam_v1/representations.rb,
lib/google/apis/iam_v1/representations.rb
Overview
Extended status can store additional metadata. For example, for keys disabled due to their private key data being expoesed we may include a message with more information about the exposure.
Instance Attribute Summary collapse
-
#key ⇒ String
The key for this extended status.
-
#value ⇒ String
The value for the extended status.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExtendedStatus
constructor
A new instance of ExtendedStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExtendedStatus
Returns a new instance of ExtendedStatus.
603 604 605 |
# File 'lib/google/apis/iam_v1/classes.rb', line 603 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
The key for this extended status.
Corresponds to the JSON property key
596 597 598 |
# File 'lib/google/apis/iam_v1/classes.rb', line 596 def key @key end |
#value ⇒ String
The value for the extended status.
Corresponds to the JSON property value
601 602 603 |
# File 'lib/google/apis/iam_v1/classes.rb', line 601 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
608 609 610 611 |
# File 'lib/google/apis/iam_v1/classes.rb', line 608 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end |