class Google::Apis::IamV1::Condition
A condition to be met.
Attributes
Trusted attributes supplied by the IAM system. Corresponds to the JSON property `iam` @return [String]
An operator to apply the subject with. Corresponds to the JSON property `op` @return [String]
Trusted attributes discharged by the service. Corresponds to the JSON property `svc` @return [String]
Trusted attributes supplied by any service that owns resources and uses the IAM system for access control. Corresponds to the JSON property `sys` @return [String]
The object of the condition. Exactly one of these must be set. Corresponds to the JSON property `value` @return [String]
The objects of the condition. This is mutually exclusive with 'value'. Corresponds to the JSON property `values` @return [Array<String>]
Public Class Methods
# File generated/google/apis/iam_v1/classes.rb, line 488 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/iam_v1/classes.rb, line 493 def update!(**args) @iam = args[:iam] if args.key?(:iam) @sys = args[:sys] if args.key?(:sys) @svc = args[:svc] if args.key?(:svc) @op = args[:op] if args.key?(:op) @value = args[:value] if args.key?(:value) @values = args[:values] if args.key?(:values) end