public function LeaseGrant(LeaseGrantRequest $argument,
                               $metadata = [], $options = [])
    {
        return $this->_simpleRequest('/etcdserverpb.Lease/LeaseGrant',
            $argument,
            ['\Etcdserverpb\LeaseGrantResponse', 'decode'],
            $metadata,
            $options
        );
    }
public function LeaseGrant(LeaseGrantRequest $argument,
                               $metadata = [], $options = [])
    {
        return $this->_simpleRequest('/etcdserverpb.Lease/LeaseGrant',
            $argument,
            ['\Etcdserverpb\LeaseGrantResponse', 'decode'],
            $metadata,
            $options
        );
    }
public function LeaseGrant ( LeaseGrantRequest $ argument , $ metadata = [ ] , $ options = [ ] ) { return $ this -> _simpleRequest ( '/etcdserverpb.Lease/LeaseGrant' , $ argument , [ '\Etcdserverpb\LeaseGrantResponse' , 'decode' ] , $ metadata , $ options ) ; }
LeaseGrant creates a lease which expires if the server does not receive a keepAlive
within a given time to live period. All keys attached to the lease will be expired and
deleted if the lease expires. Each expired key generates a delete event in the event history.
@param LeaseGrantRequest $argument input argument
@param array $metadata metadata
@param array $options call options
@return UnaryCall
LeaseGrant creates a lease which expires if the server does not receive a keepAlive within a given time to live period . All keys attached to the lease will be expired and deleted if the lease expires . Each expired key generates a delete event in the event history .