Represents the metadata for a Google Cloud Storage HmacKeyResource.
HMAC keys allow applications to authenticate with Google Cloud Storage using HMAC authentication. Applications can create a limited number of HMAC keys associated with a service account. The application can use the HMAC keys to authenticate with GCS. GCS will use the service account permissions to determine if the request is authorized.
[[["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-03-21 UTC."],[[["This document provides comprehensive documentation for the `HmacKeyMetadata` class in the Google Cloud Storage C++ library, detailing its functionality across various versions, from 2.11.0 to the latest release candidate, 2.37.0-rc."],["`HmacKeyMetadata` represents the metadata for an HMAC key resource used for authenticating applications with Google Cloud Storage."],["The class includes testing modifiers such as `set_access_id`, `set_id`, `set_kind`, `set_project_id`, `set_service_account_email`, `set_time_created`, and `set_updated`, which are specifically designed for use in tests to change immutable attributes."],["The class supports methods for accessing key attributes, including `access_id`, `etag`, `id`, `kind`, `project_id`, `service_account_email`, `time_created`, `updated`, and `state`, along with setting the `etag` and `state`."],["`HmacKeyMetadata` also offers static methods for retrieving predefined states, such as `state_active`, `state_inactive`, and `state_deleted`."]]],[]]