class Google::Apis::PeopleV1::ModifyContactGroupMembersRequest
A request to modify an existing contact group's members. Contacts can be removed from any group but they can only be added to a user group or “ myContacts” or “starred” system groups.
Attributes
Optional. The resource names of the contact people to add in the form of ` people/`person_id“. The total number of resource names in ` resource_names_to_add
` and `resource_names_to_remove` must be less than or equal to 1000. Corresponds to the JSON property `resourceNamesToAdd` @return [Array<String>]
Optional. The resource names of the contact people to remove in the form of ` people/`person_id“. The total number of resource names in ` resource_names_to_add
` and `resource_names_to_remove` must be less than or equal to 1000. Corresponds to the JSON property `resourceNamesToRemove` @return [Array<String>]
Public Class Methods
# File lib/google/apis/people_v1/classes.rb, line 1581 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/people_v1/classes.rb, line 1586 def update!(**args) @resource_names_to_add = args[:resource_names_to_add] if args.key?(:resource_names_to_add) @resource_names_to_remove = args[:resource_names_to_remove] if args.key?(:resource_names_to_remove) end