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.



2706
2707
2708
# File 'lib/svc.rb', line 2706

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.



2711
2712
2713
2714
2715
2716
2717
2718
2719
# File 'lib/svc.rb', line 2711

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.



2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
# File 'lib/svc.rb', line 2722

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