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.



2814
2815
2816
# File 'lib/svc.rb', line 2814

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.



2819
2820
2821
2822
2823
2824
2825
2826
2827
# File 'lib/svc.rb', line 2819

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.



2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
# File 'lib/svc.rb', line 2830

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