class Google::Apis::CloudkmsV1::MacVerifyResponse

Response message for KeyManagementService.MacVerify.

Attributes

name[RW]

The resource name of the CryptoKeyVersion used for verification. Check this field to verify that the intended resource was used for verification. Corresponds to the JSON property `name` @return [String]

protection_level[RW]

The ProtectionLevel of the CryptoKeyVersion used for verification. Corresponds to the JSON property `protectionLevel` @return [String]

success[RW]

This field indicates whether or not the verification operation for MacVerifyRequest.mac over MacVerifyRequest.data was successful. Corresponds to the JSON property `success` @return [Boolean]

success?[RW]

This field indicates whether or not the verification operation for MacVerifyRequest.mac over MacVerifyRequest.data was successful. Corresponds to the JSON property `success` @return [Boolean]

verified_data_crc32c[RW]

Integrity verification field. A flag indicating whether MacVerifyRequest. data_crc32c was received by KeyManagementService and used for the integrity verification of the data. A false value of this field indicates either that MacVerifyRequest.data_crc32c was left unset or that it was not delivered to KeyManagementService. If you've set MacVerifyRequest.data_crc32c but this field is still false, discard the response and perform a limited number of retries. Corresponds to the JSON property `verifiedDataCrc32c` @return [Boolean]

verified_data_crc32c?[RW]

Integrity verification field. A flag indicating whether MacVerifyRequest. data_crc32c was received by KeyManagementService and used for the integrity verification of the data. A false value of this field indicates either that MacVerifyRequest.data_crc32c was left unset or that it was not delivered to KeyManagementService. If you've set MacVerifyRequest.data_crc32c but this field is still false, discard the response and perform a limited number of retries. Corresponds to the JSON property `verifiedDataCrc32c` @return [Boolean]

verified_mac_crc32c[RW]

Integrity verification field. A flag indicating whether MacVerifyRequest. mac_crc32c was received by KeyManagementService and used for the integrity verification of the data. A false value of this field indicates either that MacVerifyRequest.mac_crc32c was left unset or that it was not delivered to KeyManagementService. If you've set MacVerifyRequest.mac_crc32c but this field is still false, discard the response and perform a limited number of retries. Corresponds to the JSON property `verifiedMacCrc32c` @return [Boolean]

verified_mac_crc32c?[RW]

Integrity verification field. A flag indicating whether MacVerifyRequest. mac_crc32c was received by KeyManagementService and used for the integrity verification of the data. A false value of this field indicates either that MacVerifyRequest.mac_crc32c was left unset or that it was not delivered to KeyManagementService. If you've set MacVerifyRequest.mac_crc32c but this field is still false, discard the response and perform a limited number of retries. Corresponds to the JSON property `verifiedMacCrc32c` @return [Boolean]

verified_success_integrity[RW]

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. Corresponds to the JSON property `verifiedSuccessIntegrity` @return [Boolean]

verified_success_integrity?[RW]

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. Corresponds to the JSON property `verifiedSuccessIntegrity` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudkms_v1/classes.rb, line 1723
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudkms_v1/classes.rb, line 1728
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @protection_level = args[:protection_level] if args.key?(:protection_level)
  @success = args[:success] if args.key?(:success)
  @verified_data_crc32c = args[:verified_data_crc32c] if args.key?(:verified_data_crc32c)
  @verified_mac_crc32c = args[:verified_mac_crc32c] if args.key?(:verified_mac_crc32c)
  @verified_success_integrity = args[:verified_success_integrity] if args.key?(:verified_success_integrity)
end