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.



1912
1913
1914
# File 'lib/svc.rb', line 1912

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.



1917
1918
1919
1920
1921
1922
1923
1924
1925
# File 'lib/svc.rb', line 1917

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.



1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
# File 'lib/svc.rb', line 1928

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