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.



4394
4395
4396
# File 'lib/svc.rb', line 4394

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.



4399
4400
4401
4402
4403
4404
4405
4406
4407
# File 'lib/svc.rb', line 4399

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.



4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
# File 'lib/svc.rb', line 4410

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