Lines Matching defs:snapshot
24 * Elasticsearch API name snapshot.get
32 protected $snapshot;
37 $snapshot = $this->snapshot ?? null;
39 if (isset($repository) && isset($snapshot)) {
40 return "/_snapshot/$repository/$snapshot";
42 throw new RuntimeException('Missing parameter for the endpoint snapshot.get');
71 public function setSnapshot($snapshot): Get
73 if (isset($snapshot) !== true) {
76 if (is_array($snapshot) === true) {
77 $snapshot = implode(",", $snapshot);
79 $this->snapshot = $snapshot;