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.


1873
1874
1875
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1873

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#is_memberBoolean 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

Returns:

  • (Boolean)

1870
1871
1872
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1870

def is_member
  @is_member
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1878
1879
1880
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1878

def update!(**args)
  @is_member = args[:is_member] if args.key?(:is_member)
end