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

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

Instance Method Summary collapse

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_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)


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