public sealed class RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials : IMessage<RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials>, IEquatable<RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials>, IDeepCloneable<RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials>, IBufferMessage, IMessageReference documentation and code samples for the Artifact Registry v1 API class RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials.
Username and password credentials.
Inheritance
object > RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentialsImplements
IMessageRemoteRepositoryConfigTypesUpstreamCredentialsTypesUsernamePasswordCredentials, IEquatableRemoteRepositoryConfigTypesUpstreamCredentialsTypesUsernamePasswordCredentials, IDeepCloneableRemoteRepositoryConfigTypesUpstreamCredentialsTypesUsernamePasswordCredentials, IBufferMessage, IMessageNamespace
Google.Cloud.ArtifactRegistry.V1Assembly
Google.Cloud.ArtifactRegistry.V1.dll
Constructors
UsernamePasswordCredentials()
public UsernamePasswordCredentials()UsernamePasswordCredentials(UsernamePasswordCredentials)
public UsernamePasswordCredentials(RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials other)| Parameter | |
|---|---|
| Name | Description |
other |
RemoteRepositoryConfigTypesUpstreamCredentialsTypesUsernamePasswordCredentials |
Properties
PasswordSecretVersion
public string PasswordSecretVersion { get; set; }The Secret Manager key version that holds the password to access the
remote repository. Must be in the format of
projects/{project}/secrets/{secret}/versions/{version}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
PasswordSecretVersionAsSecretVersionName
public SecretVersionName PasswordSecretVersionAsSecretVersionName { get; set; }SecretVersionName-typed view over the PasswordSecretVersion resource name property.
| Property Value | |
|---|---|
| Type | Description |
SecretVersionName |
|
Username
public string Username { get; set; }The username to access the remote repository.
| Property Value | |
|---|---|
| Type | Description |
string |
|