Class: Google::Apis::VaultV1::HeldOrgUnit
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::HeldOrgUnit
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/vault_v1/classes.rb,
generated/google/apis/vault_v1/representations.rb,
generated/google/apis/vault_v1/representations.rb
Overview
A organizational unit being held in a particular hold. This structure is immutable.
Instance Attribute Summary collapse
-
#hold_time ⇒ String
When the org unit was put on hold.
-
#org_unit_id ⇒ String
The org unit's immutable ID as provided by the admin SDK.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HeldOrgUnit
constructor
A new instance of HeldOrgUnit.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ HeldOrgUnit
Returns a new instance of HeldOrgUnit
275 276 277 |
# File 'generated/google/apis/vault_v1/classes.rb', line 275 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hold_time ⇒ String
When the org unit was put on hold. This property is immutable.
Corresponds to the JSON property holdTime
268 269 270 |
# File 'generated/google/apis/vault_v1/classes.rb', line 268 def hold_time @hold_time end |
#org_unit_id ⇒ String
The org unit's immutable ID as provided by the admin SDK.
Corresponds to the JSON property orgUnitId
273 274 275 |
# File 'generated/google/apis/vault_v1/classes.rb', line 273 def org_unit_id @org_unit_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
280 281 282 283 |
# File 'generated/google/apis/vault_v1/classes.rb', line 280 def update!(**args) @hold_time = args[:hold_time] if args.key?(:hold_time) @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id) end |