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.



2833
2834
2835
# File 'lib/svc.rb', line 2833

def initialize(identity_sets)
  @identity_sets = identity_sets
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one IdentitySet by ID.



2838
2839
2840
2841
2842
2843
2844
2845
2846
# File 'lib/svc.rb', line 2838

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.



2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
# File 'lib/svc.rb', line 2849

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