Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedSegmentedMembershipCount

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

Contains info on membership count for member types: HUMAN_USER, APP_USER & ROSTER_MEMBER different states: INVITED, JOINED

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedSegmentedMembershipCount

Returns a new instance of AppsDynamiteSharedSegmentedMembershipCount.



2233
2234
2235
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2233

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

Instance Attribute Details

#member_typeString

Corresponds to the JSON property memberType

Returns:

  • (String)


2221
2222
2223
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2221

def member_type
  @member_type
end

#membership_countFixnum

count of members with given type and state Corresponds to the JSON property membershipCount

Returns:

  • (Fixnum)


2226
2227
2228
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2226

def membership_count
  @membership_count
end

#membership_stateString

Corresponds to the JSON property membershipState

Returns:

  • (String)


2231
2232
2233
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2231

def membership_state
  @membership_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2238
2239
2240
2241
2242
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2238

def update!(**args)
  @member_type = args[:member_type] if args.key?(:member_type)
  @membership_count = args[:membership_count] if args.key?(:membership_count)
  @membership_state = args[:membership_state] if args.key?(:membership_state)
end