Class: Google::Apis::CloudsearchV1::Member

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Member

Returns a new instance of Member.



13651
13652
13653
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13651

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

Instance Attribute Details

#rosterGoogle::Apis::CloudsearchV1::Roster

Roster profile information. Corresponds to the JSON property roster



13644
13645
13646
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13644

def roster
  @roster
end

#userGoogle::Apis::CloudsearchV1::User

User profile information. This user is not necessarily member of a space. Corresponds to the JSON property user



13649
13650
13651
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13649

def user
  @user
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13656
13657
13658
13659
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13656

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