class Google::Apis::GameservicesV1beta::Rule
A rule to be applied in a Policy
.
Attributes
Required Corresponds to the JSON property `action` @return [String]
Additional restrictions that must be met. All conditions must pass for the rule to match. Corresponds to the JSON property `conditions` @return [Array<Google::Apis::GameservicesV1beta::Condition>]
Human-readable description of the rule. Corresponds to the JSON property `description` @return [String]
If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/ AUTHORITY_SELECTOR is in at least one of these entries. Corresponds to the JSON property `in` @return [Array<String>]
The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action. Corresponds to the JSON property `logConfig` @return [Array<Google::Apis::GameservicesV1beta::LogConfig>]
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). Corresponds to the JSON property `notIn` @return [Array<String>]
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. Corresponds to the JSON property `permissions` @return [Array<String>]
Public Class Methods
# File lib/google/apis/gameservices_v1beta/classes.rb, line 1902 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/gameservices_v1beta/classes.rb, line 1907 def update!(**args) @action = args[:action] if args.key?(:action) @conditions = args[:conditions] if args.key?(:conditions) @description = args[:description] if args.key?(:description) @in = args[:in] if args.key?(:in) @log_config = args[:log_config] if args.key?(:log_config) @not_in = args[:not_in] if args.key?(:not_in) @permissions = args[:permissions] if args.key?(:permissions) end