Class: Google::Apis::CloudidentityV1beta1::MemberRelation
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1beta1::MemberRelation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudidentity_v1beta1/classes.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb
Overview
Message representing a transitive membership of a group.
Instance Attribute Summary collapse
-
#member ⇒ String
Resource name for this member.
-
#preferred_member_key ⇒ Array<Google::Apis::CloudidentityV1beta1::EntityKey>
Entity key has an id and a namespace.
-
#relation_type ⇒ String
The relation between the group and the transitive membership.
-
#roles ⇒ Array<Google::Apis::CloudidentityV1beta1::TransitiveMembershipRole>
The membership role details (i.e name of role and expiry time).
Instance Method Summary collapse
-
#initialize(**args) ⇒ MemberRelation
constructor
A new instance of MemberRelation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MemberRelation
Returns a new instance of MemberRelation.
3135 3136 3137 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3135 def initialize(**args) update!(**args) end |
Instance Attribute Details
#member ⇒ String
Resource name for this member.
Corresponds to the JSON property member
3117 3118 3119 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3117 def member @member end |
#preferred_member_key ⇒ Array<Google::Apis::CloudidentityV1beta1::EntityKey>
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
3123 3124 3125 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3123 def preferred_member_key @preferred_member_key end |
#relation_type ⇒ String
The relation between the group and the transitive membership.
Corresponds to the JSON property relationType
3128 3129 3130 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3128 def relation_type @relation_type end |
#roles ⇒ Array<Google::Apis::CloudidentityV1beta1::TransitiveMembershipRole>
The membership role details (i.e name of role and expiry time).
Corresponds to the JSON property roles
3133 3134 3135 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3133 def roles @roles end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3140 3141 3142 3143 3144 3145 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3140 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 |