GoogleDevtoolsArtifactregistryV1Rule class
A rule defines the deny or allow action of the operation it applies to and the conditions required for the rule to apply.
You can set one rule for an entire repository and one rule for each package within.
Constructors
- GoogleDevtoolsArtifactregistryV1Rule.new({String? action, Expr? condition, String? name, String? operation, String? packageId})
- GoogleDevtoolsArtifactregistryV1Rule.fromJson(Map json_)
Properties
- action ↔ String?
-
The action this rule takes.
Possible string values are:
getter/setter pair
- condition ↔ Expr?
-
A CEL expression for conditions that must be met in order for the rule to
apply.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
The name of the rule, for example:
projects/p1/locations/us-central1/repositories/repo1/rules/rule1
.getter/setter pair - operation ↔ String?
-
Possible string values are:
getter/setter pair
- packageId ↔ String?
-
The package ID the rule applies to.
getter/setter pair
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited