Class: SDM::SnapshotRemoteIdentityGroups

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

Overview

SnapshotRemoteIdentityGroups exposes the read only methods of the RemoteIdentityGroups service for historical queries.

Instance Method Summary collapse

Constructor Details

#initialize(remote_identity_groups) ⇒ SnapshotRemoteIdentityGroups

Returns a new instance of SnapshotRemoteIdentityGroups.



1856
1857
1858
# File 'lib/svc.rb', line 1856

def initialize(remote_identity_groups)
  @remote_identity_groups = remote_identity_groups
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one RemoteIdentityGroup by ID.



1861
1862
1863
1864
1865
1866
1867
1868
1869
# File 'lib/svc.rb', line 1861

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

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

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



1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
# File 'lib/svc.rb', line 1872

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