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.



1586
1587
1588
# File 'lib/google/apis/people_v1/classes.rb', line 1586

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>)


1579
1580
1581
# File 'lib/google/apis/people_v1/classes.rb', line 1579

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>)


1584
1585
1586
# File 'lib/google/apis/people_v1/classes.rb', line 1584

def not_found_resource_names
  @not_found_resource_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1591
1592
1593
1594
# File 'lib/google/apis/people_v1/classes.rb', line 1591

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