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"]],[["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-04-09 UTC."],[[["The page provides reference documentation for the `PushConfig.Types.OidcToken` class within the Google Cloud Pub/Sub v1 API, detailing its role in generating OpenID Connect tokens."],["Version history for this class is available, ranging from version 2.3.0 to the latest version 3.23.0, and it also includes the version number 3.22.0 for which the documentation is specifically detailed."],["`PushConfig.Types.OidcToken` is a class that implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and it inherits from `object`."],["The `OidcToken` class has two constructors: a default constructor and one that takes another `OidcToken` as a parameter, and it also contains two properties: `Audience` and `ServiceAccountEmail`."],["The `Audience` property specifies the intended recipient of the JWT and if it is not defined it will default to the push endpoint URL, while the `ServiceAccountEmail` is used to generate the OIDC token and is optional."]]],[]]