public sealed class OidcToken : IMessage<PushConfig.Types.OidcToken>, IEquatable<PushConfig.Types.OidcToken>, IDeepCloneable<PushConfig.Types.OidcToken>, IBufferMessage, IMessage
Audience to be used when generating OIDC token. The audience claim
identifies the recipients that the JWT is intended for. The audience
value is a single case-sensitive string. Having multiple values (array)
for the audience field is not supported. More info about the OIDC JWT
token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3
Note: if not specified, the Push endpoint URL will be used.
Service account
email
to be used for generating the OIDC token. The caller (for
CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must
have the iam.serviceAccounts.actAs permission for the service account.
[[["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\u003eThe content details various versions of \u003ccode\u003eOidcToken\u003c/code\u003e, a class within the \u003ccode\u003eGoogle.Cloud.PubSub.V1\u003c/code\u003e namespace used for generating OpenID Connect tokens, with the latest version being 3.23.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOidcToken\u003c/code\u003e is used to configure the generation of OpenID Connect tokens and is part of the \u003ccode\u003ePushConfig.Types\u003c/code\u003e in the Google Cloud Pub/Sub library, containing information for the authentication process.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOidcToken\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality checks, deep cloning, and buffered messages.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOidcToken\u003c/code\u003e class has two constructors: a default one \u003ccode\u003eOidcToken()\u003c/code\u003e and another \u003ccode\u003eOidcToken(PushConfig.Types.OidcToken)\u003c/code\u003e which accepts an \u003ccode\u003eOidcToken\u003c/code\u003e object as a parameter, allowing for object creation and initialization.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOidcToken\u003c/code\u003e has two main properties, \u003ccode\u003eAudience\u003c/code\u003e which specifies the intended recipients of the JWT and \u003ccode\u003eServiceAccountEmail\u003c/code\u003e which is the email of the service account to use for the token, with the \u003ccode\u003eAudience\u003c/code\u003e defaulting to the Push endpoint URL if not specified.\u003c/p\u003e\n"]]],[],null,[]]