Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedSpaceInfo

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

Defines the representation of a single matching space.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedSpaceInfo

Returns a new instance of AppsDynamiteSharedSpaceInfo.



2323
2324
2325
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2323

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

Instance Attribute Details

#avatar_infoGoogle::Apis::CloudsearchV1::AppsDynamiteSharedAvatarInfo

Corresponds to the JSON property avatarInfo



2271
2272
2273
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2271

def avatar_info
  @avatar_info
end

#avatar_urlString

Corresponds to the JSON property avatarUrl

Returns:

  • (String)


2276
2277
2278
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2276

def avatar_url
  @avatar_url
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


2281
2282
2283
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2281

def description
  @description
end

#group_idGoogle::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



2287
2288
2289
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2287

def group_id
  @group_id
end

#inviter_emailString

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

Returns:

  • (String)


2294
2295
2296
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2294

def inviter_email
  @inviter_email
end

#is_externalBoolean Also known as: is_external?

Whether this is a space that enables guest access Corresponds to the JSON property isExternal

Returns:

  • (Boolean)


2299
2300
2301
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2299

def is_external
  @is_external
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


2305
2306
2307
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2305

def name
  @name
end

#num_membersFixnum

Deprecated. Use segmented_membership_counts instead which also includes other counts such as rosters. Corresponds to the JSON property numMembers

Returns:

  • (Fixnum)


2311
2312
2313
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2311

def num_members
  @num_members
end

#segmented_membership_countsGoogle::Apis::CloudsearchV1::AppsDynamiteSharedSegmentedMembershipCounts

Member counts object with types of members and their respective counts. Corresponds to the JSON property segmentedMembershipCounts



2316
2317
2318
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2316

def segmented_membership_counts
  @segmented_membership_counts
end

#user_membership_stateString

searching user's membership state in this space Corresponds to the JSON property userMembershipState

Returns:

  • (String)


2321
2322
2323
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2321

def user_membership_state
  @user_membership_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2328

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