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?)
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MembersHasMember
constructor
A new instance of MembersHasMember.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MembersHasMember
Returns a new instance of MembersHasMember.
2042 2043 2044 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2042 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_member ⇒ Boolean Also known as: is_member?
Output only. Identifies whether the given user is a member of the group.
Membership can be direct or nested.
Corresponds to the JSON property isMember
2039 2040 2041 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2039 def is_member @is_member end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2047 2048 2049 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2047 def update!(**args) @is_member = args[:is_member] if args.key?(:is_member) end |