Class Rule
A rule to be applied in a Policy.
Inheritance
System.Object
Rule
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.DeploymentManagerV2Beta.v2beta.Data
Assembly: Google.Apis.DeploymentManagerV2Beta.v2beta.dll
Syntax
public class Rule : IDirectResponseSchema
Properties
Action
Required
Declaration
[JsonProperty("action")]
public virtual string Action { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Conditions
Additional restrictions that must be met. All conditions must pass for the rule to match.
Declaration
[JsonProperty("conditions")]
public virtual IList<Condition> Conditions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<Condition> |
Description
Human-readable description of the rule.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Ins
If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
Declaration
[JsonProperty("ins")]
public virtual IList<string> Ins { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
LogConfigs
The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.
Declaration
[JsonProperty("logConfigs")]
public virtual IList<LogConfig> LogConfigs { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<LogConfig> |
NotIns
If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
Declaration
[JsonProperty("notIns")]
public virtual IList<string> NotIns { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
Permissions
A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '' matches all permissions, and a verb part of '' (e.g., 'storage.buckets.*') matches all verbs.
Declaration
[JsonProperty("permissions")]
public virtual IList<string> Permissions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |