class Google::Apis::VaultV1::AddHeldAccountsRequest

Add a list of accounts to a hold.

Attributes

account_ids[RW]

A comma-separated list of the account IDs of the accounts to add to the hold. Specify either emails or account_ids, but not both. Corresponds to the JSON property `accountIds` @return [Array<String>]

emails[RW]

A comma-separated list of the emails of the accounts to add to the hold. Specify either emails or account_ids, but not both. Corresponds to the JSON property `emails` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vault_v1/classes.rb, line 145
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 150
def update!(**args)
  @account_ids = args[:account_ids] if args.key?(:account_ids)
  @emails = args[:emails] if args.key?(:emails)
end