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.
Implements
IMessageRemoteRepositoryConfigTypesUpstreamCredentials, IEquatableRemoteRepositoryConfigTypesUpstreamCredentials, IDeepCloneableRemoteRepositoryConfigTypesUpstreamCredentials, IBufferMessage, IMessageNamespace
Google.Cloud.ArtifactRegistry.V1Assembly
Google.Cloud.ArtifactRegistry.V1.dll
Constructors
UpstreamCredentials()
public UpstreamCredentials()
UpstreamCredentials(UpstreamCredentials)
public UpstreamCredentials(RemoteRepositoryConfig.Types.UpstreamCredentials other)
Parameter | |
---|---|
Name | Description |
other | RemoteRepositoryConfigTypesUpstreamCredentials |
Properties
CredentialsCase
public RemoteRepositoryConfig.Types.UpstreamCredentials.CredentialsOneofCase CredentialsCase { get; }
Property Value | |
---|---|
Type | Description |
RemoteRepositoryConfigTypesUpstreamCredentialsCredentialsOneofCase |
UsernamePasswordCredentials
public RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials UsernamePasswordCredentials { get; set; }
Use username and password to access the remote repository.
Property Value | |
---|---|
Type | Description |
RemoteRepositoryConfigTypesUpstreamCredentialsTypesUsernamePasswordCredentials |