class Google::Apis::VaultV1::HeldAccount

An account covered by a hold. This structure is immutable. It can be an individual account or a Google Group, depending on the service. To work with Vault resources, the account must have the [required Vault privileges] (https:/ /support.google.com/vault/answer/2799699) and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the **View All Matters** privilege.

Attributes

account_id[RW]

The account ID, as provided by the [Admin SDK](developers.google.com/ admin-sdk/). Corresponds to the JSON property `accountId` @return [String]

email[RW]

The primary email address of the account. If used as an input, this takes precedence over accountId. Corresponds to the JSON property `email` @return [String]

first_name[RW]

Output only. The first name of the account holder. Corresponds to the JSON property `firstName` @return [String]

hold_time[RW]

Output only. When the account was put on hold. Corresponds to the JSON property `holdTime` @return [String]

last_name[RW]

Output only. The last name of the account holder. Corresponds to the JSON property `lastName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vault_v1/classes.rb, line 849
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/vault_v1/classes.rb, line 854
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