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.



3601
3602
3603
# File 'lib/svc.rb', line 3601

def initialize(identity_sets)
  @identity_sets = identity_sets
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one IdentitySet by ID.



3606
3607
3608
3609
3610
3611
3612
3613
3614
# File 'lib/svc.rb', line 3606

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.



3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
# File 'lib/svc.rb', line 3617

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