Class: Google::Apis::CloudsearchV1::Roster
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::Roster
- 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
-
#avatar_url ⇒ String
Corresponds to the JSON property
avatarUrl. -
#id ⇒ Google::Apis::CloudsearchV1::RosterId
Primary key for Roster resource.
-
#is_membership_visible_to_caller ⇒ Boolean
(also: #is_membership_visible_to_caller?)
Whether caller has visibility into members of the roster.
-
#membership_count ⇒ Fixnum
Corresponds to the JSON property
membershipCount. -
#name ⇒ String
Corresponds to the JSON property
name. -
#roster_gaia_key ⇒ String
Roster gaia key, usually an email address.
-
#roster_state ⇒ String
Roster deletion state - considered active unless set to deleted Corresponds to the JSON property
rosterState. -
#segmented_membership_counts ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedSegmentedMembershipCounts
Roster membership count.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Roster
constructor
A new instance of Roster.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Roster
Returns a new instance of Roster.
17028 17029 17030 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17028 def initialize(**args) update!(**args) end |
Instance Attribute Details
#avatar_url ⇒ String
Corresponds to the JSON property avatarUrl
16989 16990 16991 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16989 def avatar_url @avatar_url end |
#id ⇒ Google::Apis::CloudsearchV1::RosterId
Primary key for Roster resource.
Corresponds to the JSON property id
16994 16995 16996 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16994 def id @id end |
#is_membership_visible_to_caller ⇒ Boolean Also known as: is_membership_visible_to_caller?
Whether caller has visibility into members of the roster.
Corresponds to the JSON property isMembershipVisibleToCaller
16999 17000 17001 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16999 def is_membership_visible_to_caller @is_membership_visible_to_caller end |
#membership_count ⇒ Fixnum
Corresponds to the JSON property membershipCount
17005 17006 17007 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17005 def membership_count @membership_count end |
#name ⇒ String
Corresponds to the JSON property name
17010 17011 17012 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17010 def name @name end |
#roster_gaia_key ⇒ String
Roster gaia key, usually an email address. Set in looking up rosters response.
Corresponds to the JSON property rosterGaiaKey
17015 17016 17017 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17015 def roster_gaia_key @roster_gaia_key end |
#roster_state ⇒ String
Roster deletion state - considered active unless set to deleted
Corresponds to the JSON property rosterState
17020 17021 17022 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17020 def roster_state @roster_state end |
#segmented_membership_counts ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedSegmentedMembershipCounts
Roster membership count. May contain counts based on member type and
membership state.
Corresponds to the JSON property segmentedMembershipCounts
17026 17027 17028 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17026 def segmented_membership_counts @segmented_membership_counts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17033 17034 17035 17036 17037 17038 17039 17040 17041 17042 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17033 def update!(**args) @avatar_url = args[:avatar_url] if args.key?(:avatar_url) @id = args[:id] if args.key?(:id) @is_membership_visible_to_caller = args[:is_membership_visible_to_caller] if args.key?(:is_membership_visible_to_caller) @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) @segmented_membership_counts = args[:segmented_membership_counts] if args.key?(:segmented_membership_counts) end |