public sealed class OidcToken : IMessage<OidcToken>, IEquatable<OidcToken>, IDeepCloneable<OidcToken>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Scheduler v1 API class OidcToken.
Contains information needed for generating an
OpenID Connect
token.
This type of authorization can be used for many scenarios, including
calling Cloud Run, or endpoints where you intend to validate the token
yourself.
Service account email
to be used for generating OIDC token.
The service account must be within the same project as the job. The caller
must have 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 `OidcToken` class in the Google Cloud Scheduler v1 API is used to generate OpenID Connect tokens for authorization, suitable for calling Cloud Run or other endpoints that require token validation."],["This `OidcToken` class is part of the `Google.Cloud.Scheduler.V1` namespace, and is available within the `Google.Cloud.Scheduler.V1.dll` assembly."],["The `OidcToken` class includes properties such as `Audience` and `ServiceAccountEmail`, which allow configuration of the token's target audience and the service account used for generation."],["The latest available version of OidcToken is 3.5.0, and there are several other version available from 3.4.0 all the way to 2.2.0."],["The `OidcToken` class inherits from `Object` and implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, offering functionalities for message handling, equality checks, deep cloning, and buffer operations."]]],[]]