Class: Google::Apis::PeopleV1::ModifyContactGroupMembersResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/people_v1/classes.rb,
lib/google/apis/people_v1/representations.rb,
lib/google/apis/people_v1/representations.rb

Overview

The response to a modify contact group members request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ModifyContactGroupMembersResponse

Returns a new instance of ModifyContactGroupMembersResponse.



1608
1609
1610
# File 'lib/google/apis/people_v1/classes.rb', line 1608

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

Instance Attribute Details

#can_not_remove_last_contact_group_resource_namesArray<String>

The contact people resource names that cannot be removed from their last contact group. Corresponds to the JSON property canNotRemoveLastContactGroupResourceNames

Returns:

  • (Array<String>)


1601
1602
1603
# File 'lib/google/apis/people_v1/classes.rb', line 1601

def can_not_remove_last_contact_group_resource_names
  @can_not_remove_last_contact_group_resource_names
end

#not_found_resource_namesArray<String>

The contact people resource names that were not found. Corresponds to the JSON property notFoundResourceNames

Returns:

  • (Array<String>)


1606
1607
1608
# File 'lib/google/apis/people_v1/classes.rb', line 1606

def not_found_resource_names
  @not_found_resource_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1613
1614
1615
1616
# File 'lib/google/apis/people_v1/classes.rb', line 1613

def update!(**args)
  @can_not_remove_last_contact_group_resource_names = args[:can_not_remove_last_contact_group_resource_names] if args.key?(:can_not_remove_last_contact_group_resource_names)
  @not_found_resource_names = args[:not_found_resource_names] if args.key?(:not_found_resource_names)
end