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.



2619
2620
2621
# File 'lib/svc.rb', line 2619

def initialize(identity_sets)
  @identity_sets = identity_sets
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one IdentitySet by ID.



2624
2625
2626
2627
2628
2629
2630
2631
2632
# File 'lib/svc.rb', line 2624

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.



2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
# File 'lib/svc.rb', line 2635

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