public function destroy($name, Google_Service_CloudKMS_DestroyCryptoKeyVersionRequest $postBody, $optParams = array())
  {
    $params = array('name' => $name, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('destroy', array($params), "Google_Service_CloudKMS_CryptoKeyVersion");
  }
public function destroy($name, Google_Service_CloudKMS_DestroyCryptoKeyVersionRequest $postBody, $optParams = array())
  {
    $params = array('name' => $name, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('destroy', array($params), "Google_Service_CloudKMS_CryptoKeyVersion");
  }
public function destroy ( $ name , Google_Service_CloudKMS_DestroyCryptoKeyVersionRequest $ postBody , $ optParams = array ( ) ) { $ params = array ( 'name' => $ name , 'postBody' => $ postBody ) ; $ params = array_merge ( $ params , $ optParams ) ; return $ this -> call ( 'destroy' , array ( $ params ) , "Google_Service_CloudKMS_CryptoKeyVersion" ) ; }
Schedule a CryptoKeyVersion for destruction.

Upon calling this method, CryptoKeyVersion.state will be set to
DESTROY_SCHEDULED and destroy_time will be set to a time 24 hours in the
future, at which point the state will be changed to DESTROYED, and the key
material will be irrevocably destroyed.

Before the destroy_time is reached, RestoreCryptoKeyVersion may be called to
reverse the process. (cryptoKeyVersions.destroy)

@param string $name The resource name of the CryptoKeyVersion to destroy.
@param Google_Service_CloudKMS_DestroyCryptoKeyVersionRequest $postBody
@param array $optParams Optional parameters.
@return Google_Service_CloudKMS_CryptoKeyVersion
Schedule a CryptoKeyVersion for destruction .