Class: SDM::SnapshotRemoteIdentities

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

Overview

SnapshotRemoteIdentities exposes the read only methods of the RemoteIdentities service for historical queries.

Instance Method Summary collapse

Constructor Details

#initialize(remote_identities) ⇒ SnapshotRemoteIdentities

Returns a new instance of SnapshotRemoteIdentities.



3265
3266
3267
# File 'lib/svc.rb', line 3265

def initialize(remote_identities)
  @remote_identities = remote_identities
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one RemoteIdentity by ID.



3270
3271
3272
3273
3274
3275
3276
3277
3278
# File 'lib/svc.rb', line 3270

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

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

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



3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
# File 'lib/svc.rb', line 3281

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