Class: Google::Apis::VaultV1::HeldOrgUnit

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ HeldOrgUnit

Returns a new instance of HeldOrgUnit



764
765
766
# File 'generated/google/apis/vault_v1/classes.rb', line 764

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#hold_timeString

When the org unit was put on hold. This property is immutable. Corresponds to the JSON property holdTime

Returns:

  • (String)


757
758
759
# File 'generated/google/apis/vault_v1/classes.rb', line 757

def hold_time
  @hold_time
end

#org_unit_idString

The org unit's immutable ID as provided by the Admin SDK. Corresponds to the JSON property orgUnitId

Returns:

  • (String)


762
763
764
# File 'generated/google/apis/vault_v1/classes.rb', line 762

def org_unit_id
  @org_unit_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



769
770
771
772
# File 'generated/google/apis/vault_v1/classes.rb', line 769

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