Class: SDM::SnapshotIdentitySets

Inherits:
Object
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/svc.rb

Overview

SnapshotIdentitySets exposes the read only methods of the IdentitySets service for historical queries.

Instance Method Summary collapse

Constructor Details

#initialize(identity_sets) ⇒ SnapshotIdentitySets

Returns a new instance of SnapshotIdentitySets.



2562
2563
2564
# File 'lib/svc.rb', line 2562

def initialize(identity_sets)
  @identity_sets = identity_sets
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one IdentitySet by ID.



2567
2568
2569
2570
2571
2572
2573
2574
2575
# File 'lib/svc.rb', line 2567

def get(
  id,
  deadline: nil
)
  return @identity_sets.get(
           id,
           deadline: deadline,
         )
end

#list(filter, *args, deadline: nil) ⇒ Object

List gets a list of IdentitySets matching a given set of criteria.



2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
# File 'lib/svc.rb', line 2578

def list(
  filter,
  *args,
  deadline: nil
)
  return @identity_sets.list(
           filter,
                        *args,
                        deadline: deadline,
         )
end