public function updatePrimaryVersion($name, Google_Service_CloudKMS_UpdateCryptoKeyPrimaryVersionRequest $postBody, $optParams = array())
  {
    $params = array('name' => $name, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('updatePrimaryVersion', array($params), "Google_Service_CloudKMS_CryptoKey");
  }
public function updatePrimaryVersion($name, Google_Service_CloudKMS_UpdateCryptoKeyPrimaryVersionRequest $postBody, $optParams = array())
  {
    $params = array('name' => $name, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('updatePrimaryVersion', array($params), "Google_Service_CloudKMS_CryptoKey");
  }
public function updatePrimaryVersion ( $ name , Google_Service_CloudKMS_UpdateCryptoKeyPrimaryVersionRequest $ postBody , $ optParams = array ( ) ) { $ params = array ( 'name' => $ name , 'postBody' => $ postBody ) ; $ params = array_merge ( $ params , $ optParams ) ; return $ this -> call ( 'updatePrimaryVersion' , array ( $ params ) , "Google_Service_CloudKMS_CryptoKey" ) ; }
Update the version of a CryptoKey that will be used in Encrypt.

Returns an error if called on an asymmetric key.
(cryptoKeys.updatePrimaryVersion)

@param string $name The resource name of the CryptoKey to update.
@param Google_Service_CloudKMS_UpdateCryptoKeyPrimaryVersionRequest $postBody
@param array $optParams Optional parameters.
@return Google_Service_CloudKMS_CryptoKey
Update the version of a CryptoKey that will be used in Encrypt .