public sealed class GenerateIdTokenRequest : IMessage<GenerateIdTokenRequest>, IEquatable<GenerateIdTokenRequest>, IDeepCloneable<GenerateIdTokenRequest>, IBufferMessage, IMessage
The sequence of service accounts in a delegation chain. Each service
account must be granted the roles/iam.serviceAccountTokenCreator role
on its next service account in the chain. The last service account in the
chain must be granted the roles/iam.serviceAccountTokenCreator role
on the service account that is specified in the name field of the
request.
The delegates must have the following format:
projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}. The - wildcard
character is required; replacing it with a project ID is invalid.
Required. The resource name of the service account for which the credentials
are requested, in the following format:
projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}. The - wildcard
character is required; replacing it with a project ID is invalid.
[[["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-07 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eGenerateIdTokenRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Iam.Credentials.V1\u003c/code\u003e namespace, used for requesting credentials for a service account.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGenerateIdTokenRequest\u003c/code\u003e class is a part of the Google Cloud IAM Credentials API, implemented through the \u003ccode\u003eGoogle.Cloud.Iam.Credentials.V1.dll\u003c/code\u003e assembly and includes multiple versions from 1.0.0 to the latest version 2.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering functionalities like deep cloning and equality checks.\u003c/p\u003e\n"],["\u003cp\u003eKey properties within the \u003ccode\u003eGenerateIdTokenRequest\u003c/code\u003e class include \u003ccode\u003eAudience\u003c/code\u003e to specify token access, \u003ccode\u003eDelegates\u003c/code\u003e for service account delegation chains, \u003ccode\u003eIncludeEmail\u003c/code\u003e to include the service account email, and \u003ccode\u003eName\u003c/code\u003e for the service account's resource name.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the \u003ccode\u003eGenerateIdTokenRequest\u003c/code\u003e class, one parameterless and one accepting another \u003ccode\u003eGenerateIdTokenRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]