Artifact Registry v1 API - Class UpstreamPolicy (2.5.0)

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.

Inheritance

object > UpstreamPolicy

Namespace

Google.Cloud.ArtifactRegistry.V1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Constructors

UpstreamPolicy()

public UpstreamPolicy()

UpstreamPolicy(UpstreamPolicy)

public UpstreamPolicy(UpstreamPolicy other)
Parameter
NameDescription
otherUpstreamPolicy

Properties

Id

public string Id { get; set; }

The user-provided ID of the upstream policy.

Property Value
TypeDescription
string

Priority

public int Priority { get; set; }

Entries with a greater priority value take precedence in the pull order.

Property Value
TypeDescription
int

Repository

public string Repository { get; set; }

A reference to the repository resource, for example: projects/p1/locations/us-central1/repositories/repo1.

Property Value
TypeDescription
string

RepositoryAsRepositoryName

public RepositoryName RepositoryAsRepositoryName { get; set; }

RepositoryName-typed view over the Repository resource name property.

Property Value
TypeDescription
RepositoryName