Class Rule
A rule to be applied in a Policy.
Implements
Inherited Members
Namespace: Google.Apis.GameServices.v1beta.Data
Assembly: Google.Apis.GameServices.v1beta.dll
Syntax
public class Rule : IDirectResponseSchema
Properties
Action
Required
Declaration
[JsonProperty("action")]
public virtual string Action { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
IList<Condition> |
Description
Human-readable description of the rule.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
In__
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("in")]
public virtual IList<string> In__ { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
LogConfig
The config returned to callers of CheckPolicy for any entries that match the LOG action.
Declaration
[JsonProperty("logConfig")]
public virtual IList<LogConfig> LogConfig { get; set; }
Property Value
Type | Description |
---|---|
IList<LogConfig> |
NotIn
If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. The format for in and not_in entries can be found at in the Local IAM documentation (see go/local-iam#features).
Declaration
[JsonProperty("notIn")]
public virtual IList<string> NotIn { get; set; }
Property Value
Type | Description |
---|---|
IList<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 |
---|---|
IList<string> |