Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedSegmentedMembershipCount
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedSegmentedMembershipCount
- 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
-
#member_type ⇒ String
Corresponds to the JSON property
memberType
. -
#membership_count ⇒ Fixnum
count of members with given type and state Corresponds to the JSON property
membershipCount
. -
#membership_state ⇒ String
Corresponds to the JSON property
membershipState
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedSegmentedMembershipCount
constructor
A new instance of AppsDynamiteSharedSegmentedMembershipCount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedSegmentedMembershipCount
Returns a new instance of AppsDynamiteSharedSegmentedMembershipCount.
2175 2176 2177 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2175 def initialize(**args) update!(**args) end |
Instance Attribute Details
#member_type ⇒ String
Corresponds to the JSON property memberType
2163 2164 2165 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2163 def member_type @member_type end |
#membership_count ⇒ Fixnum
count of members with given type and state
Corresponds to the JSON property membershipCount
2168 2169 2170 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2168 def membership_count @membership_count end |
#membership_state ⇒ String
Corresponds to the JSON property membershipState
2173 2174 2175 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2173 def membership_state @membership_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2180 2181 2182 2183 2184 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2180 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 |