Class: Google::Apis::PeopleV1::BatchDeleteContactsRequest
- Inherits:
-
Object
- Object
- Google::Apis::PeopleV1::BatchDeleteContactsRequest
- 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
-
#resource_names ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchDeleteContactsRequest
constructor
A new instance of BatchDeleteContactsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_names ⇒ Array<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
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 |