public sealed class OAuthToken : IMessage<OAuthToken>, IEquatable<OAuthToken>, IDeepCloneable<OAuthToken>, IBufferMessage, IMessage
Contains information needed for generating an OAuth token. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
Implements
IMessage<OAuthToken>, IEquatable<OAuthToken>, IDeepCloneable<OAuthToken>, IBufferMessage, IMessageNamespace
Google.Cloud.Tasks.V2Beta3Assembly
Google.Cloud.Tasks.V2Beta3.dll
Constructors
OAuthToken()
public OAuthToken()
OAuthToken(OAuthToken)
public OAuthToken(OAuthToken other)
Parameter | |
---|---|
Name | Description |
other | OAuthToken |
Properties
Scope
public string Scope { get; set; }
OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform"; will be used.
Property Value | |
---|---|
Type | Description |
String |
ServiceAccountEmail
public string ServiceAccountEmail { get; set; }
Service account email to be used for generating OAuth token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account.
Property Value | |
---|---|
Type | Description |
String |