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.



17165
17166
17167
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17165

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

Instance Attribute Details

#avatar_urlString

Corresponds to the JSON property avatarUrl

Returns:

  • (String)


17126
17127
17128
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17126

def avatar_url
  @avatar_url
end

#idGoogle::Apis::CloudsearchV1::RosterId

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



17131
17132
17133
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17131

def id
  @id
end

#is_membership_visible_to_callerBoolean Also known as: is_membership_visible_to_caller?

Whether caller has visibility into members of the roster. Corresponds to the JSON property isMembershipVisibleToCaller

Returns:

  • (Boolean)


17136
17137
17138
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17136

def is_membership_visible_to_caller
  @is_membership_visible_to_caller
end

#membership_countFixnum

Corresponds to the JSON property membershipCount

Returns:

  • (Fixnum)


17142
17143
17144
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17142

def membership_count
  @membership_count
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


17147
17148
17149
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17147

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)


17152
17153
17154
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17152

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)


17157
17158
17159
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17157

def roster_state
  @roster_state
end

#segmented_membership_countsGoogle::Apis::CloudsearchV1::AppsDynamiteSharedSegmentedMembershipCounts

Roster membership count. May contain counts based on member type and membership state. Corresponds to the JSON property segmentedMembershipCounts



17163
17164
17165
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17163

def segmented_membership_counts
  @segmented_membership_counts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17170

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