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.



2835
2836
2837
# File 'lib/svc.rb', line 2835

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.



2840
2841
2842
2843
2844
2845
2846
2847
2848
# File 'lib/svc.rb', line 2840

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.



2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
# File 'lib/svc.rb', line 2851

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