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, IMessage
Reference 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 |
Username
public string Username { get; set; }
The username to access the remote repository.
Property Value | |
---|---|
Type | Description |
string |