Class: Google::Apis::AdminDirectoryV1::MembersHasMember
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::MembersHasMember
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admin_directory_v1/classes.rb,
generated/google/apis/admin_directory_v1/representations.rb,
generated/google/apis/admin_directory_v1/representations.rb
Overview
JSON template for Has Member response in Directory API.
Instance Attribute Summary collapse
-
#is_member ⇒ Boolean
(also: #is_member?)
Identifies whether the given user is a member of the group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MembersHasMember
constructor
A new instance of MembersHasMember.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MembersHasMember
Returns a new instance of MembersHasMember
1791 1792 1793 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1791 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_member ⇒ Boolean Also known as: is_member?
Identifies whether the given user is a member of the group. Membership can be
direct or nested.
Corresponds to the JSON property isMember
1788 1789 1790 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1788 def is_member @is_member end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1796 1797 1798 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1796 def update!(**args) @is_member = args[:is_member] if args.key?(:is_member) end |