Class: Google::Apis::CloudsearchV1::MembershipChangedMetadata
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::MembershipChangedMetadata
- 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
Annotation metadata to display system messages for membership changes. Next Tag: 8
Instance Attribute Summary collapse
-
#affected_member_profiles ⇒ Array<Google::Apis::CloudsearchV1::Member>
Corresponds to the JSON property
affectedMemberProfiles. -
#affected_members ⇒ Array<Google::Apis::CloudsearchV1::MemberId>
List of users and rosters whose membership status changed.
-
#affected_memberships ⇒ Array<Google::Apis::CloudsearchV1::AffectedMembership>
Corresponds to the JSON property
affectedMemberships. -
#initiator ⇒ Google::Apis::CloudsearchV1::UserId
Primary key for User resource.
-
#initiator_profile ⇒ Google::Apis::CloudsearchV1::User
User profile information.
-
#initiator_type ⇒ String
The type of the user who initiated this membership change.
-
#type ⇒ String
Corresponds to the JSON property
type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MembershipChangedMetadata
constructor
A new instance of MembershipChangedMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MembershipChangedMetadata
Returns a new instance of MembershipChangedMetadata.
13240 13241 13242 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13240 def initialize(**args) update!(**args) end |
Instance Attribute Details
#affected_member_profiles ⇒ Array<Google::Apis::CloudsearchV1::Member>
Corresponds to the JSON property affectedMemberProfiles
13208 13209 13210 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13208 def affected_member_profiles @affected_member_profiles end |
#affected_members ⇒ Array<Google::Apis::CloudsearchV1::MemberId>
List of users and rosters whose membership status changed.
Corresponds to the JSON property affectedMembers
13213 13214 13215 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13213 def affected_members @affected_members end |
#affected_memberships ⇒ Array<Google::Apis::CloudsearchV1::AffectedMembership>
Corresponds to the JSON property affectedMemberships
13218 13219 13220 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13218 def affected_memberships @affected_memberships end |
#initiator ⇒ Google::Apis::CloudsearchV1::UserId
Primary key for User resource.
Corresponds to the JSON property initiator
13223 13224 13225 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13223 def initiator @initiator end |
#initiator_profile ⇒ Google::Apis::CloudsearchV1::User
User profile information. This user is not necessarily member of a space.
Corresponds to the JSON property initiatorProfile
13228 13229 13230 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13228 def initiator_profile @initiator_profile end |
#initiator_type ⇒ String
The type of the user who initiated this membership change.
Corresponds to the JSON property initiatorType
13233 13234 13235 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13233 def initiator_type @initiator_type end |
#type ⇒ String
Corresponds to the JSON property type
13238 13239 13240 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13238 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13245 13246 13247 13248 13249 13250 13251 13252 13253 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13245 def update!(**args) @affected_member_profiles = args[:affected_member_profiles] if args.key?(:affected_member_profiles) @affected_members = args[:affected_members] if args.key?(:affected_members) @affected_memberships = args[:affected_memberships] if args.key?(:affected_memberships) @initiator = args[:initiator] if args.key?(:initiator) @initiator_profile = args[:initiator_profile] if args.key?(:initiator_profile) @initiator_type = args[:initiator_type] if args.key?(:initiator_type) @type = args[:type] if args.key?(:type) end |