Class: Google::Apis::CloudsearchV1::SpaceInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::SpaceInfo
- 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::AvatarInfo
Corresponds to the JSON property
avatarInfo. -
#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.
-
#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) ⇒ SpaceInfo
constructor
A new instance of SpaceInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SpaceInfo
Returns a new instance of SpaceInfo.
5192 5193 5194 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5192 def initialize(**args) update!(**args) end |
Instance Attribute Details
#avatar_info ⇒ Google::Apis::CloudsearchV1::AvatarInfo
Corresponds to the JSON property avatarInfo
5164 5165 5166 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5164 def avatar_info @avatar_info end |
#description ⇒ String
Corresponds to the JSON property description
5169 5170 5171 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5169 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
5175 5176 5177 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5175 def group_id @group_id end |
#name ⇒ String
Corresponds to the JSON property name
5180 5181 5182 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5180 def name @name end |
#num_members ⇒ Fixnum
Corresponds to the JSON property numMembers
5185 5186 5187 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5185 def num_members @num_members end |
#user_membership_state ⇒ String
searching user's membership state in this space
Corresponds to the JSON property userMembershipState
5190 5191 5192 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5190 def user_membership_state @user_membership_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5197 5198 5199 5200 5201 5202 5203 5204 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5197 def update!(**args) @avatar_info = args[:avatar_info] if args.key?(:avatar_info) @description = args[:description] if args.key?(:description) @group_id = args[:group_id] if args.key?(:group_id) @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 |