_simpleRequest('/Ydb.Operation.V1.OperationService/GetOperation', $argument, ['\Ydb\Operations\GetOperationResponse', 'decode'], $metadata, $options); } /** * Starts cancellation of a long-running operation, * Clients can use GetOperation to check whether the cancellation succeeded * or whether the operation completed despite cancellation. * @param \Ydb\Operations\CancelOperationRequest $argument input argument * @param array $metadata metadata * @param array $options call options * @return \Grpc\UnaryCall */ public function CancelOperation(\Ydb\Operations\CancelOperationRequest $argument, $metadata = [], $options = []) { return $this->_simpleRequest('/Ydb.Operation.V1.OperationService/CancelOperation', $argument, ['\Ydb\Operations\CancelOperationResponse', 'decode'], $metadata, $options); } /** * Forgets long-running operation. It does not cancel the operation and returns * an error if operation was not completed. * @param \Ydb\Operations\ForgetOperationRequest $argument input argument * @param array $metadata metadata * @param array $options call options * @return \Grpc\UnaryCall */ public function ForgetOperation(\Ydb\Operations\ForgetOperationRequest $argument, $metadata = [], $options = []) { return $this->_simpleRequest('/Ydb.Operation.V1.OperationService/ForgetOperation', $argument, ['\Ydb\Operations\ForgetOperationResponse', 'decode'], $metadata, $options); } /** * Lists operations that match the specified filter in the request. * @param \Ydb\Operations\ListOperationsRequest $argument input argument * @param array $metadata metadata * @param array $options call options * @return \Grpc\UnaryCall */ public function ListOperations(\Ydb\Operations\ListOperationsRequest $argument, $metadata = [], $options = []) { return $this->_simpleRequest('/Ydb.Operation.V1.OperationService/ListOperations', $argument, ['\Ydb\Operations\ListOperationsResponse', 'decode'], $metadata, $options); } }