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
1630 1631 1632 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1630 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
1627 1628 1629 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1627 def is_member @is_member end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1635 1636 1637 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1635 def update!(**args) @is_member = args[:is_member] if args.key?(:is_member) end |