class Google::Apis::GameservicesV1::Condition

A condition to be met.

Attributes

iam[RW]

Trusted attributes supplied by the IAM system. Corresponds to the JSON property `iam` @return [String]

op[RW]

An operator to apply the subject with. Corresponds to the JSON property `op` @return [String]

svc[RW]

Trusted attributes discharged by the service. Corresponds to the JSON property `svc` @return [String]

sys[RW]

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]

values[RW]

The objects of the condition. Corresponds to the JSON property `values` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/gameservices_v1/classes.rb, line 273
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/gameservices_v1/classes.rb, line 278
def update!(**args)
  @iam = args[:iam] if args.key?(:iam)
  @op = args[:op] if args.key?(:op)
  @svc = args[:svc] if args.key?(:svc)
  @sys = args[:sys] if args.key?(:sys)
  @values = args[:values] if args.key?(:values)
end