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."],[[["This webpage details the `OidcToken` class, which is utilized for generating OpenID Connect tokens for use with Google Cloud Pub/Sub."],["The `OidcToken` class is part of the `Google.Cloud.PubSub.V1` namespace, residing in the `Google.Cloud.PubSub.V1.dll` assembly and is implemented by various versions, from 2.3.0 to the latest 3.23.0."],["The class inherits from `Object` and implements `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` interfaces, providing capabilities for message handling, equality checking, deep cloning, and buffer manipulation."],["It contains two constructors: a default `OidcToken()` constructor and an overloaded one that accepts another `OidcToken` instance to copy data."],["The `OidcToken` class includes two properties: `Audience`, which specifies the intended recipient of the JWT and defaults to the Push endpoint URL if not set, and `ServiceAccountEmail`, which identifies the service account used for token generation, requiring appropriate IAM permissions."]]],[]]