class Google::Apis::ServiceconsumermanagementV1::PolicyBinding
Translates to IAM Policy bindings (without auditing at this level)
Attributes
members[RW]
Uses the same format as in IAM policy. `member` must include both a prefix and ID. For example, `user:`emailId“, `serviceAccount:`emailId“, `group:`emailId` `. Corresponds to the JSON property `members` @return [Array<String>]
role[RW]
Role. (cloud.google.com/iam/docs/understanding-roles) For example, ` roles/viewer`, `roles/editor`, or `roles/owner`. Corresponds to the JSON property `role` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/serviceconsumermanagement_v1/classes.rb, line 2291 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/serviceconsumermanagement_v1/classes.rb, line 2296 def update!(**args) @members = args[:members] if args.key?(:members) @role = args[:role] if args.key?(:role) end