Integrity verification field. A flag indicating whetherMacVerifyRequest.data_crc32cwas received byKeyManagementServiceand used for the integrity verification of thedata. A false value of this field indicates either thatMacVerifyRequest.data_crc32cwas left unset or that it was not delivered toKeyManagementService. If you've setMacVerifyRequest.data_crc32cbut this field is still false, discard the response and perform a limited number of retries.
↳ verified_mac_crc32c
bool
Integrity verification field. A flag indicating whetherMacVerifyRequest.mac_crc32cwas received byKeyManagementServiceand used for the integrity verification of thedata. A false value of this field indicates either thatMacVerifyRequest.mac_crc32cwas left unset or that it was not delivered toKeyManagementService. If you've setMacVerifyRequest.mac_crc32cbut this field is still false, discard the response and perform a limited number of retries.
↳ verified_success_integrity
bool
Integrity verification field. This value is used for the integrity verification of [MacVerifyResponse.success]. If the value of this field contradicts the value of [MacVerifyResponse.success], discard the response and perform a limited number of retries.
Integrity verification field. A flag indicating whetherMacVerifyRequest.data_crc32cwas received byKeyManagementServiceand used
for the integrity verification of thedata. A false value of this
field indicates either thatMacVerifyRequest.data_crc32cwas left unset or that it was not delivered toKeyManagementService. If you've
setMacVerifyRequest.data_crc32cbut this field is still false, discard the response and perform a limited
number of retries.
Returns
Type
Description
bool
setVerifiedDataCrc32C
Integrity verification field. A flag indicating whetherMacVerifyRequest.data_crc32cwas received byKeyManagementServiceand used
for the integrity verification of thedata. A false value of this
field indicates either thatMacVerifyRequest.data_crc32cwas left unset or that it was not delivered toKeyManagementService. If you've
setMacVerifyRequest.data_crc32cbut this field is still false, discard the response and perform a limited
number of retries.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getVerifiedMacCrc32C
Integrity verification field. A flag indicating whetherMacVerifyRequest.mac_crc32cwas received byKeyManagementServiceand used
for the integrity verification of thedata. A false value of this
field indicates either thatMacVerifyRequest.mac_crc32cwas left unset or that it was not delivered toKeyManagementService. If you've
setMacVerifyRequest.mac_crc32cbut this field is still false, discard the response and perform a limited
number of retries.
Returns
Type
Description
bool
setVerifiedMacCrc32C
Integrity verification field. A flag indicating whetherMacVerifyRequest.mac_crc32cwas received byKeyManagementServiceand used
for the integrity verification of thedata. A false value of this
field indicates either thatMacVerifyRequest.mac_crc32cwas left unset or that it was not delivered toKeyManagementService. If you've
setMacVerifyRequest.mac_crc32cbut this field is still false, discard the response and perform a limited
number of retries.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getVerifiedSuccessIntegrity
Integrity verification field. This value is used for the integrity
verification of [MacVerifyResponse.success]. If the value of this field
contradicts the value of [MacVerifyResponse.success], discard the response
and perform a limited number of retries.
Returns
Type
Description
bool
setVerifiedSuccessIntegrity
Integrity verification field. This value is used for the integrity
verification of [MacVerifyResponse.success]. If the value of this field
contradicts the value of [MacVerifyResponse.success], discard the response
and perform a limited number of retries.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud KMS V1 Client - Class MacVerifyResponse (2.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.1 (latest)](/php/docs/reference/cloud-kms/latest/V1.MacVerifyResponse)\n- [2.3.0](/php/docs/reference/cloud-kms/2.3.0/V1.MacVerifyResponse)\n- [2.2.0](/php/docs/reference/cloud-kms/2.2.0/V1.MacVerifyResponse)\n- [2.1.6](/php/docs/reference/cloud-kms/2.1.6/V1.MacVerifyResponse)\n- [2.0.0](/php/docs/reference/cloud-kms/2.0.0/V1.MacVerifyResponse)\n- [1.23.0](/php/docs/reference/cloud-kms/1.23.0/V1.MacVerifyResponse)\n- [1.22.1](/php/docs/reference/cloud-kms/1.22.1/V1.MacVerifyResponse)\n- [1.21.4](/php/docs/reference/cloud-kms/1.21.4/V1.MacVerifyResponse)\n- [1.20.3](/php/docs/reference/cloud-kms/1.20.3/V1.MacVerifyResponse)\n- [1.19.0](/php/docs/reference/cloud-kms/1.19.0/V1.MacVerifyResponse)\n- [1.18.1](/php/docs/reference/cloud-kms/1.18.1/V1.MacVerifyResponse)\n- [1.17.0](/php/docs/reference/cloud-kms/1.17.0/V1.MacVerifyResponse)\n- [1.16.4](/php/docs/reference/cloud-kms/1.16.4/V1.MacVerifyResponse)\n- [1.15.3](/php/docs/reference/cloud-kms/1.15.3/V1.MacVerifyResponse) \nReference documentation and code samples for the Cloud KMS V1 Client class MacVerifyResponse.\n\nResponse message for\n[KeyManagementService.MacVerify](/php/docs/reference/cloud-kms/latest/V1.Client.KeyManagementServiceClient#_Google_Cloud_Kms_V1_Client_KeyManagementServiceClient__macVerify__).\n\nGenerated from protobuf message `google.cloud.kms.v1.MacVerifyResponse`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Kms \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nThe resource name of the\n[CryptoKeyVersion](/php/docs/reference/cloud-kms/latest/V1.CryptoKeyVersion) used for\nverification. Check this field to verify that the intended resource was\nused for verification.\n\n### setName\n\nThe resource name of the\n[CryptoKeyVersion](/php/docs/reference/cloud-kms/latest/V1.CryptoKeyVersion) used for\nverification. Check this field to verify that the intended resource was\nused for verification.\n\n### getSuccess\n\nThis field indicates whether or not the verification operation for\n[MacVerifyRequest.mac](/php/docs/reference/cloud-kms/latest/V1.MacVerifyRequest#_Google_Cloud_Kms_V1_MacVerifyRequest__getMac__) over\n[MacVerifyRequest.data](/php/docs/reference/cloud-kms/latest/V1.MacVerifyRequest#_Google_Cloud_Kms_V1_MacVerifyRequest__getData__) was\nsuccessful.\n\n### setSuccess\n\nThis field indicates whether or not the verification operation for\n[MacVerifyRequest.mac](/php/docs/reference/cloud-kms/latest/V1.MacVerifyRequest#_Google_Cloud_Kms_V1_MacVerifyRequest__getMac__) over\n[MacVerifyRequest.data](/php/docs/reference/cloud-kms/latest/V1.MacVerifyRequest#_Google_Cloud_Kms_V1_MacVerifyRequest__getData__) was\nsuccessful.\n\n### getVerifiedDataCrc32C\n\nIntegrity verification field. A flag indicating whether\nMacVerifyRequest.data_crc32c\nwas received by\n[KeyManagementService](/php/docs/reference/cloud-kms/latest/V1.Client.KeyManagementServiceClient) and used\nfor the integrity verification of the\n[data](/php/docs/reference/cloud-kms/latest/V1.MacVerifyRequest#_Google_Cloud_Kms_V1_MacVerifyRequest__getData__). A false value of this\nfield indicates either that\nMacVerifyRequest.data_crc32c\nwas left unset or that it was not delivered to\n[KeyManagementService](/php/docs/reference/cloud-kms/latest/V1.Client.KeyManagementServiceClient). If you've\nset\nMacVerifyRequest.data_crc32c\nbut this field is still false, discard the response and perform a limited\nnumber of retries.\n\n### setVerifiedDataCrc32C\n\nIntegrity verification field. A flag indicating whether\nMacVerifyRequest.data_crc32c\nwas received by\n[KeyManagementService](/php/docs/reference/cloud-kms/latest/V1.Client.KeyManagementServiceClient) and used\nfor the integrity verification of the\n[data](/php/docs/reference/cloud-kms/latest/V1.MacVerifyRequest#_Google_Cloud_Kms_V1_MacVerifyRequest__getData__). A false value of this\nfield indicates either that\nMacVerifyRequest.data_crc32c\nwas left unset or that it was not delivered to\n[KeyManagementService](/php/docs/reference/cloud-kms/latest/V1.Client.KeyManagementServiceClient). If you've\nset\nMacVerifyRequest.data_crc32c\nbut this field is still false, discard the response and perform a limited\nnumber of retries.\n\n### getVerifiedMacCrc32C\n\nIntegrity verification field. A flag indicating whether\nMacVerifyRequest.mac_crc32c\nwas received by\n[KeyManagementService](/php/docs/reference/cloud-kms/latest/V1.Client.KeyManagementServiceClient) and used\nfor the integrity verification of the\n[data](/php/docs/reference/cloud-kms/latest/V1.MacVerifyRequest#_Google_Cloud_Kms_V1_MacVerifyRequest__getMac__). A false value of this\nfield indicates either that\nMacVerifyRequest.mac_crc32c\nwas left unset or that it was not delivered to\n[KeyManagementService](/php/docs/reference/cloud-kms/latest/V1.Client.KeyManagementServiceClient). If you've\nset\nMacVerifyRequest.mac_crc32c\nbut this field is still false, discard the response and perform a limited\nnumber of retries.\n\n### setVerifiedMacCrc32C\n\nIntegrity verification field. A flag indicating whether\nMacVerifyRequest.mac_crc32c\nwas received by\n[KeyManagementService](/php/docs/reference/cloud-kms/latest/V1.Client.KeyManagementServiceClient) and used\nfor the integrity verification of the\n[data](/php/docs/reference/cloud-kms/latest/V1.MacVerifyRequest#_Google_Cloud_Kms_V1_MacVerifyRequest__getMac__). A false value of this\nfield indicates either that\nMacVerifyRequest.mac_crc32c\nwas left unset or that it was not delivered to\n[KeyManagementService](/php/docs/reference/cloud-kms/latest/V1.Client.KeyManagementServiceClient). If you've\nset\nMacVerifyRequest.mac_crc32c\nbut this field is still false, discard the response and perform a limited\nnumber of retries.\n\n### getVerifiedSuccessIntegrity\n\nIntegrity verification field. This value is used for the integrity\nverification of \\[MacVerifyResponse.success\\]. If the value of this field\ncontradicts the value of \\[MacVerifyResponse.success\\], discard the response\nand perform a limited number of retries.\n\n### setVerifiedSuccessIntegrity\n\nIntegrity verification field. This value is used for the integrity\nverification of \\[MacVerifyResponse.success\\]. If the value of this field\ncontradicts the value of \\[MacVerifyResponse.success\\], discard the response\nand perform a limited number of retries.\n\n### getProtectionLevel\n\nThe [ProtectionLevel](/php/docs/reference/cloud-kms/latest/V1.ProtectionLevel) of the\n[CryptoKeyVersion](/php/docs/reference/cloud-kms/latest/V1.CryptoKeyVersion) used for\nverification.\n\n### setProtectionLevel\n\nThe [ProtectionLevel](/php/docs/reference/cloud-kms/latest/V1.ProtectionLevel) of the\n[CryptoKeyVersion](/php/docs/reference/cloud-kms/latest/V1.CryptoKeyVersion) used for\nverification."]]