Class HmacKeyMetadata (2.39.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.39.0keyboard_arrow_down
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.
See Also
https://cloud.google.com/storage/docs/authentication/hmackeys for general information on HMAC keys.
See Also
https://cloud.google.com/storage/ for general information on Google Cloud Storage.
Constructors
Functions
The following attributes cannot be changed when updating, creating, or patching an HmacKeyMetadata resource.
However, it is useful to change them in tests, e.g., when mocking the results from the C++ client library.
Parameter
Name
Description
v
std::string
Returns
Type
Description
HmacKeyMetadata &
The following attributes cannot be changed when updating, creating, or patching an HmacKeyMetadata resource.
However, it is useful to change them in tests, e.g., when mocking the results from the C++ client library.
Parameter
Name
Description
v
std::string
Returns
Type
Description
HmacKeyMetadata &
The following attributes cannot be changed when updating, creating, or patching an HmacKeyMetadata resource.
However, it is useful to change them in tests, e.g., when mocking the results from the C++ client library.
Parameter
Name
Description
v
std::string
Returns
Type
Description
HmacKeyMetadata &
The following attributes cannot be changed when updating, creating, or patching an HmacKeyMetadata resource.
However, it is useful to change them in tests, e.g., when mocking the results from the C++ client library.
Parameter
Name
Description
v
std::string
Returns
Type
Description
HmacKeyMetadata &
The following attributes cannot be changed when updating, creating, or patching an HmacKeyMetadata resource.
However, it is useful to change them in tests, e.g., when mocking the results from the C++ client library.
Parameter
Name
Description
v
std::string
Returns
Type
Description
HmacKeyMetadata &
The following attributes cannot be changed when updating, creating, or patching an HmacKeyMetadata resource.
However, it is useful to change them in tests, e.g., when mocking the results from the C++ client library.
Parameter
Name
Description
v
std::chrono::system_clock::time_point
Returns
Type
Description
HmacKeyMetadata &
The following attributes cannot be changed when updating, creating, or patching an HmacKeyMetadata resource.
However, it is useful to change them in tests, e.g., when mocking the results from the C++ client library.
Parameter
Name
Description
v
std::chrono::system_clock::time_point
Returns
Type
Description
HmacKeyMetadata &
Returns
Type
Description
std::string const &
Returns
Type
Description
std::string const &
Parameter
Name
Description
v
std::string
Returns
Type
Description
HmacKeyMetadata &
Returns
Type
Description
std::string const &
Returns
Type
Description
std::string const &
Returns
Type
Description
std::string const &
Returns
Type
Description
std::string const &
Returns
Type
Description
std::string const &
Parameter
Name
Description
v
std::string
Returns
Type
Description
HmacKeyMetadata &
Returns
Type
Description
std::chrono::system_clock::time_point
Returns
Type
Description
std::chrono::system_clock::time_point
Returns
Type
Description
std::string
Returns
Type
Description
std::string
Returns
Type
Description
std::string
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[],[]]