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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ModifyContactGroupMembersResponse

Returns a new instance of ModifyContactGroupMembersResponse.



1045
1046
1047
# File 'generated/google/apis/people_v1/classes.rb', line 1045

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


1038
1039
1040
# File 'generated/google/apis/people_v1/classes.rb', line 1038

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


1043
1044
1045
# File 'generated/google/apis/people_v1/classes.rb', line 1043

def not_found_resource_names
  @not_found_resource_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1050
1051
1052
1053
# File 'generated/google/apis/people_v1/classes.rb', line 1050

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