public sealed class PushConfig.Types.OidcToken : IMessage<PushConfig.Types.OidcToken>, IEquatable<PushConfig.Types.OidcToken>, IDeepCloneable<PushConfig.Types.OidcToken>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Pub/Sub v1 API class PushConfig.Types.OidcToken.
Optional. 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.
[[["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 latest version of the \u003ccode\u003ePushConfig.Types.OidcToken\u003c/code\u003e class within the Google Cloud Pub/Sub v1 API is version 3.23.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class provides functionality to generate OpenID Connect (OIDC) tokens for use with push subscriptions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAudience\u003c/code\u003e property specifies the intended recipient of the OIDC token, defaulting to the push endpoint URL if not explicitly set.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceAccountEmail\u003c/code\u003e property allows specifying the service account used to generate the OIDC token, a setting required for push subscription authentication.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation shows a version history of this class, starting from version 2.3.0 and going all the way to the most current release at 3.23.0.\u003c/p\u003e\n"]]],[],null,[]]