Lines Matching defs:params

33      * $params['watch_id']  = (string) Watch ID (Required)
34 * $params['action_id'] = (list) A comma-separated list of the action ids to be acked
36 * @param array $params Associative array of parameters
40 public function ackWatch(array $params = [])
42 $watch_id = $this->extractArgument($params, 'watch_id');
43 $action_id = $this->extractArgument($params, 'action_id');
47 $endpoint->setParams($params);
56 * $params['watch_id'] = (string) Watch ID
58 * @param array $params Associative array of parameters
62 public function activateWatch(array $params = [])
64 $watch_id = $this->extractArgument($params, 'watch_id');
68 $endpoint->setParams($params);
76 * $params['watch_id'] = (string) Watch ID
78 * @param array $params Associative array of parameters
82 public function deactivateWatch(array $params = [])
84 $watch_id = $this->extractArgument($params, 'watch_id');
88 $endpoint->setParams($params);
96 * $params['id'] = (string) Watch ID
98 * @param array $params Associative array of parameters
102 public function deleteWatch(array $params = [])
104 $id = $this->extractArgument($params, 'id');
108 $endpoint->setParams($params);
116 * $params['id'] = (string) Watch ID
117 * $params['debug'] = (boolean) indicates whether the watch should execute in debug mode
118 * $params['body'] = (array) Execution control
120 * @param array $params Associative array of parameters
124 public function executeWatch(array $params = [])
126 $id = $this->extractArgument($params, 'id');
127 $body = $this->extractArgument($params, 'body');
131 $endpoint->setParams($params);
140 * $params['id'] = (string) Watch ID
142 * @param array $params Associative array of parameters
146 public function getWatch(array $params = [])
148 $id = $this->extractArgument($params, 'id');
152 $endpoint->setParams($params);
160 * $params['id'] = (string) Watch ID
161 * $params['active'] = (boolean) Specify whether the watch is in/active by default
162 * $params['version'] = (number) Explicit version number for concurrency control
163 * $params['if_seq_no'] = (number) only update the watch if the last operation that has changed the watch has the specified sequence number
164 * $params['if_primary_term'] = (number) only update the watch if the last operation that has changed the watch has the specified primary term
165 * $params['body'] = (array) The watch
167 * @param array $params Associative array of parameters
171 public function putWatch(array $params = [])
173 $id = $this->extractArgument($params, 'id');
174 $body = $this->extractArgument($params, 'body');
178 $endpoint->setParams($params);
187 * $params['body'] = (array) From, size, query, sort and search_after
189 * @param array $params Associative array of parameters
193 public function queryWatches(array $params = [])
195 $body = $this->extractArgument($params, 'body');
199 $endpoint->setParams($params);
208 * @param array $params Associative array of parameters
212 public function start(array $params = [])
217 $endpoint->setParams($params);
224 * $params['metric'] = (list) Controls what additional stat metrics should be include in the response
225 * $params['emit_stacktraces'] = (boolean) Emits stack traces of currently running watches
227 * @param array $params Associative array of parameters
231 public function stats(array $params = [])
233 $metric = $this->extractArgument($params, 'metric');
237 $endpoint->setParams($params);
246 * @param array $params Associative array of parameters
250 public function stop(array $params = [])
255 $endpoint->setParams($params);