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

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.



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

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



187
188
189
# File 'lib/google/apis/people_v1/classes.rb', line 187

def created_people
  @created_people
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



194
195
196
# File 'lib/google/apis/people_v1/classes.rb', line 194

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