Class: Google::Apis::PeopleV1::BatchUpdateContactsResponse

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

If not successful, returns BatchUpdateContactsErrorDetails, a list of errors corresponding to each contact. The response to a request to update a batch of contacts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchUpdateContactsResponse

Returns a new instance of BatchUpdateContactsResponse.



306
307
308
# File 'lib/google/apis/people_v1/classes.rb', line 306

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

Instance Attribute Details

#update_resultHash<String,Google::Apis::PeopleV1::PersonResponse>

A map of resource names to the contacts that were updated, unless the request read_mask is empty. Corresponds to the JSON property updateResult

Returns:



304
305
306
# File 'lib/google/apis/people_v1/classes.rb', line 304

def update_result
  @update_result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



311
312
313
# File 'lib/google/apis/people_v1/classes.rb', line 311

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