Class: SDM::SnapshotProxyClusterKeys

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

Overview

SnapshotProxyClusterKeys exposes the read only methods of the ProxyClusterKeys service for historical queries.

Instance Method Summary collapse

Constructor Details

#initialize(proxy_cluster_keys) ⇒ SnapshotProxyClusterKeys

Returns a new instance of SnapshotProxyClusterKeys.



4637
4638
4639
# File 'lib/svc.rb', line 4637

def initialize(proxy_cluster_keys)
  @proxy_cluster_keys = proxy_cluster_keys
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one ProxyClusterKey by ID.



4642
4643
4644
4645
4646
4647
4648
4649
4650
# File 'lib/svc.rb', line 4642

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

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

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



4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
# File 'lib/svc.rb', line 4653

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