Class: Google::Apis::AdminDirectoryV1::MembersHasMember

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_memberBoolean 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

Returns:

  • (Boolean)


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