Class: Google::Apis::CloudsearchV1::MembershipChangedMetadata

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

Annotation metadata to display system messages for membership changes. Next Tag: 13

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MembershipChangedMetadata

Returns a new instance of MembershipChangedMetadata.



13759
13760
13761
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13759

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

Instance Attribute Details

#affected_member_profilesArray<Google::Apis::CloudsearchV1::Member>

Corresponds to the JSON property affectedMemberProfiles



13727
13728
13729
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13727

def affected_member_profiles
  @affected_member_profiles
end

#affected_membersArray<Google::Apis::CloudsearchV1::MemberId>

List of users and rosters whose membership status changed. Corresponds to the JSON property affectedMembers



13732
13733
13734
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13732

def affected_members
  @affected_members
end

#affected_membershipsArray<Google::Apis::CloudsearchV1::AffectedMembership>

Corresponds to the JSON property affectedMemberships



13737
13738
13739
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13737

def affected_memberships
  @affected_memberships
end

#initiatorGoogle::Apis::CloudsearchV1::UserId

Primary key for User resource. Corresponds to the JSON property initiator



13742
13743
13744
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13742

def initiator
  @initiator
end

#initiator_profileGoogle::Apis::CloudsearchV1::User

User profile information. This user is not necessarily member of a space. Corresponds to the JSON property initiatorProfile



13747
13748
13749
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13747

def initiator_profile
  @initiator_profile
end

#initiator_typeString

The type of the user who initiated this membership change. Corresponds to the JSON property initiatorType

Returns:

  • (String)


13752
13753
13754
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13752

def initiator_type
  @initiator_type
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


13757
13758
13759
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13757

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13764
13765
13766
13767
13768
13769
13770
13771
13772
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13764

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