Class OidcToken
Contains information needed for generating an OpenID Connect token.
Implements
Inherited Members
Namespace: Google.Apis.Pubsub.v1beta2.Data
Assembly: Google.Apis.Pubsub.v1beta2.dll
Syntax
public class OidcToken : IDirectResponseSchema
Properties
Audience
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.
Declaration
[JsonProperty("audience")]
public virtual string Audience { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ServiceAccountEmail
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.
Declaration
[JsonProperty("serviceAccountEmail")]
public virtual string ServiceAccountEmail { get; set; }
Property Value
Type | Description |
---|---|
string |