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

The response to a request to create a batch of contacts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchUpdateContactsResponse

Returns a new instance of BatchUpdateContactsResponse.



302
303
304
# File 'lib/google/apis/people_v1/classes.rb', line 302

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:



300
301
302
# File 'lib/google/apis/people_v1/classes.rb', line 300

def update_result
  @update_result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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