Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class UpstreamPolicy.
Artifact policy configuration for the repository contents.
Generated from protobuf message google.devtools.artifactregistry.v1.UpstreamPolicy
Namespace
Google \ Cloud \ ArtifactRegistry \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ id
string
The user-provided ID of the upstream policy.
↳ repository
string
A reference to the repository resource, for example: projects/p1/locations/us-central1/repositories/repo1
.
↳ priority
int
Entries with a greater priority value take precedence in the pull order.
getId
The user-provided ID of the upstream policy.
string
setId
The user-provided ID of the upstream policy.
var
string
$this
getRepository
A reference to the repository resource, for example: projects/p1/locations/us-central1/repositories/repo1
.
string
setRepository
A reference to the repository resource, for example: projects/p1/locations/us-central1/repositories/repo1
.
var
string
$this
getPriority
Entries with a greater priority value take precedence in the pull order.
int
setPriority
Entries with a greater priority value take precedence in the pull order.
var
int
$this