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.



4043
4044
4045
# File 'lib/svc.rb', line 4043

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.



4048
4049
4050
4051
4052
4053
4054
4055
4056
# File 'lib/svc.rb', line 4048

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.



4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
# File 'lib/svc.rb', line 4059

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