Show / Hide Table of Contents

Class GoogleDevtoolsArtifactregistryV1Rule

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.

Inheritance
object
GoogleDevtoolsArtifactregistryV1Rule
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ArtifactRegistry.v1.Data
Assembly: Google.Apis.ArtifactRegistry.v1.dll
Syntax
public class GoogleDevtoolsArtifactregistryV1Rule : IDirectResponseSchema

Properties

Action

The action this rule takes.

Declaration
[JsonProperty("action")]
public virtual string Action { get; set; }
Property Value
Type Description
string

Condition

Optional. A CEL expression for conditions that must be met in order for the rule to apply. If not provided, the rule matches all objects.

Declaration
[JsonProperty("condition")]
public virtual Expr Condition { get; set; }
Property Value
Type Description
Expr

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Name

The name of the rule, for example: projects/p1/locations/us-central1/repositories/repo1/rules/rule1.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Operation

Declaration
[JsonProperty("operation")]
public virtual string Operation { get; set; }
Property Value
Type Description
string

PackageId

The package ID the rule applies to. If empty, this rule applies to all packages inside the repository.

Declaration
[JsonProperty("packageId")]
public virtual string PackageId { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX