GoogleApi.GameServices.V1beta.Model.Rule (google_api_game_services v0.10.2) View Source
A rule to be applied in a Policy.
Attributes
-
action
(type:String.t
, default:nil
) - Required -
conditions
(type:list(GoogleApi.GameServices.V1beta.Model.Condition.t)
, default:nil
) - Additional restrictions that must be met. All conditions must pass for the rule to match. -
description
(type:String.t
, default:nil
) - Human-readable description of the rule. -
in
(type:list(String.t)
, default:nil
) - If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. -
logConfig
(type:list(GoogleApi.GameServices.V1beta.Model.LogConfig.t)
, default:nil
) - The config returned to callers of CheckPolicy for any entries that match the LOG action. -
notIn
(type:list(String.t)
, default:nil
) - 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). -
permissions
(type:list(String.t)
, default:nil
) - 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.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.GameServices.V1beta.Model.Rule{ action: String.t() | nil, conditions: [GoogleApi.GameServices.V1beta.Model.Condition.t()] | nil, description: String.t() | nil, in: [String.t()] | nil, logConfig: [GoogleApi.GameServices.V1beta.Model.LogConfig.t()] | nil, notIn: [String.t()] | nil, permissions: [String.t()] | nil }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.