Class: Google::Apis::PeopleV1::BatchDeleteContactsRequest

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

A request to delete a batch of existing contacts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchDeleteContactsRequest

Returns a new instance of BatchDeleteContactsRequest.



209
210
211
# File 'lib/google/apis/people_v1/classes.rb', line 209

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

Instance Attribute Details

#resource_namesArray<String>

Required. The resource names of the contact to delete. It's repeatable. Allows up to 500 resource names in a single request. Corresponds to the JSON property resourceNames

Returns:

  • (Array<String>)


207
208
209
# File 'lib/google/apis/people_v1/classes.rb', line 207

def resource_names
  @resource_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



214
215
216
# File 'lib/google/apis/people_v1/classes.rb', line 214

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