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.



3987
3988
3989
# File 'lib/svc.rb', line 3987

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.



3992
3993
3994
3995
3996
3997
3998
3999
4000
# File 'lib/svc.rb', line 3992

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.



4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
# File 'lib/svc.rb', line 4003

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