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
Corresponds to the JSON property
numMembers. -
#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.
3310 3311 3312 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3310 def initialize(**args) update!(**args) end |
Instance Attribute Details
#avatar_info ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedAvatarInfo
Corresponds to the JSON property avatarInfo
3264 3265 3266 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3264 def avatar_info @avatar_info end |
#avatar_url ⇒ String
Corresponds to the JSON property avatarUrl
3269 3270 3271 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3269 def avatar_url @avatar_url end |
#description ⇒ String
Corresponds to the JSON property description
3274 3275 3276 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3274 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
3280 3281 3282 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3280 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
3287 3288 3289 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3287 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
3292 3293 3294 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3292 def is_external @is_external end |
#name ⇒ String
Corresponds to the JSON property name
3298 3299 3300 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3298 def name @name end |
#num_members ⇒ Fixnum
Corresponds to the JSON property numMembers
3303 3304 3305 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3303 def num_members @num_members end |
#user_membership_state ⇒ String
searching user's membership state in this space
Corresponds to the JSON property userMembershipState
3308 3309 3310 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3308 def user_membership_state @user_membership_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3315 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) @user_membership_state = args[:user_membership_state] if args.key?(:user_membership_state) end |