Class: Google::Apis::PeopleV1::ModifyContactGroupMembersRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PeopleV1::ModifyContactGroupMembersRequest
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/people_v1/classes.rb,
 generated/google/apis/people_v1/representations.rb,
 generated/google/apis/people_v1/representations.rb
Overview
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.
Instance Attribute Summary collapse
- 
  
    
      #resource_names_to_add  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The resource names of the contact people to add in the form of in the form people/person_id.
- 
  
    
      #resource_names_to_remove  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The resource names of the contact people to remove in the form of in the form of people/person_id.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ModifyContactGroupMembersRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ModifyContactGroupMembersRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ModifyContactGroupMembersRequest
Returns a new instance of ModifyContactGroupMembersRequest
| 1018 1019 1020 | # File 'generated/google/apis/people_v1/classes.rb', line 1018 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#resource_names_to_add ⇒ Array<String>
The resource names of the contact people to add in the form of in the form
people/person_id.
Corresponds to the JSON property resourceNamesToAdd
| 1010 1011 1012 | # File 'generated/google/apis/people_v1/classes.rb', line 1010 def resource_names_to_add @resource_names_to_add end | 
#resource_names_to_remove ⇒ Array<String>
The resource names of the contact people to remove in the form of in the
form of people/person_id.
Corresponds to the JSON property resourceNamesToRemove
| 1016 1017 1018 | # File 'generated/google/apis/people_v1/classes.rb', line 1016 def resource_names_to_remove @resource_names_to_remove end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1023 1024 1025 1026 | # File 'generated/google/apis/people_v1/classes.rb', line 1023 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 |