public sealed class GetServiceAccountKeyRequest : IMessage<GetServiceAccountKeyRequest>, IEquatable<GetServiceAccountKeyRequest>, IDeepCloneable<GetServiceAccountKeyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Identity and Access Management (IAM) v1 API class GetServiceAccountKeyRequest.
Required. The resource name of the service account key in the following format:
projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}.
Using - as a wildcard for the PROJECT_ID will infer the project from
the account. The ACCOUNT value can be the email address or the
unique_id of the service account.
[[["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 `GetServiceAccountKeyRequest` class is used to request a specific service account key within the Google Cloud Identity and Access Management (IAM) v1 API, with the latest version being 2.4.0."],["This class inherits from `object` and implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, allowing for message handling, equality checks, deep cloning, and buffer management."],["It requires a resource name in the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}` to identify the service account key, and the `ACCOUNT` can be the email or the unique ID."],["The class allows for the specification of a `PublicKeyType` to control the output format of the public key, defaulting to `TYPE_NONE` where the public key is not returned."],["The `KeyName` property offers a typed view of the resource name, and there are two constructors available for instantiation: a default constructor and one that takes another `GetServiceAccountKeyRequest` instance."]]],[]]