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

public sealed class RemoteRepositoryConfig.Types.UpstreamCredentials : IMessage<RemoteRepositoryConfig.Types.UpstreamCredentials>, IEquatable<RemoteRepositoryConfig.Types.UpstreamCredentials>, IDeepCloneable<RemoteRepositoryConfig.Types.UpstreamCredentials>, IBufferMessage, IMessage

Reference documentation and code samples for the Artifact Registry v1 API class RemoteRepositoryConfig.Types.UpstreamCredentials.

The credentials to access the remote repository.

Inheritance

object > RemoteRepositoryConfig.Types.UpstreamCredentials

Namespace

Google.Cloud.ArtifactRegistry.V1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Constructors

UpstreamCredentials()

public UpstreamCredentials()

UpstreamCredentials(UpstreamCredentials)

public UpstreamCredentials(RemoteRepositoryConfig.Types.UpstreamCredentials other)
Parameter
NameDescription
otherRemoteRepositoryConfigTypesUpstreamCredentials

Properties

CredentialsCase

public RemoteRepositoryConfig.Types.UpstreamCredentials.CredentialsOneofCase CredentialsCase { get; }
Property Value
TypeDescription
RemoteRepositoryConfigTypesUpstreamCredentialsCredentialsOneofCase

UsernamePasswordCredentials

public RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials UsernamePasswordCredentials { get; set; }

Use username and password to access the remote repository.

Property Value
TypeDescription
RemoteRepositoryConfigTypesUpstreamCredentialsTypesUsernamePasswordCredentials