View Source GoogleApi.ArtifactRegistry.V1.Model.GoogleDevtoolsArtifactregistryV1Rule (google_api_artifact_registry v0.22.0)
A Rule applies to repository or package level. It defines the deny or allow action of the operation when the conditions in the rule are met.
Attributes
-
action
(type:String.t
, default:nil
) - The action this rule makes. -
condition
(type:GoogleApi.ArtifactRegistry.V1.Model.Expr.t
, default:nil
) - Optional. The condition of the rule in CEL expression. If not provided, the rule matches all the objects. -
name
(type:String.t
, default:nil
) - The name of the rule, for example: "projects/p1/locations/us-central1/repositories/repo1/rules/rule1". -
operation
(type:String.t
, default:nil
) - -
packageId
(type:String.t
, default:nil
) - The package ID the rule applies to. If empty, this rule applies to all the packages inside the repository.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ArtifactRegistry.V1.Model.GoogleDevtoolsArtifactregistryV1Rule{ action: String.t() | nil, condition: GoogleApi.ArtifactRegistry.V1.Model.Expr.t() | nil, name: String.t() | nil, operation: String.t() | nil, packageId: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.