Class: Google::Apis::PeopleV1::BatchCreateContactsResponse

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 BatchCreateContactsErrorDetails which contains a list of errors for each invalid contact. The response to a request to create a batch of contacts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchCreateContactsResponse

Returns a new instance of BatchCreateContactsResponse.



191
192
193
# File 'lib/google/apis/people_v1/classes.rb', line 191

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

Instance Attribute Details

#created_peopleArray<Google::Apis::PeopleV1::PersonResponse>

The contacts that were created, unless the request read_mask is empty. Corresponds to the JSON property createdPeople



189
190
191
# File 'lib/google/apis/people_v1/classes.rb', line 189

def created_people
  @created_people
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



196
197
198
# File 'lib/google/apis/people_v1/classes.rb', line 196

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