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.



211
212
213
# File 'lib/google/apis/people_v1/classes.rb', line 211

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


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

def resource_names
  @resource_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



216
217
218
# File 'lib/google/apis/people_v1/classes.rb', line 216

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