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.



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

def initialize(identity_sets)
  @identity_sets = identity_sets
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one IdentitySet by ID.



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

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.



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

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