public sealed class 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.
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-04-09 UTC."],[[["The latest version available for the `Google.Cloud.PubSub.V1.PushConfig.Types.OidcToken` is 3.23.0, with a list of previous versions down to 2.3.0 provided for reference."],["`OidcToken` is a class in the Google Cloud Pub/Sub v1 API that contains necessary information for generating an OpenID Connect token."],["This class implements `IMessage\u003cPushConfig.Types.OidcToken\u003e`, `IEquatable\u003cPushConfig.Types.OidcToken\u003e`, `IDeepCloneable\u003cPushConfig.Types.OidcToken\u003e`, `IBufferMessage`, and `IMessage`."],["The class has two constructors: a default `OidcToken()` and one that takes `PushConfig.Types.OidcToken` as a parameter."],["Key properties include `Audience`, which defines the recipients for the JWT and defaults to the push endpoint URL, and `ServiceAccountEmail`, which specifies the service account used for generating the OIDC token."]]],[]]