public sealed class UserCredential : IMessage<UserCredential>, IEquatable<UserCredential>, IDeepCloneable<UserCredential>, IBufferMessage, IMessageReference documentation and code samples for the Developer Connect v1 API class UserCredential.
Represents a personal access token that authorized the Connection, and associated metadata.
Implements
IMessageUserCredential, IEquatableUserCredential, IDeepCloneableUserCredential, IBufferMessage, IMessageNamespace
Google.Cloud.DeveloperConnect.V1Assembly
Google.Cloud.DeveloperConnect.V1.dll
Constructors
UserCredential()
public UserCredential()UserCredential(UserCredential)
public UserCredential(UserCredential other)| Parameter | |
|---|---|
| Name | Description |
other |
UserCredential |
Properties
UserTokenSecretVersion
public string UserTokenSecretVersion { get; set; }Required. A SecretManager resource containing the user token that
authorizes the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
| Property Value | |
|---|---|
| Type | Description |
string |
|
UserTokenSecretVersionAsSecretVersionName
public SecretVersionName UserTokenSecretVersionAsSecretVersionName { get; set; }SecretVersionName-typed view over the UserTokenSecretVersion 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 |
|