Class: Google::Apis::PeopleV1::BatchUpdateContactsResponse
- Inherits:
-
Object
- Object
- Google::Apis::PeopleV1::BatchUpdateContactsResponse
- 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
-
#update_result ⇒ Hash<String,Google::Apis::PeopleV1::PersonResponse>
A map of resource names to the contacts that were updated, unless the request
read_mask
is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchUpdateContactsResponse
constructor
A new instance of BatchUpdateContactsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_result ⇒ Hash<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
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 |