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.
-
#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.
14547 14548 14549 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14547 def initialize(**args) update!(**args) end |
Instance Attribute Details
#avatar_url ⇒ String
Corresponds to the JSON property avatarUrl
14514 14515 14516 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14514 def avatar_url @avatar_url end |
#id ⇒ Google::Apis::CloudsearchV1::RosterId
Primary key for Roster resource.
Corresponds to the JSON property id
14519 14520 14521 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14519 def id @id end |
#membership_count ⇒ Fixnum
Corresponds to the JSON property membershipCount
14524 14525 14526 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14524 def membership_count @membership_count end |
#name ⇒ String
Corresponds to the JSON property name
14529 14530 14531 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14529 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
14534 14535 14536 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14534 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
14539 14540 14541 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14539 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
14545 14546 14547 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14545 def segmented_membership_counts @segmented_membership_counts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14552 14553 14554 14555 14556 14557 14558 14559 14560 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14552 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) @segmented_membership_counts = args[:segmented_membership_counts] if args.key?(:segmented_membership_counts) end |