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.



5405
5406
5407
# File 'lib/svc.rb', line 5405

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.



5410
5411
5412
5413
5414
5415
5416
5417
5418
# File 'lib/svc.rb', line 5410

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.



5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
# File 'lib/svc.rb', line 5421

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