Class: Google::Apis::AdminDirectoryV1::MembersHasMember
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::MembersHasMember
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admin_directory_v1/classes.rb,
lib/google/apis/admin_directory_v1/representations.rb,
lib/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.
2938 2939 2940 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2938 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
2935 2936 2937 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2935 def is_member @is_member end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2943 2944 2945 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2943 def update!(**args) @is_member = args[:is_member] if args.key?(:is_member) end |