class Google::Apis::CloudidentityV1::MemberRelation
Message representing a transitive membership of a group.
Attributes
member[RW]
Resource name for this member. Corresponds to the JSON property `member` @return [String]
preferred_member_key[RW]
Entity key has an id and a namespace. In case of discussion forums, the id will be an email address without a namespace. Corresponds to the JSON property `preferredMemberKey` @return [Array<Google::Apis::CloudidentityV1::EntityKey>]
relation_type[RW]
The relation between the group and the transitive member. Corresponds to the JSON property `relationType` @return [String]
roles[RW]
The membership role details (i.e name of role and expiry time). Corresponds to the JSON property `roles` @return [Array<Google::Apis::CloudidentityV1::TransitiveMembershipRole>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudidentity_v1/classes.rb, line 1525 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/cloudidentity_v1/classes.rb, line 1530 def update!(**args) @member = args[:member] if args.key?(:member) @preferred_member_key = args[:preferred_member_key] if args.key?(:preferred_member_key) @relation_type = args[:relation_type] if args.key?(:relation_type) @roles = args[:roles] if args.key?(:roles) end