public sealed class OAuthCredential : IMessage<OAuthCredential>, IEquatable<OAuthCredential>, IDeepCloneable<OAuthCredential>, IBufferMessage, IMessage
Reference documentation and code samples for the Developer Connect v1 API class OAuthCredential.
Represents an OAuth token of the account that authorized the Connection, and associated metadata.
Implements
IMessageOAuthCredential, IEquatableOAuthCredential, IDeepCloneableOAuthCredential, IBufferMessage, IMessageNamespace
Google.Cloud.DeveloperConnect.V1Assembly
Google.Cloud.DeveloperConnect.V1.dll
Constructors
OAuthCredential()
public OAuthCredential()
OAuthCredential(OAuthCredential)
public OAuthCredential(OAuthCredential other)
Parameter | |
---|---|
Name | Description |
other |
OAuthCredential |
Properties
OauthTokenSecretVersion
public string OauthTokenSecretVersion { get; set; }
Required. A SecretManager resource containing the OAuth token that
authorizes the connection. Format: projects/*/secrets/*/versions/*
.
Property Value | |
---|---|
Type | Description |
string |
OauthTokenSecretVersionAsSecretVersionName
public SecretVersionName OauthTokenSecretVersionAsSecretVersionName { get; set; }
SecretVersionName-typed view over the OauthTokenSecretVersion resource name property.
Property Value | |
---|---|
Type | Description |
SecretVersionName |
Username
public string Username { get; set; }
Output only. The username associated with this token.
Property Value | |
---|---|
Type | Description |
string |