public sealed class UpstreamPolicy : IMessage<UpstreamPolicy>, IEquatable<UpstreamPolicy>, IDeepCloneable<UpstreamPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Artifact Registry v1 API class UpstreamPolicy.
Artifact policy configuration for the repository contents.
Implements
IMessageUpstreamPolicy, IEquatableUpstreamPolicy, IDeepCloneableUpstreamPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.ArtifactRegistry.V1Assembly
Google.Cloud.ArtifactRegistry.V1.dll
Constructors
UpstreamPolicy()
public UpstreamPolicy()
UpstreamPolicy(UpstreamPolicy)
public UpstreamPolicy(UpstreamPolicy other)
Parameter | |
---|---|
Name | Description |
other | UpstreamPolicy |
Properties
Id
public string Id { get; set; }
The user-provided ID of the upstream policy.
Property Value | |
---|---|
Type | Description |
string |
Priority
public int Priority { get; set; }
Entries with a greater priority value take precedence in the pull order.
Property Value | |
---|---|
Type | Description |
int |
Repository
public string Repository { get; set; }
A reference to the repository resource, for example:
projects/p1/locations/us-central1/repositories/repo1
.
Property Value | |
---|---|
Type | Description |
string |
RepositoryAsRepositoryName
public RepositoryName RepositoryAsRepositoryName { get; set; }
RepositoryName-typed view over the Repository resource name property.
Property Value | |
---|---|
Type | Description |
RepositoryName |