UpstreamPolicy class

Artifact policy configuration for the repository contents.

Constructors

UpstreamPolicy({Input<String>? id, Input<int>? priority, Input<String>? repository})
Creates a new UpstreamPolicy. id The user-provided ID of the upstream policy. priority Entries with a greater priority value take precedence in the pull order. repository A reference to the repository resource, for example: projects/p1/locations/us-central1/repositories/repo1.
const
UpstreamPolicy.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → Input<String>?
The user-provided ID of the upstream policy.
final
priority → Input<int>?
Entries with a greater priority value take precedence in the pull order.
final
repository → Input<String>?
A reference to the repository resource, for example: projects/p1/locations/us-central1/repositories/repo1.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited