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.



4070
4071
4072
# File 'lib/svc.rb', line 4070

def initialize(remote_identities)
  @remote_identities = remote_identities
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one RemoteIdentity by ID.



4075
4076
4077
4078
4079
4080
4081
4082
4083
# File 'lib/svc.rb', line 4075

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.



4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
# File 'lib/svc.rb', line 4086

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