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"]],[["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 content details various versions of `OidcToken`, a class within the `Google.Cloud.PubSub.V1` namespace used for generating OpenID Connect tokens, with the latest version being 3.23.0."],["`OidcToken` is used to configure the generation of OpenID Connect tokens and is part of the `PushConfig.Types` in the Google Cloud Pub/Sub library, containing information for the authentication process."],["The `OidcToken` class inherits from `Object` and implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message handling, equality checks, deep cloning, and buffered messages."],["The `OidcToken` class has two constructors: a default one `OidcToken()` and another `OidcToken(PushConfig.Types.OidcToken)` which accepts an `OidcToken` object as a parameter, allowing for object creation and initialization."],["`OidcToken` has two main properties, `Audience` which specifies the intended recipients of the JWT and `ServiceAccountEmail` which is the email of the service account to use for the token, with the `Audience` defaulting to the Push endpoint URL if not specified."]]],[]]