Class: Google::Apis::CloudsearchV1::Roster

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

Overview

Roster profile information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Roster

Returns a new instance of Roster.



14466
14467
14468
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14466

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

Instance Attribute Details

#avatar_urlString

Corresponds to the JSON property avatarUrl

Returns:

  • (String)


14439
14440
14441
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14439

def avatar_url
  @avatar_url
end

#idGoogle::Apis::CloudsearchV1::RosterId

Primary key for Roster resource. Corresponds to the JSON property id



14444
14445
14446
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14444

def id
  @id
end

#membership_countFixnum

Corresponds to the JSON property membershipCount

Returns:

  • (Fixnum)


14449
14450
14451
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14449

def membership_count
  @membership_count
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


14454
14455
14456
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14454

def name
  @name
end

#roster_gaia_keyString

Roster gaia key, usually an email address. Set in looking up rosters response. Corresponds to the JSON property rosterGaiaKey

Returns:

  • (String)


14459
14460
14461
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14459

def roster_gaia_key
  @roster_gaia_key
end

#roster_stateString

Roster deletion state - considered active unless set to deleted Corresponds to the JSON property rosterState

Returns:

  • (String)


14464
14465
14466
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14464

def roster_state
  @roster_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14471
14472
14473
14474
14475
14476
14477
14478
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14471

def update!(**args)
  @avatar_url = args[:avatar_url] if args.key?(:avatar_url)
  @id = args[:id] if args.key?(:id)
  @membership_count = args[:membership_count] if args.key?(:membership_count)
  @name = args[:name] if args.key?(:name)
  @roster_gaia_key = args[:roster_gaia_key] if args.key?(:roster_gaia_key)
  @roster_state = args[:roster_state] if args.key?(:roster_state)
end