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

Inherits:
Object
  • Object
show all
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

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.



1372
1373
1374
# File 'generated/google/apis/people_v1/classes.rb', line 1372

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


1365
1366
1367
# File 'generated/google/apis/people_v1/classes.rb', line 1365

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


1370
1371
1372
# File 'generated/google/apis/people_v1/classes.rb', line 1370

def not_found_resource_names
  @not_found_resource_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1377
1378
1379
1380
# File 'generated/google/apis/people_v1/classes.rb', line 1377

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