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."],[[["The document details the `HmacKeyMetadata` class, which represents metadata for a Google Cloud Storage HMAC key resource, essential for applications authenticating with Google Cloud Storage."],["It provides a list of available versions, ranging from the latest release candidate `2.37.0-rc` down to version `2.11.0`, each linking to its corresponding documentation for the `HmacKeyMetadata` class."],["The `HmacKeyMetadata` class includes functions for setting and retrieving various metadata attributes, such as `access_id`, `id`, `kind`, `project_id`, `service_account_email`, `time_created`, `updated`, and `etag`, as well as `state`."],["Testing modifiers are included in the functions for attributes that cannot normally be changed during updating, creating, or patching an `HmacKeyMetadata` resource, but are required when mocking the C++ client library test results."],["Static functions are provided to easily retrieve the possible states of an HMAC key (`state_active`, `state_inactive`, and `state_deleted`)."]]],[]]