Class: Google::Apis::VaultV1::HeldAccount
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::HeldAccount
- 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
An account being held in a particular hold. This structure is immutable. This can be either a single user or a google group, depending on the corpus.
Instance Attribute Summary collapse
-
#account_id ⇒ String
The account's ID as provided by the Admin SDK.
-
#email ⇒ String
The primary email address of the account.
-
#first_name ⇒ String
Output only.
-
#hold_time ⇒ String
Output only.
-
#last_name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HeldAccount
constructor
A new instance of HeldAccount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HeldAccount
Returns a new instance of HeldAccount.
828 829 830 |
# File 'generated/google/apis/vault_v1/classes.rb', line 828 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
The account's ID as provided by the Admin SDK.
Corresponds to the JSON property accountId
805 806 807 |
# File 'generated/google/apis/vault_v1/classes.rb', line 805 def account_id @account_id end |
#email ⇒ String
The primary email address of the account. If used as an input, this takes
precedence over account ID.
Corresponds to the JSON property email
811 812 813 |
# File 'generated/google/apis/vault_v1/classes.rb', line 811 def email @email end |
#first_name ⇒ String
Output only. The first name of the account holder.
Corresponds to the JSON property firstName
816 817 818 |
# File 'generated/google/apis/vault_v1/classes.rb', line 816 def first_name @first_name end |
#hold_time ⇒ String
Output only. When the account was put on hold.
Corresponds to the JSON property holdTime
821 822 823 |
# File 'generated/google/apis/vault_v1/classes.rb', line 821 def hold_time @hold_time end |
#last_name ⇒ String
Output only. The last name of the account holder.
Corresponds to the JSON property lastName
826 827 828 |
# File 'generated/google/apis/vault_v1/classes.rb', line 826 def last_name @last_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
833 834 835 836 837 838 839 |
# File 'generated/google/apis/vault_v1/classes.rb', line 833 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @email = args[:email] if args.key?(:email) @first_name = args[:first_name] if args.key?(:first_name) @hold_time = args[:hold_time] if args.key?(:hold_time) @last_name = args[:last_name] if args.key?(:last_name) end |