Lines Matching defs:snapshot
24 * Elasticsearch API name snapshot.restore
32 protected $snapshot;
37 $snapshot = $this->snapshot ?? null;
39 if (isset($repository) && isset($snapshot)) {
40 return "/_snapshot/$repository/$snapshot/_restore";
42 throw new RuntimeException('Missing parameter for the endpoint snapshot.restore');
78 public function setSnapshot($snapshot): Restore
80 if (isset($snapshot) !== true) {
83 $this->snapshot = $snapshot;