public function restore($name, Google_Service_CloudKMS_RestoreCryptoKeyVersionRequest $postBody, $optParams = array())
  {
    $params = array('name' => $name, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('restore', array($params), "Google_Service_CloudKMS_CryptoKeyVersion");
  }
public function restore($name, Google_Service_CloudKMS_RestoreCryptoKeyVersionRequest $postBody, $optParams = array())
  {
    $params = array('name' => $name, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('restore', array($params), "Google_Service_CloudKMS_CryptoKeyVersion");
  }
public function restore ( $ name , Google_Service_CloudKMS_RestoreCryptoKeyVersionRequest $ postBody , $ optParams = array ( ) ) { $ params = array ( 'name' => $ name , 'postBody' => $ postBody ) ; $ params = array_merge ( $ params , $ optParams ) ; return $ this -> call ( 'restore' , array ( $ params ) , "Google_Service_CloudKMS_CryptoKeyVersion" ) ; }
Restore a CryptoKeyVersion in the DESTROY_SCHEDULED state.

Upon restoration of the CryptoKeyVersion, state will be set to DISABLED, and
destroy_time will be cleared. (cryptoKeyVersions.restore)

@param string $name The resource name of the CryptoKeyVersion to restore.
@param Google_Service_CloudKMS_RestoreCryptoKeyVersionRequest $postBody
@param array $optParams Optional parameters.
@return Google_Service_CloudKMS_CryptoKeyVersion
Restore a CryptoKeyVersion in the DESTROY_SCHEDULED state .