Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedSpaceInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedSpaceInfo
- 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
Defines the representation of a single matching space.
Instance Attribute Summary collapse
-
#avatar_info ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedAvatarInfo
Corresponds to the JSON property
avatarInfo
. -
#avatar_url ⇒ String
Corresponds to the JSON property
avatarUrl
. -
#description ⇒ String
Corresponds to the JSON property
description
. -
#group_id ⇒ Google::Apis::CloudsearchV1::GroupId
Id representing a group that could be a space, a chat, or a direct message space.
-
#inviter_email ⇒ String
The email address of the user that invited the calling user to the room, if available.
-
#is_external ⇒ Boolean
(also: #is_external?)
Whether this is a space that enables guest access Corresponds to the JSON property
isExternal
. -
#name ⇒ String
Corresponds to the JSON property
name
. -
#num_members ⇒ Fixnum
Deprecated.
-
#segmented_membership_counts ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedSegmentedMembershipCounts
Member counts object with types of members and their respective counts.
-
#user_membership_state ⇒ String
searching user's membership state in this space Corresponds to the JSON property
userMembershipState
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedSpaceInfo
constructor
A new instance of AppsDynamiteSharedSpaceInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedSpaceInfo
Returns a new instance of AppsDynamiteSharedSpaceInfo.
2265 2266 2267 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2265 def initialize(**args) update!(**args) end |
Instance Attribute Details
#avatar_info ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedAvatarInfo
Corresponds to the JSON property avatarInfo
2213 2214 2215 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2213 def avatar_info @avatar_info end |
#avatar_url ⇒ String
Corresponds to the JSON property avatarUrl
2218 2219 2220 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2218 def avatar_url @avatar_url end |
#description ⇒ String
Corresponds to the JSON property description
2223 2224 2225 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2223 def description @description end |
#group_id ⇒ Google::Apis::CloudsearchV1::GroupId
Id representing a group that could be a space, a chat, or a direct message
space. Which ID is set here will determine which group
Corresponds to the JSON property groupId
2229 2230 2231 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2229 def group_id @group_id end |
#inviter_email ⇒ String
The email address of the user that invited the calling user to the room, if
available. This field will only be populated for direct invites, it will be
empty if the user was indirectly invited to the group.
Corresponds to the JSON property inviterEmail
2236 2237 2238 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2236 def inviter_email @inviter_email end |
#is_external ⇒ Boolean Also known as: is_external?
Whether this is a space that enables guest access
Corresponds to the JSON property isExternal
2241 2242 2243 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2241 def is_external @is_external end |
#name ⇒ String
Corresponds to the JSON property name
2247 2248 2249 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2247 def name @name end |
#num_members ⇒ Fixnum
Deprecated. Use segmented_membership_counts instead which also includes other
counts such as rosters.
Corresponds to the JSON property numMembers
2253 2254 2255 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2253 def num_members @num_members end |
#segmented_membership_counts ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedSegmentedMembershipCounts
Member counts object with types of members and their respective counts.
Corresponds to the JSON property segmentedMembershipCounts
2258 2259 2260 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2258 def segmented_membership_counts @segmented_membership_counts end |
#user_membership_state ⇒ String
searching user's membership state in this space
Corresponds to the JSON property userMembershipState
2263 2264 2265 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2263 def user_membership_state @user_membership_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2270 def update!(**args) @avatar_info = args[:avatar_info] if args.key?(:avatar_info) @avatar_url = args[:avatar_url] if args.key?(:avatar_url) @description = args[:description] if args.key?(:description) @group_id = args[:group_id] if args.key?(:group_id) @inviter_email = args[:inviter_email] if args.key?(:inviter_email) @is_external = args[:is_external] if args.key?(:is_external) @name = args[:name] if args.key?(:name) @num_members = args[:num_members] if args.key?(:num_members) @segmented_membership_counts = args[:segmented_membership_counts] if args.key?(:segmented_membership_counts) @user_membership_state = args[:user_membership_state] if args.key?(:user_membership_state) end |