# Cloud Key Management Service (KMS) V1 API - Class Google::Cloud::Kms::V1::MacVerifyResponse (v1.13.0)

1.13.0 (latest) 1.12.1 1.11.0 1.10.0 1.9.2 1.8.0 1.7.0 1.6.0 1.5.1 1.4.0 1.3.2 1.2.1 1.1.0 1.0.2 0.27.0 0.26.0 0.25.1 0.24.3 0.23.0 0.22.1 0.21.0 0.20.0 0.19.0 0.18.1 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.2 Reference documentation and code samples for the Cloud Key Management Service (KMS) V1 API class Google::Cloud::Kms::V1::MacVerifyResponse.

Response message for
[KeyManagementService.MacVerify](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-KeyManagementService-Client#Google__Cloud__Kms__V1__KeyManagementService__Client_mac_verify_instance_ "Google::Cloud::Kms::V1::KeyManagementService::Client#mac_verify (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- The resource name of the [CryptoKeyVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersion "Google::Cloud::Kms::V1::CryptoKeyVersion (class)") used for verification. Check this field to verify that the intended resource was used for verification.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- The resource name of the [CryptoKeyVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersion "Google::Cloud::Kms::V1::CryptoKeyVersion (class)") used for verification. Check this field to verify that the intended resource was used for verification.
**Returns**

- (::String) --- The resource name of the [CryptoKeyVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersion "Google::Cloud::Kms::V1::CryptoKeyVersion (class)") used for verification. Check this field to verify that the intended resource was used for verification.

### #protection_level

    def protection_level() -> ::Google::Cloud::Kms::V1::ProtectionLevel

**Returns**

- ([::Google::Cloud::Kms::V1::ProtectionLevel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ProtectionLevel)) --- The [ProtectionLevel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ProtectionLevel "Google::Cloud::Kms::V1::ProtectionLevel (module)") of the [CryptoKeyVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersion "Google::Cloud::Kms::V1::CryptoKeyVersion (class)") used for verification.

### #protection_level=

    def protection_level=(value) -> ::Google::Cloud::Kms::V1::ProtectionLevel

**Parameter**

- **value** ([::Google::Cloud::Kms::V1::ProtectionLevel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ProtectionLevel)) --- The [ProtectionLevel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ProtectionLevel "Google::Cloud::Kms::V1::ProtectionLevel (module)") of the [CryptoKeyVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersion "Google::Cloud::Kms::V1::CryptoKeyVersion (class)") used for verification.
**Returns**

- ([::Google::Cloud::Kms::V1::ProtectionLevel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ProtectionLevel)) --- The [ProtectionLevel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ProtectionLevel "Google::Cloud::Kms::V1::ProtectionLevel (module)") of the [CryptoKeyVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersion "Google::Cloud::Kms::V1::CryptoKeyVersion (class)") used for verification.

### #success

    def success() -> ::Boolean

**Returns**

- (::Boolean) --- This field indicates whether or not the verification operation for [MacVerifyRequest.mac](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_mac_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#mac (method)") over [MacVerifyRequest.data](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_data_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#data (method)") was successful.

### #success=

    def success=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- This field indicates whether or not the verification operation for [MacVerifyRequest.mac](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_mac_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#mac (method)") over [MacVerifyRequest.data](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_data_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#data (method)") was successful.
**Returns**

- (::Boolean) --- This field indicates whether or not the verification operation for [MacVerifyRequest.mac](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_mac_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#mac (method)") over [MacVerifyRequest.data](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_data_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#data (method)") was successful.

### #verified_data_crc32c

    def verified_data_crc32c() -> ::Boolean

**Returns**

- (::Boolean) --- Integrity verification field. A flag indicating whether [MacVerifyRequest.data_crc32c](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_data_crc32c_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#data_crc32c (method)") was received by [KeyManagementService](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-KeyManagementService-Client "Google::Cloud::Kms::V1::KeyManagementService::Client (class)") and used for the integrity verification of the [data](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_data_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#data (method)"). A false value of this field indicates either that [MacVerifyRequest.data_crc32c](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_data_crc32c_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#data_crc32c (method)") was left unset or that it was not delivered to [KeyManagementService](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-KeyManagementService-Client "Google::Cloud::Kms::V1::KeyManagementService::Client (class)"). If you've set [MacVerifyRequest.data_crc32c](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_data_crc32c_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#data_crc32c (method)") but this field is still false, discard the response and perform a limited number of retries.

### #verified_data_crc32c=

    def verified_data_crc32c=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Integrity verification field. A flag indicating whether [MacVerifyRequest.data_crc32c](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_data_crc32c_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#data_crc32c (method)") was received by [KeyManagementService](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-KeyManagementService-Client "Google::Cloud::Kms::V1::KeyManagementService::Client (class)") and used for the integrity verification of the [data](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_data_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#data (method)"). A false value of this field indicates either that [MacVerifyRequest.data_crc32c](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_data_crc32c_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#data_crc32c (method)") was left unset or that it was not delivered to [KeyManagementService](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-KeyManagementService-Client "Google::Cloud::Kms::V1::KeyManagementService::Client (class)"). If you've set [MacVerifyRequest.data_crc32c](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_data_crc32c_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#data_crc32c (method)") but this field is still false, discard the response and perform a limited number of retries.
**Returns**

- (::Boolean) --- Integrity verification field. A flag indicating whether [MacVerifyRequest.data_crc32c](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_data_crc32c_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#data_crc32c (method)") was received by [KeyManagementService](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-KeyManagementService-Client "Google::Cloud::Kms::V1::KeyManagementService::Client (class)") and used for the integrity verification of the [data](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_data_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#data (method)"). A false value of this field indicates either that [MacVerifyRequest.data_crc32c](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_data_crc32c_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#data_crc32c (method)") was left unset or that it was not delivered to [KeyManagementService](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-KeyManagementService-Client "Google::Cloud::Kms::V1::KeyManagementService::Client (class)"). If you've set [MacVerifyRequest.data_crc32c](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_data_crc32c_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#data_crc32c (method)") but this field is still false, discard the response and perform a limited number of retries.

### #verified_mac_crc32c

    def verified_mac_crc32c() -> ::Boolean

**Returns**

- (::Boolean) --- Integrity verification field. A flag indicating whether [MacVerifyRequest.mac_crc32c](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_mac_crc32c_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#mac_crc32c (method)") was received by [KeyManagementService](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-KeyManagementService-Client "Google::Cloud::Kms::V1::KeyManagementService::Client (class)") and used for the integrity verification of the [data](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_mac_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#mac (method)"). A false value of this field indicates either that [MacVerifyRequest.mac_crc32c](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_mac_crc32c_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#mac_crc32c (method)") was left unset or that it was not delivered to [KeyManagementService](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-KeyManagementService-Client "Google::Cloud::Kms::V1::KeyManagementService::Client (class)"). If you've set [MacVerifyRequest.mac_crc32c](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_mac_crc32c_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#mac_crc32c (method)") but this field is still false, discard the response and perform a limited number of retries.

### #verified_mac_crc32c=

    def verified_mac_crc32c=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Integrity verification field. A flag indicating whether [MacVerifyRequest.mac_crc32c](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_mac_crc32c_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#mac_crc32c (method)") was received by [KeyManagementService](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-KeyManagementService-Client "Google::Cloud::Kms::V1::KeyManagementService::Client (class)") and used for the integrity verification of the [data](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_mac_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#mac (method)"). A false value of this field indicates either that [MacVerifyRequest.mac_crc32c](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_mac_crc32c_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#mac_crc32c (method)") was left unset or that it was not delivered to [KeyManagementService](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-KeyManagementService-Client "Google::Cloud::Kms::V1::KeyManagementService::Client (class)"). If you've set [MacVerifyRequest.mac_crc32c](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_mac_crc32c_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#mac_crc32c (method)") but this field is still false, discard the response and perform a limited number of retries.
**Returns**

- (::Boolean) --- Integrity verification field. A flag indicating whether [MacVerifyRequest.mac_crc32c](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_mac_crc32c_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#mac_crc32c (method)") was received by [KeyManagementService](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-KeyManagementService-Client "Google::Cloud::Kms::V1::KeyManagementService::Client (class)") and used for the integrity verification of the [data](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_mac_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#mac (method)"). A false value of this field indicates either that [MacVerifyRequest.mac_crc32c](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_mac_crc32c_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#mac_crc32c (method)") was left unset or that it was not delivered to [KeyManagementService](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-KeyManagementService-Client "Google::Cloud::Kms::V1::KeyManagementService::Client (class)"). If you've set [MacVerifyRequest.mac_crc32c](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-MacVerifyRequest#Google__Cloud__Kms__V1__MacVerifyRequest_mac_crc32c_instance_ "Google::Cloud::Kms::V1::MacVerifyRequest#mac_crc32c (method)") but this field is still false, discard the response and perform a limited number of retries.

### #verified_success_integrity

    def verified_success_integrity() -> ::Boolean

**Returns**

- (::Boolean) --- 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.

### #verified_success_integrity=

    def verified_success_integrity=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- 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**

- (::Boolean) --- 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.