Artifact Registry v1 API - Class RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials (2.6.0)

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.UsernamePasswordCredentials

Namespace

Google.Cloud.ArtifactRegistry.V1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Constructors

UsernamePasswordCredentials()

public UsernamePasswordCredentials()

UsernamePasswordCredentials(UsernamePasswordCredentials)

public UsernamePasswordCredentials(RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials other)
Parameter
NameDescription
otherRemoteRepositoryConfigTypesUpstreamCredentialsTypesUsernamePasswordCredentials

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
TypeDescription
string

Username

public string Username { get; set; }

The username to access the remote repository.

Property Value
TypeDescription
string